bonding: update documentation section after dev->trans_start removal
authorFlorian Westphal <fw@strlen.de>
Wed, 4 May 2016 20:51:47 +0000 (22:51 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 May 2016 21:07:13 +0000 (17:07 -0400)
Drivers that use LLTX need to update trans_start of the netdev_queue.
(Most drivers don't use LLTX; stack does this update if .ndo_start_xmit
 returned TX_OK).

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/bonding.txt

index 334b49e..57f52cd 100644 (file)
@@ -1880,8 +1880,8 @@ or more peers on the local network.
 
        The ARP monitor relies on the device driver itself to verify
 that traffic is flowing.  In particular, the driver must keep up to
-date the last receive time, dev->last_rx, and transmit start time,
-dev->trans_start.  If these are not updated by the driver, then the
+date the last receive time, dev->last_rx.  Drivers that use NETIF_F_LLTX
+flag must also update netdev_queue->trans_start.  If they do not, then the
 ARP monitor will immediately fail any slaves using that driver, and
 those slaves will stay down.  If networking monitoring (tcpdump, etc)
 shows the ARP requests and replies on the network, then it may be that