diff options
author | Hadar Hen Zion <hadarh@mellanox.com> | 2015-07-27 14:46:31 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-27 15:00:36 -0700 |
commit | 77fc29c4bbbbd01ee22c50ce8260fd0f2e08c124 (patch) | |
tree | 2f82cc8116136695d0301745223e22ea8ca7ae2b /drivers/net/ethernet/mellanox/mlx4/fw.h | |
parent | 0b42c2863b3b9f79c42f0b877249007e5adfc921 (diff) | |
download | linux-77fc29c4bbbbd01ee22c50ce8260fd0f2e08c124.tar.gz linux-77fc29c4bbbbd01ee22c50ce8260fd0f2e08c124.tar.bz2 linux-77fc29c4bbbbd01ee22c50ce8260fd0f2e08c124.zip |
net/mlx4_core: Preparations for 802.1ad VLAN support
mlx4_core preparation to support hardware accelerated 802.1ad VLAN
device.
To allow 802.1ad accelerated device, "packet has vlan" (phv)
Firmware capability should be available. Firmware without the
phv capability won't behave properly and can't support 802.1ad device
acceleration.
The driver checks the Firmware capability and sets the phv bit
accordingly in SET_PORT command.
Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/fw.h')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx4/fw.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/fw.h b/drivers/net/ethernet/mellanox/mlx4/fw.h index 07cb7c2461ad..08de5555c2f4 100644 --- a/drivers/net/ethernet/mellanox/mlx4/fw.h +++ b/drivers/net/ethernet/mellanox/mlx4/fw.h @@ -204,6 +204,7 @@ struct mlx4_init_hca_param { u16 cqe_size; /* For use only when CQE stride feature enabled */ u16 eqe_size; /* For use only when EQE stride feature enabled */ u8 rss_ip_frags; + u8 phv_check_en; /* for QUERY_HCA */ }; struct mlx4_init_ib_param { |