diff options
author | Jiri Benc <jbenc@redhat.com> | 2015-09-17 16:11:12 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-17 22:32:16 -0700 |
commit | 378fddc281072a10b621341b9f78c902303a8fe7 (patch) | |
tree | 3f8f53524711a2a04c558b526e9916b6e9ca1e70 /drivers/net/ethernet/qlogic/qlcnic/qlcnic.h | |
parent | 057ba29bbe85e9587635e3128b26fa30fe849af9 (diff) | |
download | lwn-378fddc281072a10b621341b9f78c902303a8fe7.tar.gz lwn-378fddc281072a10b621341b9f78c902303a8fe7.zip |
qlcnic: 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/qlogic/qlcnic/qlcnic.h')
-rw-r--r-- | drivers/net/ethernet/qlogic/qlcnic/qlcnic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h b/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h index 06bcc734fe8d..d6696cfa11d2 100644 --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h @@ -536,6 +536,7 @@ struct qlcnic_hardware_context { u8 extend_lb_time; u8 phys_port_id[ETH_ALEN]; u8 lb_mode; + u8 vxlan_port_count; u16 vxlan_port; struct device *hwmon_dev; u32 post_mode; |