qed: Pass MAC hints to VFs
Some hypervisors can support MAC hints to their VFs. Even though we don't have such a hypervisor API in linux, we add sufficient logic for the VF to be able to receive such hints and set the mac accordingly - as long as the VF has not been set with a MAC already. Signed-off-by:Yuval Mintz <Yuval.Mintz@caviumnetworks.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/ethernet/qlogic/qed/qed_vf.c 2 additions, 2 deletionsdrivers/net/ethernet/qlogic/qed/qed_vf.c
- drivers/net/ethernet/qlogic/qede/qede_main.c 5 additions, 1 deletiondrivers/net/ethernet/qlogic/qede/qede_main.c
- include/linux/qed/qed_eth_if.h 1 addition, 1 deletioninclude/linux/qed/qed_eth_if.h
Loading
Please register or sign in to comment