Skip to content

Commit

Permalink
bnx2x: Fix vxlan endianity issue
Browse files Browse the repository at this point in the history
Commit f34fa14 ("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>
  • Loading branch information
Yuval Mintz authored and David S. Miller committed Aug 20, 2015
1 parent b86d598 commit 0f8f27d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 0f8f27d

Please sign in to comment.