[Intel-wired-lan] [PATCH S55 06/14] ice: handle increasing Tx or Rx ring sizes
Brelinski, TonyX
tonyx.brelinski at intel.com
Thu Mar 11 00:27:11 UTC 2021
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Tony Nguyen
> Sent: Tuesday, March 2, 2021 10:12 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S55 06/14] ice: handle increasing Tx or Rx
> ring sizes
>
> From: Paul M Stillwell Jr <paul.m.stillwell.jr at intel.com>
>
> There is an issue when the Tx or Rx ring size increases using 'ethtool -L ...'
> where the new rings don't get the correct ITR values because when we
> rebuild the VSI we don't know that some of the rings may be new.
>
> Fix this by looking at the original number of rings and determining if the rings
> in ice_vsi_rebuild_set_coalesce() were not present in the original rings
> received in ice_vsi_rebuild_get_coalesce().
>
> Also change the code to return an error if we can't allocate memory for the
> coalesce data in ice_vsi_rebuild().
>
> Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr at intel.com>
> ---
> drivers/net/ethernet/intel/ice/ice_lib.c | 123 ++++++++++++++++------
> drivers/net/ethernet/intel/ice/ice_txrx.h | 2 +
> 2 files changed, 92 insertions(+), 33 deletions(-)
Tested-by: Tony Brelinski <tonyx.brelinski at intel.com> A Contingent Worker at Intel
More information about the Intel-wired-lan
mailing list