diff options
author | Florian Westphal <fw@strlen.de> | 2016-05-03 16:31:00 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-04 20:16:48 +0200 |
commit | ba162f8eed61a7e71e26455ce1cff5b5898a3579 (patch) | |
tree | 40195ab3c626cdd68034123f7b70bd4be9104da1 /drivers | |
parent | drivers: replace dev->trans_start accesses with dev_trans_start (diff) | |
download | linux-ba162f8eed61a7e71e26455ce1cff5b5898a3579.tar.xz linux-ba162f8eed61a7e71e26455ce1cff5b5898a3579.zip |
netdevice: add helper to update trans_start
trans_start exists twice:
- as member of net_device (legacy)
- as member of netdev_queue
In order to get rid of the legacy case, add a helper for the
dev->trans_update (this patch), then convert spots that do
dev->trans_start = jiffies
to use this helper (next patch).
This would then allow us to change the helper so that it updates the
trans_stamp of netdev queue 0 instead.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions