[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180419125012.20503-1-shahed.shaikh@cavium.com>
Date: Thu, 19 Apr 2018 05:50:10 -0700
From: Shahed Shaikh <shahed.shaikh@...ium.com>
To: <davem@...emloft.net>
CC: <netdev@...r.kernel.org>, <Ariel.Elior@...ium.com>,
<Dept-EngEverestLinuxL2@...ium.com>
Subject: [PATCH net-next 0/2] qed* : Use trust mode to override forced MAC
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
Powered by blists - more mailing lists