diff options
author | Sathya Perla <sathya.perla@emulex.com> | 2014-03-27 01:16:19 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-28 14:24:54 -0400 |
commit | c9c47142f6bf4684c13b571b312b67f3830f1d86 (patch) | |
tree | af9e9a3b0cd7f514f1c41bab0e7c58dc3ca214fd /drivers/net/ethernet/emulex/benet/be.h | |
parent | a401801c6ed141f8cee735775a501ea9e3e6aaed (diff) |
be2net: csum, tso and rss steering offload support for VxLAN
This patch mainly implements the add/del_vxlan_port() methods by invoking
the needed FW cmds for supporting VxLAN offloads for Skyhawk-R.
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/emulex/benet/be.h')
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be.h b/drivers/net/ethernet/emulex/benet/be.h index a587c8aa27ed..8ccaa2520dc3 100644 --- a/drivers/net/ethernet/emulex/benet/be.h +++ b/drivers/net/ethernet/emulex/benet/be.h | |||
@@ -296,6 +296,7 @@ struct be_rx_compl_info { | |||
296 | u8 qnq; | 296 | u8 qnq; |
297 | u8 pkt_type; | 297 | u8 pkt_type; |
298 | u8 ip_frag; | 298 | u8 ip_frag; |
299 | u8 tunneled; | ||
299 | }; | 300 | }; |
300 | 301 | ||
301 | struct be_rx_obj { | 302 | struct be_rx_obj { |
@@ -371,10 +372,11 @@ enum vf_state { | |||
371 | #define BE_FLAGS_WORKER_SCHEDULED (1 << 3) | 372 | #define BE_FLAGS_WORKER_SCHEDULED (1 << 3) |
372 | #define BE_FLAGS_VLAN_PROMISC (1 << 4) | 373 | #define BE_FLAGS_VLAN_PROMISC (1 << 4) |
373 | #define BE_FLAGS_NAPI_ENABLED (1 << 9) | 374 | #define BE_FLAGS_NAPI_ENABLED (1 << 9) |
374 | #define BE_UC_PMAC_COUNT 30 | ||
375 | #define BE_VF_UC_PMAC_COUNT 2 | ||
376 | #define BE_FLAGS_QNQ_ASYNC_EVT_RCVD (1 << 11) | 375 | #define BE_FLAGS_QNQ_ASYNC_EVT_RCVD (1 << 11) |
376 | #define BE_FLAGS_VXLAN_OFFLOADS (1 << 12) | ||
377 | 377 | ||
378 | #define BE_UC_PMAC_COUNT 30 | ||
379 | #define BE_VF_UC_PMAC_COUNT 2 | ||
378 | /* Ethtool set_dump flags */ | 380 | /* Ethtool set_dump flags */ |
379 | #define LANCER_INITIATE_FW_DUMP 0x1 | 381 | #define LANCER_INITIATE_FW_DUMP 0x1 |
380 | 382 | ||
@@ -494,6 +496,7 @@ struct be_adapter { | |||
494 | u32 sli_family; | 496 | u32 sli_family; |
495 | u8 hba_port_num; | 497 | u8 hba_port_num; |
496 | u16 pvid; | 498 | u16 pvid; |
499 | __be16 vxlan_port; | ||
497 | struct phy_info phy; | 500 | struct phy_info phy; |
498 | u8 wol_cap; | 501 | u8 wol_cap; |
499 | bool wol_en; | 502 | bool wol_en; |