]> git.karo-electronics.de Git - linux-beck.git/commit
net/mlx4_core: Add basic support for TCP/IP offloads under tunneling
authorOr Gerlitz <ogerlitz@mellanox.com>
Mon, 23 Dec 2013 14:09:43 +0000 (16:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Dec 2013 19:31:43 +0000 (14:31 -0500)
commit7ffdf726cfe0d188907bdbb0e7729fb35a69c219
treeead297c29f54fbb91741822dd6df13dbc3193fd4
parent604d13c97f0d863e41da3f5835c62e3cf899962b
net/mlx4_core: Add basic support for TCP/IP offloads under tunneling

Add the low-level device commands and definitions used for TCP/IP HW offloads
of tunneled/vxlan traffic which are supported by the ConnectX3-pro NIC.

This is done through the following elements:

 - read tunneling device caps in QUERY_DEV_CAP
 - add helper function to do SET_PORT for tunneling
 - add DMFS VXLAN steering rule definitions
 - add CQE and WQE checksum offload field definitions

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/fw.c
drivers/net/ethernet/mellanox/mlx4/main.c
drivers/net/ethernet/mellanox/mlx4/mcg.c
drivers/net/ethernet/mellanox/mlx4/port.c
include/linux/mlx4/cmd.h
include/linux/mlx4/cq.h
include/linux/mlx4/device.h
include/linux/mlx4/qp.h