diff options
author | David S. Miller <davem@davemloft.net> | 2018-01-10 14:57:19 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-10 14:57:19 -0500 |
commit | 65d51f26823ee286602ae850ec575a63e41d7fd7 (patch) | |
tree | 84ba460f754e9e172c6b20c6ed627643ac9d483f /crypto | |
parent | 45f8982253ad3fd314e3580cb9209183ea3faa71 (diff) | |
parent | b8a0dbe3a90b2debd72cd9a304eacac55c44e5a4 (diff) | |
download | op-kernel-dev-65d51f26823ee286602ae850ec575a63e41d7fd7.zip op-kernel-dev-65d51f26823ee286602ae850ec575a63e41d7fd7.tar.gz |
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.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions