summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
diff options
context:
space:
mode:
authorRajesh Borundia2015-08-18 09:22:59 +0200
committerDavid S. Miller2015-08-18 23:21:10 +0200
commitf34fa14cc033239037622dbe84faf53923bb7e74 (patch)
tree7d6b2693ba577b9814ee338a7bcd5b1b421a04dd /drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
parentMerge branch 'dsa-multi-swtich' (diff)
downloadkernel-qcow2-linux-f34fa14cc033239037622dbe84faf53923bb7e74.tar.gz
kernel-qcow2-linux-f34fa14cc033239037622dbe84faf53923bb7e74.tar.xz
kernel-qcow2-linux-f34fa14cc033239037622dbe84faf53923bb7e74.zip
bnx2x: Add vxlan RSS support
Latest FW submission added some vxlan offload capabilities to our device. This patch adds the ability to connect to the vxlan NDOs and configure the UDP port associated with it in the HW. The device would now be capable of performing RSS according to the inner headers of the vxlan packets. Signed-off-by: Rajesh Borundia <Rajesh.Borundia@qlogic.com> Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h')
-rw-r--r--drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
index e18a0e4d3ed1..d276de328c5c 100644
--- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
+++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
@@ -967,6 +967,8 @@ static inline int bnx2x_func_start(struct bnx2x *bp)
else /* CHIP_IS_E1X */
start_params->network_cos_mode = FW_WRR;
+ start_params->vxlan_dst_port = cpu_to_le16(bp->vxlan_dst_port);
+
start_params->inner_rss = 1;
if (IS_MF_UFP(bp) && BNX2X_IS_MF_SD_PROTOCOL_FCOE(bp)) {