switchdev – no more sdk© 2016 mellanox technologies 5 switchdev is here to stay what?...
TRANSCRIPT
Elad Raz, Jiri PirkoNetdev 1.1 | 2016
Switchdev – No More SDK
Proceedings of NetDev 1.1: The Technical Conference on Linux Networking (February 10th-12th 2016. Seville, Spain)
© 2016 Mellanox Technologies 2
Switchdev is here to stay
§What?
§Why?
§Where? 100G DEMO!
Proceedings of NetDev 1.1: The Technical Conference on Linux Networking (February 10th-12th 2016. Seville, Spain)
© 2016 Mellanox Technologies 3
Switchdev is here to stay
§What?
§Why?
§Where?
Proceedings of NetDev 1.1: The Technical Conference on Linux Networking (February 10th-12th 2016. Seville, Spain)
© 2016 Mellanox Technologies 4
Switchdev is here to stay
§What?
64 net-devicesDoing skb rx/tx, ethtool, port state and ndo offload
Proceedings of NetDev 1.1: The Technical Conference on Linux Networking (February 10th-12th 2016. Seville, Spain)
© 2016 Mellanox Technologies 5
Switchdev is here to stay
§What?
switchdev_ops.1D/.1Q Bridging – VLANs, PVID, FDB, IGMP…
Routing – FIB offloadand more
Proceedings of NetDev 1.1: The Technical Conference on Linux Networking (February 10th-12th 2016. Seville, Spain)
© 2016 Mellanox Technologies 6
Switchdev is here to stay
§What?
In-kernel implementationNO MORE SDK!
drivers/net/ethernet/mellanox/mlxsw
Proceedings of NetDev 1.1: The Technical Conference on Linux Networking (February 10th-12th 2016. Seville, Spain)
© 2016 Mellanox Technologies 7
Switchdev is here to stay
§What?
§Why?
§Where?
pen
Proceedings of NetDev 1.1: The Technical Conference on Linux Networking (February 10th-12th 2016. Seville, Spain)
© 2016 Mellanox Technologies 8
Switchdev is here to stay
§Why?
Community basedOpen-source
Standard behaviorStandard API
Proceedings of NetDev 1.1: The Technical Conference on Linux Networking (February 10th-12th 2016. Seville, Spain)
© 2016 Mellanox Technologies 9
Switchdev is here to stay
§What?
§Why?
§Where?
Proceedings of NetDev 1.1: The Technical Conference on Linux Networking (February 10th-12th 2016. Seville, Spain)
© 2016 Mellanox Technologies 10
Switchdev is here to stay
§Where?
Devlinkset port type, port splitter, shared buffers, etc.
Proceedings of NetDev 1.1: The Technical Conference on Linux Networking (February 10th-12th 2016. Seville, Spain)
© 2016 Mellanox Technologies 11
Switchdev is here to stay
§Where?
QoSDCBNL interface implementation
Proceedings of NetDev 1.1: The Technical Conference on Linux Networking (February 10th-12th 2016. Seville, Spain)
© 2016 Mellanox Technologies 12
Switchdev is here to stay
§Where?
L3 offloadfix the current switchdev model, include VRF support
Proceedings of NetDev 1.1: The Technical Conference on Linux Networking (February 10th-12th 2016. Seville, Spain)
© 2016 Mellanox Technologies 13
Switchdev is here to stay
§Where?
Flowstc cls_flower + selected acts offload
Proceedings of NetDev 1.1: The Technical Conference on Linux Networking (February 10th-12th 2016. Seville, Spain)
© 2016 Mellanox Technologies 14
Switchdev is here to stay
§Where?
(e)BPF?
Proceedings of NetDev 1.1: The Technical Conference on Linux Networking (February 10th-12th 2016. Seville, Spain)
© 2016 Mellanox Technologies 15
Tutorial outlook
§No more talking! 100G demo!
• Netdevice
• Bridging
• 802.1Q bridge
• 802.1D bridge
• LAG
Proceedings of NetDev 1.1: The Technical Conference on Linux Networking (February 10th-12th 2016. Seville, Spain)
© 2016 Mellanox Technologies 16
Topology
SN2700R-mgtswd-101110.209.0.60
dev-r-vrt-157 dev-r-vrt-158
Proceedings of NetDev 1.1: The Technical Conference on Linux Networking (February 10th-12th 2016. Seville, Spain)
© 2016 Mellanox Technologies 17
ScreensProceedings of NetDev 1.1: The Technical Conference on Linux Networking (February 10th-12th 2016. Seville, Spain)
© 2016 Mellanox Technologies 18
netdev
Proceedings of NetDev 1.1: The Technical Conference on Linux Networking (February 10th-12th 2016. Seville, Spain)
© 2016 Mellanox Technologies 19
.1Q bridge
Proceedings of NetDev 1.1: The Technical Conference on Linux Networking (February 10th-12th 2016. Seville, Spain)
© 2016 Mellanox Technologies 20
.1D bridge
Proceedings of NetDev 1.1: The Technical Conference on Linux Networking (February 10th-12th 2016. Seville, Spain)
© 2016 Mellanox Technologies 21
team and bond
LAG
Proceedings of NetDev 1.1: The Technical Conference on Linux Networking (February 10th-12th 2016. Seville, Spain)
Thank You
Proceedings of NetDev 1.1: The Technical Conference on Linux Networking (February 10th-12th 2016. Seville, Spain)