This repository has been archived on 2026-03-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
ubports_kernel_google_msm/include/linux
Eric Dumazet 08baf56108 net: txq_trans_update() helper
We would like to get rid of netdev->trans_start = jiffies; that about all net
drivers have to use in their start_xmit() function, and use txq->trans_start
instead.

This can be done generically in core network, as suggested by David.

Some devices, (particularly loopback) dont need trans_start update, because
they dont have transmit watchdog. We could add a new device flag, or rely
on fact that txq->tran_start can be updated is txq->xmit_lock_owner is
different than -1. Use a helper function to hide our choice.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-05-25 22:58:01 -07:00
..
2009-05-02 15:36:10 -07:00
2009-05-19 16:02:02 -07:00
2009-05-09 10:49:41 -04:00
2009-04-29 17:32:35 -07:00
2009-05-25 00:55:45 -07:00
2009-05-25 22:58:01 -07:00
2009-04-30 15:32:11 +00:00
2009-04-24 08:54:21 +02:00
2009-05-09 10:49:41 -04:00
2009-05-18 22:11:22 -07:00
2009-04-27 02:45:02 -07:00