Skip to content

Commit 601ed4d

Browse files
hkallweitdavem330
authored andcommitted
r8169: use netif_start_queue instead of netif_wake_qeueue in rtl8169_start_xmit
Replace the call to netif_wake_queue in rtl8169_start_xmit with netif_start_queue as we don't need to actually wake up the queue since we are still in mid transmit so we just need to reset the bit so it doesn't prevent the next transmit. (Description shamelessly copied from a mail sent by Alex.) Suggested-by: Alexander Duyck <[email protected]> Signed-off-by: Heiner Kallweit <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 110a243 commit 601ed4d

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/ethernet/realtek

1 file changed

+1
-1
lines changed

drivers/net/ethernet/realtek/r8169.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6264,7 +6264,7 @@ static netdev_tx_t rtl8169_start_xmit(struct sk_buff *skb,
62646264
*/
62656265
smp_mb();
62666266
if (rtl_tx_slots_avail(tp, MAX_SKB_FRAGS))
6267-
netif_wake_queue(dev);
6267+
netif_start_queue(dev);
62686268
}
62696269

62706270
return NETDEV_TX_OK;

0 commit comments

Comments
 (0)