]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qed: Pass MAC hints to VFs
authorYuval Mintz <Yuval.Mintz@caviumnetworks.com>
Fri, 14 Oct 2016 09:19:17 +0000 (05:19 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 6 Mar 2017 04:59:56 +0000 (20:59 -0800)
commit186c689b01193af3fc710ebd4a1d973389694f58
tree77772991bc728cb503b8f8fb8472b5a1eaacda47
parent140a76bc1867492c1abec457997d878be6a2f617
qed: Pass MAC hints to VFs

Orabug: 25477939

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>
(cherry picked from commit c3aaa403840a5ccd305fb5e73f3cbfac6453b5e5)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/qlogic/qed/qed_vf.c
drivers/net/ethernet/qlogic/qede/qede_main.c
include/linux/qed/qed_eth_if.h