diff options
author | Govindarajulu Varadarajan <gvaradar@cisco.com> | 2017-02-08 16:43:08 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-09 17:24:29 -0500 |
commit | 257e738238e8ee3960957097be4bf6be6c66a3c4 (patch) | |
tree | 9015a2cf5c0552737d904249174010aad7e2d223 /net/tipc/node.h | |
parent | ca0291798227a6da0f3ba6c2e3a43d94d5dcf591 (diff) |
enic: add udp_tunnel ndo for vxlan offload
Defines enic_udp_tunnel_add/del for configuring vxlan tunnel offload.
enic supports offload of only one ipv4/udp port.
There are two modes that fw supports for vxlan offload.
mode 0: fcoe bit is set for encapsulated packet. fcoe_fc_crc_ok is set
if checksum of csum is ok. This bit is or of ip_csum_ok and
tcp_udp_csum_ok
mode 2: BIT(0) in rss_hash is set if it is encapsulated packet.
BIT(1) is set if outer_ip_csum_ok/
BIT(2) is set if outer_tcp_csum_ok
tcp_udp_csum_ok/ipv4_csum_ok is set if inner csum is OK.
Signed-off-by: Govindarajulu Varadarajan <gvaradar@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/node.h')
0 files changed, 0 insertions, 0 deletions