> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of > Magnus Karlsson > Sent: Tuesday, June 23, 2020 2:44 AM > To: Karlsson, Magnus <[email protected]>; Topel, Bjorn > <[email protected]>; [email protected]; Kirsher, Jeffrey T > <[email protected]>; Samudrala, Sridhar > <[email protected]> > Cc: [email protected]; Fijalkowski, Maciej > <[email protected]>; [email protected] > Subject: [Intel-wired-lan] [PATCH net-next v2 2/3] i40e: eliminate division in > napi_poll data path > > Eliminate a division in the napi_poll data path. This division is executed > even > though it is only needed in the rare case when there are not enough > interrupt lines so they have to be shared between queue pairs. Instead, just > test for this case and only execute the division if needed. The code has been > lifted from the ice driver. > > Signed-off-by: Magnus Karlsson <[email protected]> > --- > drivers/net/ethernet/intel/i40e/i40e_txrx.c | 14 ++++++++++---- > 1 file changed, 10 insertions(+), 4 deletions(-)
Tested-by: Andrew Bowers <[email protected]>
