[Intel-wired-lan] [iwl next-queue PATCH 10/10] ixgbe: Avoid performing unnecessary resets for macvlan offload

Bowers, AndrewX andrewx.bowers at intel.com
Tue Apr 10 22:17:38 UTC 2018


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Alexander Duyck
> Sent: Tuesday, April 3, 2018 2:17 PM
> To: intel-wired-lan at lists.osuosl.org; Kirsher, Jeffrey T
> <jeffrey.t.kirsher at intel.com>
> Cc: netdev at vger.kernel.org
> Subject: [Intel-wired-lan] [iwl next-queue PATCH 10/10] ixgbe: Avoid
> performing unnecessary resets for macvlan offload
> 
> The original implementation for macvlan offload has us performing a full port
> reset every time we added a new macvlan. This shouldn't be necessary and
> can be avoided with a few behavior changes.
> 
> This patches updates the logic for the queues so that we have essentially 3
> possible configurations for macvlan offload. They consist of 15 macvlans with
> 4 queues per macvlan, 31 macvlans with 2 queues per macvlan, and 63
> macvlans with 1 queue per macvlan. As macvlans are added you will
> encounter up to 3 total resets if you add all the way up to 63, and after that
> the device will stay in the mode supporting up to 63 macvlans until the L2FW
> flag is cleared.
> 
> Signed-off-by: Alexander Duyck <alexander.h.duyck at intel.com>
> ---
>  drivers/net/ethernet/intel/ixgbe/ixgbe_main.c  |  192
> +++++++++++++++++-------
>  drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c |    5 -
>  2 files changed, 135 insertions(+), 62 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list