Re: [PATCH] bnxt_en: Fix a VXLAN vs GENEVE issue

2016-11-23 Thread David Miller
From: Christophe JAILLET Date: Tue, 22 Nov 2016 06:14:40 +0100 > Knowing that: > #define TUNNEL_DST_PORT_FREE_REQ_TUNNEL_TYPE_VXLAN(0x1UL << 0) > #define TUNNEL_DST_PORT_FREE_REQ_TUNNEL_TYPE_GENEVE (0x5UL << 0) > and that 'bnxt_hwrm_tunnel_dst_port_alloc()' is only called with o

Re: [PATCH] bnxt_en: Fix a VXLAN vs GENEVE issue

2016-11-21 Thread Michael Chan
On Mon, Nov 21, 2016 at 9:14 PM, Christophe JAILLET wrote: > Knowing that: > #define TUNNEL_DST_PORT_FREE_REQ_TUNNEL_TYPE_VXLAN(0x1UL << 0) > #define TUNNEL_DST_PORT_FREE_REQ_TUNNEL_TYPE_GENEVE (0x5UL << 0) > and that 'bnxt_hwrm_tunnel_dst_port_alloc()' is only called with one of

[PATCH] bnxt_en: Fix a VXLAN vs GENEVE issue

2016-11-21 Thread Christophe JAILLET
Knowing that: #define TUNNEL_DST_PORT_FREE_REQ_TUNNEL_TYPE_VXLAN(0x1UL << 0) #define TUNNEL_DST_PORT_FREE_REQ_TUNNEL_TYPE_GENEVE (0x5UL << 0) and that 'bnxt_hwrm_tunnel_dst_port_alloc()' is only called with one of these 2 constants, the TUNNEL_DST_PORT_ALLOC_REQ_TUNNEL_TYPE_GENEVE