[Intel-wired-lan] [PATCH net-next v1] i40e: Refactor tc mqprio checks

Sreenivas, Bharathi bharathi.sreenivas at intel.com
Tue Jul 19 11:37:56 UTC 2022



> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of Jan
> Sokolowski
> Sent: Wednesday, June 8, 2022 5:23 PM
> To: intel-wired-lan at lists.osuosl.org
> Cc: Patynowski, PrzemyslawX <przemyslawx.patynowski at intel.com>
> Subject: [Intel-wired-lan] [PATCH net-next v1] i40e: Refactor tc mqprio checks
> 
> From: Przemyslaw Patynowski <przemyslawx.patynowski at intel.com>
> 
> Refactor bitwise checks for whether TC MQPRIO is enabled into one single
> method for improved readability.
> 
> Signed-off-by: Przemyslaw Patynowski <przemyslawx.patynowski at intel.com>
> Signed-off-by: Jan Sokolowski <jan.sokolowski at intel.com>
> ---
>  drivers/net/ethernet/intel/i40e/i40e.h        | 14 +++++++++++++
>  .../net/ethernet/intel/i40e/i40e_ethtool.c    |  2 +-
>  drivers/net/ethernet/intel/i40e/i40e_main.c   | 20 +++++++++----------
>  3 files changed, 25 insertions(+), 11 deletions(-)
> 
Tested-by: Bharathi Sreenivas <bharathi.sreenivas at intel.com>


More information about the Intel-wired-lan mailing list