]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net/mlx4_core: Introduce nic_info new flag in QUERY_FUNC_CAP
authorHadar Hen Zion <hadarh@mellanox.com>
Thu, 19 Dec 2013 19:20:11 +0000 (21:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Dec 2013 00:04:43 +0000 (19:04 -0500)
commiteb17711bc1d6611e934af5b6dabc225936084128
tree7ad1db69ca60c28f7a5a97171e7af83f238bf351
parent73e74ab4e0d030f28d640507998156a22d4211f8
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>
drivers/net/ethernet/mellanox/mlx4/fw.c
drivers/net/ethernet/mellanox/mlx4/fw.h