From 0f8f27de19667075591eaffbf435dd78c73a2df4 Mon Sep 17 00:00:00 2001 From: Yuval Mintz Date: Wed, 19 Aug 2015 10:21:58 +0300 Subject: [PATCH] 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: Signed-off-by: Yuval Mintz Signed-off-by: David S. Miller --- drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2