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-28 01:00:36 +0300 |
commit | 77fc29c4bbbbd01ee22c50ce8260fd0f2e08c124 (patch) | |
tree | 2f82cc8116136695d0301745223e22ea8ca7ae2b /drivers/net/ethernet/mellanox/mlx4/mlx4.h | |
parent | 0b42c2863b3b9f79c42f0b877249007e5adfc921 (diff) | |
download | linux-77fc29c4bbbbd01ee22c50ce8260fd0f2e08c124.tar.xz |
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/mlx4.h')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx4/mlx4.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/mlx4.h b/drivers/net/ethernet/mellanox/mlx4/mlx4.h index a092c5c34d43..232b2b55f23b 100644 --- a/drivers/net/ethernet/mellanox/mlx4/mlx4.h +++ b/drivers/net/ethernet/mellanox/mlx4/mlx4.h @@ -787,6 +787,9 @@ struct mlx4_set_port_general_context { u8 pprx; u8 pfcrx; u16 reserved4; + u32 reserved5; + u8 phv_en; + u8 reserved6[3]; }; struct mlx4_set_port_rqp_calc_context { |