[Intel-wired-lan] [next PATCH S10 10/10] i40e: Refactoring VF MAC filters counting to make more reliable
Bowers, AndrewX
andrewx.bowers at intel.com
Mon Sep 23 18:14:09 UTC 2019
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Alice Michael
> Sent: Friday, September 20, 2019 2:17 AM
> To: Michael, Alice <alice.michael at intel.com>; intel-wired-
> lan at lists.osuosl.org
> Cc: Loktionov, Aleksandr <aleksandr.loktionov at intel.com>
> Subject: [Intel-wired-lan] [next PATCH S10 10/10] i40e: Refactoring VF MAC
> filters counting to make more reliable
>
> From: Aleksandr Loktionov <aleksandr.loktionov at intel.com>
>
> This patch prepares ground for the next VF MAC address change fix.
> It lets untrusted VF to delete any VF mac filter, but it still doesn't let
> untrusted VF to add mac filter not setup by PF.
> It removes information duplication in num_mac mac filters counter.
> And improves exact h/w mac filters usage checking in the
> i40e_check_vf_permission() function by counting mac2add_cnt.
> It also improves logging because now all mac addresses will be validated first
> and corresponding messages will be logged.
>
> Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov at intel.com>
> ---
> drivers/net/ethernet/intel/i40e/i40e.h | 1 +
> drivers/net/ethernet/intel/i40e/i40e_main.c | 19 ++++++++
> .../ethernet/intel/i40e/i40e_virtchnl_pf.c | 45 ++++++++-----------
> .../ethernet/intel/i40e/i40e_virtchnl_pf.h | 1 -
> 4 files changed, 39 insertions(+), 27 deletions(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list