]> git.baikalelectronics.ru Git - kernel.git/commit
qed* : Add new TLV to request PF to update MAC in bulletin board
authorShahed Shaikh <shahed.shaikh@cavium.com>
Thu, 19 Apr 2018 12:50:12 +0000 (05:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Apr 2018 15:26:37 +0000 (11:26 -0400)
commit56b718f355ca6211683576f17856a15c94234e61
treeefe5d01de83dbcaf6c4abb37ee7c8b47158bbbf9
parent2adbd2a9ae501bc0a1ed11679ba13216b7eb607c
qed* : Add new TLV to request PF to update MAC in bulletin board

There may be a need for VF driver to request PF to explicitly update its
bulletin with a MAC address.
e.g. When user assigns a MAC address to VF while VF is still down,
and PF's bulletin board contains different MAC address, in this case,
when VF's interface is brought up, it gets loaded with MAC address from
bulletin board which is not desirable.

To handle this corner case, we need a new TLV to request PF to update
its bulletin board with suggested MAC.

This request will be honored only for trusted VFs.

Signed-off-by: Shahed Shaikh <shahed.shaikh@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_l2.c
drivers/net/ethernet/qlogic/qed/qed_sriov.c
drivers/net/ethernet/qlogic/qed/qed_vf.c
drivers/net/ethernet/qlogic/qed/qed_vf.h
drivers/net/ethernet/qlogic/qede/qede_filter.c
include/linux/qed/qed_eth_if.h