[Intel-wired-lan] [PATCH S33 13/15] ice: Implement ethtool ops for channels

Bowers, AndrewX andrewx.bowers at intel.com
Tue Nov 12 19:36:30 UTC 2019


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Tony Nguyen
> Sent: Friday, November 8, 2019 6:23 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S33 13/15] ice: Implement ethtool ops for
> channels
> 
> From: Henry Tieman <henry.w.tieman at intel.com>
> 
> Add code to query and set the number of channels on the primary VSI for a
> PF. This is accessed from the 'ethtool -l' and 'ethtool -L' commands,
> respectively.  Though the ice driver supports asymmetric queues report an
> IRQ vector that has both Rx and Tx queues attached and is counted as a
> 'combined' channel.
> 
> Signed-off-by: Henry Tieman <henry.w.tieman at intel.com>
> Co-developed-by: Maciej Fijalkowski <maciej.fijalkowski at intel.com>
> Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski at intel.com>
> Signed-off-by: Tony Nguyen <anthony.l.nguyen at intel.com>
> ---
>  drivers/net/ethernet/intel/ice/ice.h         |   4 +
>  drivers/net/ethernet/intel/ice/ice_dcb_lib.c |   4 +-
>  drivers/net/ethernet/intel/ice/ice_dcb_lib.h |   2 +
>  drivers/net/ethernet/intel/ice/ice_ethtool.c | 194 +++++++++++++++++++
>  drivers/net/ethernet/intel/ice/ice_lib.c     |  70 +++++--
>  drivers/net/ethernet/intel/ice/ice_lib.h     |   2 +-
>  drivers/net/ethernet/intel/ice/ice_main.c    |  87 ++++++++-
>  7 files changed, 344 insertions(+), 19 deletions(-)

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




More information about the Intel-wired-lan mailing list