History

Merge tag 'mlx5-updates-2018-01-08' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux

mlx5-updates-2018-01-08 Four patches from Or that add Hairpin support to mlx5: =========================================================== From: Or Gerlitz <ogerlitz@mellanox.com> We refer the ability of NIC HW to fwd packet received on one port to the other port (also from a port to itself) as hairpin. The application API is based on ingress tc/flower rules set on the NIC with the mirred redirect action. Other actions can apply to packets during the redirect. Hairpin allows to offload the data-path of various SW DDoS gateways, load-balancers, etc to HW. Packets go through all the required processing in HW (header re-write, encap/decap, push/pop vlan) and then forwarded, CPU stays at practically zero usage. HW Flow counters are used by the control plane for monitoring and accounting. Hairpin is implemented by pairing a receive queue (RQ) to send queue (SQ). All the flows that share <recv NIC, mirred NIC> are redirected through the same hairpin pair. Currently, only header-rewrite is supported as a packet modification action. I'd like to thanks Elijah Shakkour <elijahs@mellanox.com> for implementing this functionality on HW simulator, before it was avail in the FW so the driver code could be tested early. =========================================================== From Feras three patches that provide very small changes that allow IPoIB to support RX timestamping for child interfaces, simply by hooking the mlx5e timestamping PTP ioctl to IPoIB child interface netdev profile. One patch from Gal to fix a spilling mistake. Two patches from Eugenia adds drop counters to VF statistics to be reported as part of VF statistics in netlink (iproute2) and implemented them in mlx5 eswitch.

David S. Miller committed 8 years ago

Commit 65d51f22 parents 45f8982 b8a0dbe17 files · +649 −27Browse files

Showing the changes to include/uapi/linux (1 of 17 files). Show all

Unified · Split

include/uapi/linux/if_link.h+2−0
@@ -732,6 +732,8 @@ enum { · 731 unmodified lines
732 IFLA_VF_STATS_BROADCAST,732 IFLA_VF_STATS_BROADCAST,
733 IFLA_VF_STATS_MULTICAST,733 IFLA_VF_STATS_MULTICAST,
734 IFLA_VF_STATS_PAD,734 IFLA_VF_STATS_PAD,
735 IFLA_VF_STATS_RX_DROPPED,
736 IFLA_VF_STATS_TX_DROPPED,
735 __IFLA_VF_STATS_MAX,737 __IFLA_VF_STATS_MAX,
736};738};
737 739