summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx4/fw.h
diff options
context:
space:
mode:
authorHadar Hen Zion2015-07-27 13:46:31 +0200
committerDavid S. Miller2015-07-28 00:00:36 +0200
commit77fc29c4bbbbd01ee22c50ce8260fd0f2e08c124 (patch)
tree2f82cc8116136695d0301745223e22ea8ca7ae2b /drivers/net/ethernet/mellanox/mlx4/fw.h
parentMerge branch 'arm-bpf-next' (diff)
downloadkernel-qcow2-linux-77fc29c4bbbbd01ee22c50ce8260fd0f2e08c124.tar.gz
kernel-qcow2-linux-77fc29c4bbbbd01ee22c50ce8260fd0f2e08c124.tar.xz
kernel-qcow2-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.h1
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 {