net/mlx4_core: Don't fail reg/unreg vlan for older guests
[cascardo/linux.git] / drivers / net / ethernet / mellanox / mlx4 / mlx4.h
index f2ad4f6..9794126 100644 (file)
@@ -455,6 +455,7 @@ struct mlx4_slave_state {
        u8 last_cmd;
        u8 init_port_mask;
        bool active;
+       bool old_vlan_api;
        u8 function;
        dma_addr_t vhcr_dma;
        u16 mtu[MLX4_MAX_PORTS + 1];