summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
diff options
context:
space:
mode:
authorJiri Benc <jbenc@redhat.com>2015-09-17 17:11:14 +0300
committerDavid S. Miller <davem@davemloft.net>2015-09-18 08:32:16 +0300
commitac7eccd4d48fcc70d9fd6e4d10657bcde0a73f9f (patch)
tree21fd769e14f88810db52803c289525736e215370 /drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
parent1e5b311ab2cc3baf73cdff066ab39c7466bf166b (diff)
downloadlinux-ac7eccd4d48fcc70d9fd6e4d10657bcde0a73f9f.tar.xz
bnx2x: track vxlan port count
The callback for adding vxlan port can be called with the same port for both IPv4 and IPv6. Do not disable the offloading when the same port for both protocols is added and later one of them removed. Signed-off-by: Jiri Benc <jbenc@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x.h')
-rw-r--r--drivers/net/ethernet/broadcom/bnx2x/bnx2x.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
index ba936635322a..b5e64b02200c 100644
--- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
+++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
@@ -1946,6 +1946,7 @@ struct bnx2x {
u16 vlan_cnt;
u16 vlan_credit;
u16 vxlan_dst_port;
+ u8 vxlan_dst_port_count;
bool accept_any_vlan;
};