netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] i40e/i40evf: fix override of administratively set MAC address in trusted mode
@ 2017-06-29 13:12 Stefan Assmann
  2017-06-29 13:12 ` [PATCH 1/2] i40e/i40evf: rename vf_offload_flags to vf_cap_flags in struct virtchnl_vf_resource Stefan Assmann
  2017-06-29 13:12 ` [PATCH 2/2] i40e/i40evf: add virtchnl flag to indicate trusted VF Stefan Assmann
  0 siblings, 2 replies; 7+ messages in thread
From: Stefan Assmann @ 2017-06-29 13:12 UTC (permalink / raw)
  To: intel-wired-lan; +Cc: netdev, davem, jeffrey.t.kirsher, sassmann

In trusted mode VFs should be able to override the administratively set MAC
address. This is currently not possible as i40evf returns -EPERM if an
administratively set MAC is present, for MAC change requests.

First patch renames vf_offload_flags to vf_cap_flags to make it more generic.
Second patch then adds a flag to vf_cap_flags to give the VF information on
whether it runs in trusted mode and makes use of the flag in i40evf.

Patches are against jkirshers dev-queue branch.

Stefan Assmann (2):
  i40e/i40evf: rename vf_offload_flags to vf_cap_flags in struct
    virtchnl_vf_resource
  i40e/i40evf: add virtchnl flag to indicate trusted VF

 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 25 ++++++++++++----------
 drivers/net/ethernet/intel/i40evf/i40e_common.c    |  2 +-
 drivers/net/ethernet/intel/i40evf/i40evf.h         | 10 ++++-----
 drivers/net/ethernet/intel/i40evf/i40evf_main.c    | 15 +++++++------
 include/linux/avf/virtchnl.h                       |  5 +++--
 5 files changed, 31 insertions(+), 26 deletions(-)

-- 
2.9.4

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

end of thread, other threads:[~2017-07-07  8:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-29 13:12 [PATCH 0/2] i40e/i40evf: fix override of administratively set MAC address in trusted mode Stefan Assmann
2017-06-29 13:12 ` [PATCH 1/2] i40e/i40evf: rename vf_offload_flags to vf_cap_flags in struct virtchnl_vf_resource Stefan Assmann
2017-07-05 21:15   ` [Intel-wired-lan] " Wyborny, Carolyn
2017-07-06 14:24     ` Greg Rose
2017-07-06 15:26       ` Wyborny, Carolyn
2017-07-07  8:18         ` Greg Rose
2017-06-29 13:12 ` [PATCH 2/2] i40e/i40evf: add virtchnl flag to indicate trusted VF Stefan Assmann

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).