]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: Add ndo_get_vf_config() function for EF10
authorShradha Shah <sshah@solarflare.com>
Wed, 20 May 2015 10:11:18 +0000 (11:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 May 2015 22:43:54 +0000 (18:43 -0400)
commitac038807d4183daf489ddc81ef9c67dad979a5e1
tree275261f39ee20d170654e0c0e5f76ad5b6921f1d
parent959ff040d9efe004141062deb0b6565d466d90b1
sfc: Add ndo_get_vf_config() function for EF10

rtnetlink calls ndo_get_vf_config when compiling information
about a network interface, so that the VFs associated with a PF
can be listed (eg: ip link show).
Implement a response to this entry point and return PF-set MAC
address for VF in ndo_get_vf_config

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