Skip to content

Commit 6727013

Browse files
ecree-solarflaredavem330
authored andcommitted
sfc: falcon: don't score irq moderation points for GRO
Same rationale as for sfc, except that this wasn't performance-tested. Signed-off-by: Edward Cree <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 5e040d4 commit 6727013

File tree

1 file changed

+1
-4
lines changed
  • drivers/net/ethernet/sfc/falcon

1 file changed

+1
-4
lines changed

drivers/net/ethernet/sfc/falcon/rx.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,6 @@ ef4_rx_packet_gro(struct ef4_channel *channel, struct ef4_rx_buffer *rx_buf,
424424
unsigned int n_frags, u8 *eh)
425425
{
426426
struct napi_struct *napi = &channel->napi_str;
427-
gro_result_t gro_result;
428427
struct ef4_nic *efx = channel->efx;
429428
struct sk_buff *skb;
430429

@@ -460,9 +459,7 @@ ef4_rx_packet_gro(struct ef4_channel *channel, struct ef4_rx_buffer *rx_buf,
460459

461460
skb_record_rx_queue(skb, channel->rx_queue.core_index);
462461

463-
gro_result = napi_gro_frags(napi);
464-
if (gro_result != GRO_DROP)
465-
channel->irq_mod_score += 2;
462+
napi_gro_frags(napi);
466463
}
467464

468465
/* Allocate and construct an SKB around page fragments */

0 commit comments

Comments
 (0)