《03-康海涛-2021-05 P4和英特尔TofinoOpen开源更新(14页).pdf》由会员分享,可在线阅读,更多相关《03-康海涛-2021-05 P4和英特尔TofinoOpen开源更新(14页).pdf(14页珍藏版)》请在三个皮匠报告上搜索。
1、P4 and Intel Tofino Open Source UpdateHaitao Kang2Intel Silicon PhotonicsP4 Programmable switches and softwareIntel EthernetSmart&Foundational NICsRackTop-of-RackSwitch(TOR)End-of-RowSwitch(EOR)SpineSwitchRouterInter-DC Links(DCI)Optical Links(Interconnect)Accelerator PoolsServers&StorageCriticality
2、 of Connectivity to Compute3Tofino Switching Silicon FamilyTofino Switching Silicon FamilyTofino 2Programmable Ethernet7nm Process NodeSwitch ASIC w/56Gbps SerDesTofinoProgrammable Ethernet16nm Process NodeSwitch ASIC w/25Gbps SerDes12.8 Tbps6.4 Tbps8.0 TbpsOptimized for100GbE/50GbE/40GbE/25GbE/10Gb
3、E100GbE/50GbE/40GbE/25GbE/10GbEcompute connectivityOptimized for400GbE/400GbE/200GbE/200GbE/100GbE/50GbE/25GbE/10GbE100GbE/50GbE/25GbE/10GbEcompute connectivity6.4 Tbps1.8 Tbps2.0 Tbps3.2 Tbps4可编程芯片流水线调整的价值传统芯片功能和表格规格固化,无法优化并使用低效Fixed ParserEthernet MAC Address TableEthernet LogicMPLSTag TableMPLSLo
4、gicMulticast&IPv4 Address TableIPv4 LogicACL TCAMACL Logic处理流程不可改变难以网络可视化功能固化流水线完全根据应用场景优化Programmable ParserMMMMMMAAAAAAMMMMMMAAAAAAMMMMMMAAAAAAMMMMMMAAAAAA用户定义报文格式用户通过P4代码指定表和大小需求以及数据包处理功能 处理流程基于用户需要优化 实时网络可视化 按需随应用场景调整可编程5Developer EcosystemP4 Features Open Spec,Compiler,Test Frameworks,and more
5、Protocol Independent Target IndependentStrong community 4000+developers trained and growing 100+member organizations Expanding across the globeAccelerating adoption Expanding adoption by new vendors Switches,NICs,FPGA,Software Data PlanesP4:Programming Protocol-independent Packet Processors6端到端P4可编程
6、CPU+NIC+Switch+FPGACPU+NIC+Switch+FPGA跨 CPUs,NICs,Switches,and FPGAs赋能P4可编程释放:端到端网络可视化高效拥塞控制基于应用场景加速网络功能加速越来越多NICNICControl PlaneSwitch OSSwitch OSSwitch OSswitchswitchswitchNICNIC-OVS-OVSRuntime ContractControl AppControl AppControl AppControl App实时逐包网络遥测7可编程=被优化的应用场景爆发式增长NetworkingNetworkingCompil
7、erProgrammableProgrammableData PlanesData Planes云网交换城域、骨干路由器DNS 缓存Key Value 缓存超高精度时间同步防火墙和抗DDoS四层负载均衡和网关汇聚分流新协议支持:如SRv6头压缩网络功能加速:BNG,高端UPF端到端网络遥测和可视化高级拥塞控制和流控越来越多存储互联加速机器学习互联加速8Open Source Update9Opening Tofinos P4 Target ArchitectureUnleashing the power of network programmability by making Tofino t
8、he Unleashing the power of network programmability by making Tofino the first open,programmable Ethernet switch ASICfirst open,programmable Ethernet switch ASICEncouraging collaboration among developers and researchers to foster the growth of the P4 ecosystemAccelerating innovation in the networking
9、 industryEnabling network owners and operators to customize and build new applications for their network infrastructuresEnd users can now openly publish the data plane and control plane code for Tofino!https:/ Strategy1.Open Source commitment,everything up-streamed2.First vendor to upstream In-band
10、Network Telemetry(INT)support3.Continuous validation of community SONIC features with each release of P4 Studio SDE4.Enable community SONiC with data plane programmability(P4)SONiC and Programmable Data Plane11 Open sourced as of September 2019!Use P4Runtime to establish a contract between SDN contr
11、oller and switchP4 defines the data planeNo need to translate to another API Demonstrated L2/L3,GTP,INT,SRv6,PPPoE data planesStratum OS and Programmable Data PlaneIntel P4 Studio SDEController with P4Runtime Driver&AppsP4RuntimeBfrt Node Managerhttps:/ NDP协议处理SRH移除判定与处理进行G-SRv6 COC Flavor处理IPv6三层决策
12、与处理SRv6/G-SRv6发送处理SID/G-SID插入Pipeline-agnostic AppCLISRv6-TEG-SRv6DeviceSIDONOS CoreFlowObjective(handle SRv6-TE)FlowObjective(handle SID)Pipeconf(Fabric TNA)FlowRules(SRv6)FlowRules-Table entryONOS Controller完成G-SRv6开源种子代码13 Encodes SDN application&underlying network dataplane OVN&Antrea as test ca
13、ses Underlying network tunnels,routes,LAG,conntrack,iptables coded in P4 Control planes:All three control planes can used to program the same P4 target.Multiple P4Runtime clients can connect and program different P4 pipelines Data Planes:Software:PSA-eBPF,P4 DPDK,others Hardware:P4 Switches,P4 NICs,etcP4 OVSP4 NIC,SwitchThank You!