linux/drivers/net/ethernet/intel/igb
Florian Westphal 4d0e965732 drivers: replace dev->trans_start accesses with dev_trans_start
a trans_start struct member exists twice:
- in struct net_device (legacy)
- in struct netdev_queue

Instead of open-coding dev->trans_start usage to obtain the current
trans_start value, use dev_trans_start() instead.

This is not exactly the same, as dev_trans_start also considers
the trans_start values of the netdev queues owned by the device
and provides the most recent one.

For legacy devices this doesn't matter as dev_trans_start can cope
with netdev trans_start values of 0 (they are ignored).

This is a prerequisite to eventual removal of dev->trans_start.

Cc: linux-rdma@vger.kernel.org
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-05-04 14:16:47 -04:00
..
e1000_82575.c igb: constify e1000_phy_operations structure 2016-02-24 15:11:07 -08:00
e1000_82575.h igb: rename igb define to be more generic 2016-02-24 15:29:16 -08:00
e1000_defines.h igb: Allow asymmetric configuration of MTU versus Rx frame size 2016-02-15 16:27:21 -08:00
e1000_hw.h igb: constify e1000_phy_operations structure 2016-02-24 15:11:07 -08:00
e1000_i210.c igb: Remove GS40G specific defines/functions 2015-12-14 10:20:06 -08:00
e1000_i210.h igb: Remove GS40G specific defines/functions 2015-12-14 10:20:06 -08:00
e1000_mac.c igb: Merge VLVF configuration into igb_vfta_set 2016-02-15 16:36:52 -08:00
e1000_mac.h igb: Merge VLVF configuration into igb_vfta_set 2016-02-15 16:36:52 -08:00
e1000_mbx.c igb/igbvf: don't give up 2016-02-15 16:17:57 -08:00
e1000_mbx.h igb: Cleanups to change comment style on license headers 2014-04-24 17:26:27 -07:00
e1000_nvm.c igb/ixgbe: remove return statements for void functions 2014-05-23 05:28:41 -07:00
e1000_nvm.h igb: Cleanups to change comment style on license headers 2014-04-24 17:26:27 -07:00
e1000_phy.c igb: Improve cable length function for I210, etc. 2015-12-14 16:04:05 -08:00
e1000_phy.h igb: Remove GS40G specific defines/functions 2015-12-14 10:20:06 -08:00
e1000_regs.h igb: improve handling of disconnected adapters 2015-12-12 23:51:26 -08:00
igb_ethtool.c igb: Garbled output for "ethtool -m" 2016-04-06 13:24:38 -07:00
igb_hwmon.c igb: Cleanups to change comment style on license headers 2014-04-24 17:26:27 -07:00
igb_main.c drivers: replace dev->trans_start accesses with dev_trans_start 2016-05-04 14:16:47 -04:00
igb_ptp.c igb: add conditions for I210 to generate periodic clock output 2016-02-24 15:18:53 -08:00
igb.h igb: call ndo_stop() instead of dev_close() when running offline selftest 2016-02-24 15:54:39 -08:00
Makefile igb: Update license text to remove FSF address and update copyright. 2014-02-26 15:54:52 -05:00