Smartnic Ocp 2016
Smartnic Ocp 2016
Smartnic Ocp 2016
Daniel Firestone
Principal Tech Lead and Software Development Manager
Azure Networking Datapath Team
Summary
• Azure Scale
• The industry has relied on ASICs, but ASICs aren’t agile enough
• Demo!
Microsoft Azure
cloud
cloud
services
services caching
caching identity
identity service
service busbus media
media
App
Services mobile
mobile
services
services web apps integration hpc analytics
Data
Services
SQL blob
database HDInsight table storage
Infrastructure
Services
virtual
virtual virtual traffic
machines
machines network vpn manager cdn
2014
2013
2015
Coming Soon…
100K
Compute Millions
Instances
10’s of PB
Azure Exabytes
Storage
Node: 10.4.1.5
VFP
Flow Action Flow Action Flow Action
TO: 10.2/16 Encap to GW TO: 79.3.1.2 DNAT to 10.1.1.2 TO: 10.1.1/24 Allow Blue VM1
NIC
TO: 10.1.1.5 Encap to 10.5.1.7 TO: !10/8 SNAT to 79.3.1.2 10.4/16 Block 10.1.1.2
TO: !10/8 NAT out of VNET TO: !10/8 Allow
• Need to support new scenarios: BYO IP, BYO Topology, BYO Appliance
• We are always pushing richer semantics to virtual networks
• Need the programmability of software to be agile and future-proof –
12-18 month ASIC cycle + time to roll new HW is too slow
ToR
SmartNIC Design
• Use an FPGA for reconfigurable functions Blade
• FPGAs are already used in Bing
• Roll out Hardware as we do software CPU
ToR
2015 FPGA Deployments:
40G Bump in the Wire SmartNIC FPGA Mezz
All new Azure Compute servers ship with FPGAs!
40Gb/s
CPU QPI CPU Gen3 2x8 FPGA QSFP Switch
QSFP
Gen3 x8
Option Card
Mezzanine
NIC QSFP 40Gb/s Connectors
FPGA
Tray
Backplane
SmartNIC - Accelerating SDN
ARM APIs
Controller Controller Controller
VFP APIs
SLB Decap SLB NAT VNET ACL Metering
Rule Action Rule Action Rule Action Rule Action Rule Action
* Decap * DNAT * Rewrite * Allow * Meter
Rewrite
VM
Transposition
Engine
VFP Flow
1.2.3.1->1.3.4.1, 62362->80
Action
Decap, DNAT, Rewrite, Meter
GFT Offload Engine
SR-IOV
First Packet GFT Offload API (NDIS)
(Host Bypass)
VMSwitch
GFT GFT
SmartNIC Flow
1.2.3.1->1.3.4.1, 62362->80
Action
Decap, DNAT, Rewrite, Meter
Crypto RDMA Table
QoS
50G
16
Scenario: Virtual Network Encryption
• SmartNIC can dial encrypted virtual network tunnels (over VxLAN)
for each tenant
• Provides E2E security and privacy against actors inside the
network fabric
• Line Rate Encryption at 40Gbps
Fabric
SmartNIC SmartNIC
Host Host
VM VM VM VM
Demo: SmartNIC Encryption
SmartNIC Gen2: Now at 50GbE!
• ASICs can’t keep up with rate of change -> more pressure on FPGAs
Want to help lead the reconfigurable computing revolution in the cloud? We’re Hiring!