Skip to content

Commit de7aca1

Browse files
Ben Hutchingsdavem330
authored andcommitted
doc, net: Remove instruction to set net_device::trans_start
Commit 08baf56 ('net: txq_trans_update() helper') made it unnecessary for most drivers to set net_device::trans_start (or netdev_queue::trans_start). Signed-off-by: Ben Hutchings <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent b3cf654 commit de7aca1

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Documentation/networking/driver.txt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,10 @@ Transmit path guidelines:
5858
TX_BUFFS_AVAIL(dp) > 0)
5959
netif_wake_queue(dp->dev);
6060

61-
2) Do not forget to update netdev->trans_start to jiffies after
62-
each new tx packet is given to the hardware.
63-
64-
3) An ndo_start_xmit method must not modify the shared parts of a
61+
2) An ndo_start_xmit method must not modify the shared parts of a
6562
cloned SKB.
6663

67-
4) Do not forget that once you return 0 from your ndo_start_xmit
64+
3) Do not forget that once you return 0 from your ndo_start_xmit
6865
method, it is your driver's responsibility to free up the SKB
6966
and in some finite amount of time.
7067

0 commit comments

Comments
 (0)