]> 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)
commit23b96f5c9346103d657c586853453d3f6840dc28
treec831323f60d9018a3e7525e524497746fc810edd
parentdc0e36eaf4545e8f57165be7043aed1f09b5c6a5
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