sfc: Enable a VF to get its own MAC address
authorDaniel Pieczko <dpieczko@solarflare.com>
Wed, 20 May 2015 10:10:20 +0000 (11:10 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 May 2015 22:43:53 +0000 (18:43 -0400)
commit0d5e0fbba0ced95cc642d89a95120dcc9ec5be57
treee30e86dcabb730c65fbb069cecff6c3bac37e0b5
parent0d322413d6cff0bd2ccafc03ab9314dc55417e9d
sfc: Enable a VF to get its own MAC address

A VF's MAC address is set by its parent PF and added to its vport.
To get this MAC address, the VF must use MC_CMD_ VPORT_GET_MAC_ADDRESSES.
In the current scheme, a VF's vport should only have one MAC address,
so warn if this is not the case.

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/net_driver.h
This page took 0.028375 seconds and 5 git commands to generate.