netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] qed* : Use trust mode to override forced MAC
@ 2018-04-19 12:50 Shahed Shaikh
  2018-04-19 12:50 ` [PATCH net-next 1/2] qed* : use trust mode to allow VF " Shahed Shaikh
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Shahed Shaikh @ 2018-04-19 12:50 UTC (permalink / raw)
  To: davem; +Cc: netdev, Ariel.Elior, Dept-EngEverestLinuxL2

Hi Dave,

This patchset adds a support to override forced MAC (MAC set by PF for a VF)
when trust mode is enabled using
#ip link set dev <pf> vf <vf id> trust on

First patch adds a real change to use .ndo_set_vf_trust to override forced MAC
and allow user to change VFs from VF interface itself.

Second patch takes care of a corner case, where MAC change from VF won't
take effect when VF interface is down, by introducing a new TLV
(a way to send message from VF to PF) to give a hint to PF to update
its bulletin board.

Please apply this series to net-next.

Thanks,
Shahed

Shahed Shaikh (2):
  qed* : use trust mode to allow VF to override forced MAC
  qed* : Add new TLV to request PF to update MAC in bulletin board

 drivers/net/ethernet/qlogic/qed/qed_l2.c       |  19 ++
 drivers/net/ethernet/qlogic/qed/qed_sriov.c    | 247 +++++++++++++++++++++++--
 drivers/net/ethernet/qlogic/qed/qed_vf.c       |  29 +++
 drivers/net/ethernet/qlogic/qed/qed_vf.h       |  21 +++
 drivers/net/ethernet/qlogic/qede/qede_filter.c |   7 +-
 include/linux/qed/qed_eth_if.h                 |   1 +
 6 files changed, 306 insertions(+), 18 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-04-20 15:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-19 12:50 [PATCH net-next 0/2] qed* : Use trust mode to override forced MAC Shahed Shaikh
2018-04-19 12:50 ` [PATCH net-next 1/2] qed* : use trust mode to allow VF " Shahed Shaikh
2018-04-19 12:50 ` [PATCH net-next 2/2] qed* : Add new TLV to request PF to update MAC in bulletin board Shahed Shaikh
2018-04-20 15:26 ` [PATCH net-next 0/2] qed* : Use trust mode to override forced MAC David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).