]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
sfc: Store the efx_nic struct of the current VF in the VF data struct
authorShradha Shah <sshah@solarflare.com>
Wed, 20 May 2015 10:09:46 +0000 (11:09 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 May 2015 22:43:53 +0000 (18:43 -0400)
commitf1122a345b96713eb6e059121c592b3c0612f5be
treede9fd299b51ba63e90b0fde1ec664e4f1eea7d53
parentcfc77c2fbadf5b806fea2e35738c7437fc62f522
sfc: Store the efx_nic struct of the current VF in the VF data struct

Initialised in efx_probe_vf and removal is dealt with in
efx_ef10_remove.

vf->efx is needed in future patches to change the MAC address
of the VF via the parent PF, while the driver is bound to the
VF.
Example: ip link set dev vf NUM mac LLADDR

Signed-off-by: Shradha Shah <sshah@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef10.c
drivers/net/ethernet/sfc/ef10_sriov.c
drivers/net/ethernet/sfc/ef10_sriov.h