diff options
author | Or Gerlitz <ogerlitz@mellanox.com> | 2013-12-23 16:09:44 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-31 14:31:43 -0500 |
commit | 837052d0ccc5a789a578f8b628ba154b63bd51ea (patch) | |
tree | be8f0742d4f92bbbbd09b0710dc9eab5a3e85811 /net/sched | |
parent | 7ffdf726cfe0d188907bdbb0e7729fb35a69c219 (diff) | |
download | blackbird-op-linux-837052d0ccc5a789a578f8b628ba154b63bd51ea.tar.gz blackbird-op-linux-837052d0ccc5a789a578f8b628ba154b63bd51ea.zip |
net/mlx4_en: Add netdev support for TCP/IP offloads of vxlan tunneling
When the device tunneling offloads mode is vxlan do the following
- call SET_PORT with the relevant setting
- add DMFS steering vxlan rule for the device self and multicast mac addresses
of the form: {<ETH, outer-mac> <VXLAN, ANY vnid> <ETH, ANY mac>} --> RSS QP
- set relevant QPC fields in RSS context and RX ring QPs
- in TX flow, set WQE fields to generate HW checksum, and handle gso skbs
which are marked for encapsulation such that the HW will segment them properly.
- in RX flow, read HW offloaded checksum for encapsulated packets from the CQE
- advertize hw_enc_features and NETIF_F_GSO_UDP_TUNNEL to the networking stack
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions