Skip to content

i40e/i40evf: fix override of administratively set MAC address in trusted mode

Stefan Assmann intel-wired-lan netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2i40e/i40evf: rename vf_offload_flags to vf_cap_flags in struct virtchnl_vf_resourcedrivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c drivers/net/ethernet/intel/i40evf/i40e_common.c drivers/net/ethernet/intel/i40evf/i40evf.h +2 more+25 -255 replies
1/2i40e/i40evf: rename vf_offload_flags to vf_cap_flags in struct virtchnl_vf_resource+0 -01 reply
2/2i40e/i40evf: add virtchnl flag to indicate trusted VFdrivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c drivers/net/ethernet/intel/i40evf/i40evf_main.c include/linux/avf/virtchnl.h+6 -10 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchAndrew Bowers
1/2T-b
1/2T-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] i40e/i40evf: fix override of administratively set MAC address in trusted mode

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(-)
Signature · 1 line
2.9.4