commit | 0d5e0fbba0ced95cc642d89a95120dcc9ec5be57 | [log] [tgz] |
---|---|---|
author | Daniel Pieczko <dpieczko@solarflare.com> | Wed May 20 11:10:20 2015 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu May 21 18:43:53 2015 -0400 |
tree | e30e86dcabb730c65fbb069cecff6c3bac37e0b5 | |
parent | 0d322413d6cff0bd2ccafc03ab9314dc55417e9d [diff] |
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>