]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4: Add structures to keep VF Ethernet ports information
authorRony Efraim <ronye@mellanox.com>
Thu, 25 Apr 2013 05:22:26 +0000 (05:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 27 Apr 2013 03:29:13 +0000 (23:29 -0400)
commitffe2947115da47bd7c8c9d77b22e10fb97e6b2ea
treec831323f60d9018a3e7525e524497746fc810edd
parent3fba74fb47874bacd0ed0f57a598c66455f6726e
net/mlx4: Add structures to keep VF Ethernet ports information

This patch add struct mlx4_vport_state where all the parameters related
to management of VFs port (virtual ports of the NIC eswitch) are kept.

The driver keeps an administrative and operational copy of the settings.
The current administrative copy becomes operational on the event of probing
a VF either on a VM or on the host.

Signed-off-by: Rony Efraim <ronye@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/cmd.c
drivers/net/ethernet/mellanox/mlx4/fw.c
drivers/net/ethernet/mellanox/mlx4/mlx4.h