]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit0eb62b93cbe0e8dea4cfe5ee761755e982663727
treec831323f60d9018a3e7525e524497746fc810edd
parent6ce71acdea24cb742b2929983ca32cb962301bef
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