diff options
author | Yuval Mintz <Yuval.Mintz@qlogic.com> | 2015-08-19 10:21:58 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-20 14:08:08 -0700 |
commit | 0f8f27de19667075591eaffbf435dd78c73a2df4 (patch) | |
tree | ea3e827798c7c609a03ccb40f27ae771c5deaa9f /drivers | |
parent | b86d598d0c9d847c3ff0fc1b31c762551a0f0e12 (diff) |
bnx2x: Fix vxlan endianity issue
Commit f34fa14cc033 ("bnx2x: Add vxlan RSS support") has introduced an
endianity issue when passing the vxlan UDP port to the HW.
Reported-by: <fengguang.wu@intel.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h index d276de328c5c..b7d32e8412f1 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h @@ -967,7 +967,7 @@ 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->vxlan_dst_port = bp->vxlan_dst_port; start_params->inner_rss = 1; |