summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx4/fw.h
diff options
context:
space:
mode:
authorHadar Hen Zion2013-12-19 20:20:11 +0100
committerDavid S. Miller2013-12-20 01:04:43 +0100
commiteb17711bc1d6611e934af5b6dabc225936084128 (patch)
tree7ad1db69ca60c28f7a5a97171e7af83f238bf351 /drivers/net/ethernet/mellanox/mlx4/fw.h
parentnet/mlx4_core: Rename QUERY_FUNC_CAP fields (diff)
downloadkernel-qcow2-linux-eb17711bc1d6611e934af5b6dabc225936084128.tar.gz
kernel-qcow2-linux-eb17711bc1d6611e934af5b6dabc225936084128.tar.xz
kernel-qcow2-linux-eb17711bc1d6611e934af5b6dabc225936084128.zip
net/mlx4_core: Introduce nic_info new flag in QUERY_FUNC_CAP
Set nic_info field in QUERY_FUNC_CAP, which designates supplementary NIC information is provided by the hypervisor. When set, the following fields are valid: nic_num_rings, nic_indirection_tbl_sz, cur_mac and phys_port_id. 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 a0a368b7c939..9d952983b076 100644
--- a/drivers/net/ethernet/mellanox/mlx4/fw.h
+++ b/drivers/net/ethernet/mellanox/mlx4/fw.h
@@ -140,6 +140,7 @@ struct mlx4_func_cap {
u32 qp1_proxy_qpn;
u8 physical_port;
u8 port_flags;
+ u8 flags1;
};
struct mlx4_adapter {