diff options
author | Yuval Mintz <Yuval.Mintz@caviumnetworks.com> | 2016-10-14 11:19:17 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-14 17:59:57 +0200 |
commit | c3aaa403840a5ccd305fb5e73f3cbfac6453b5e5 (patch) | |
tree | 94b5d99c8bc049069890a8000e3567e3ffb5bd7b /include | |
parent | Merge branch 'ingress-actions' (diff) | |
download | linux-c3aaa403840a5ccd305fb5e73f3cbfac6453b5e5.tar.xz linux-c3aaa403840a5ccd305fb5e73f3cbfac6453b5e5.zip |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/qed/qed_eth_if.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/qed/qed_eth_if.h b/include/linux/qed/qed_eth_if.h index 33c24ebc9b7f..1c779486c30d 100644 --- a/include/linux/qed/qed_eth_if.h +++ b/include/linux/qed/qed_eth_if.h @@ -129,7 +129,7 @@ struct qed_tunn_params { struct qed_eth_cb_ops { struct qed_common_cb_ops common; - void (*force_mac) (void *dev, u8 *mac); + void (*force_mac) (void *dev, u8 *mac, bool forced); }; #ifdef CONFIG_DCB |