[Intel-wired-lan] [PATCH v3 next-queue 03/12] i40evf: add ndo_setup_tc callback to i40evf

Bowers, AndrewX andrewx.bowers at intel.com
Wed Jan 24 22:41:31 UTC 2018


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Avinash Dayanand
> Sent: Tuesday, January 23, 2018 8:51 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH v3 next-queue 03/12] i40evf: add
> ndo_setup_tc callback to i40evf
> 
> From: Harshitha Ramamurthy <harshitha.ramamurthy at intel.com>
> 
> This patch introduces the callback to the ndo_setup_tc function in the VF
> driver. We add a wrapper function to make room for the upcoming cloud
> filter patches which add calls to different functions from setup_tc.
> 
> First, we add support for capability exchange for ADQ between the PF and
> VF. Next, we add support to take in the mqprio configuration and configure
> queues as per the traffic classes, rate limit and the priorities specified by the
> user. This is done by passing the channel config to the PF driver through a
> virtchannel message.
> 
> The flags and bits added, track if ADq is enabled, set max number of traffic
> classes to 4 and provide ability to negotiate capability with the PF.
> 
> Signed-off-by: Harshitha Ramamurthy <harshitha.ramamurthy at intel.com>
> ---
>  drivers/net/ethernet/intel/i40evf/i40evf.h         |  22 +++
>  drivers/net/ethernet/intel/i40evf/i40evf_main.c    | 154
> +++++++++++++++++++++
>  .../net/ethernet/intel/i40evf/i40evf_virtchnl.c    |  82 ++++++++++-
>  3 files changed, 257 insertions(+), 1 deletion(-)

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




More information about the Intel-wired-lan mailing list