linux/drivers/net/ethernet/intel/ixgbe
Jakub Kicinski eda183c21a ixgbe: clean up Rx time stamping code
Time stamping resources are per-interface so there is no need
to keep separate last_rx_timestamp for each Rx ring, move
last_rx_timestamp to the adapter structure.

With last_rx_timestamp inside adapter, ixgbe_ptp_rx_hwtstamp()
inline function is reduced to a single if statement so it is
no longer necessary. If statement is placed directly in
ixgbe_process_skb_fields() fixing likely/unlikely marking.

Checks for q_vector or adapter to be NULL are superfluous.

Comment about taking I/O hit is a leftover from previous design.

Signed-off-by: Jakub Kicinski <kubakici@wp.pl>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2014-04-18 18:32:17 -07:00
..
ixgbe.h ixgbe: clean up Rx time stamping code 2014-04-18 18:32:17 -07:00
ixgbe_82598.c ixgbe: Stop cacheing if the MNG FW enabled 2014-03-20 00:52:36 -07:00
ixgbe_82599.c ixgbe: Stop cacheing if the MNG FW enabled 2014-03-20 00:52:36 -07:00
ixgbe_common.c ixgbe: Break recursion in case of removal 2014-03-21 01:46:03 -07:00
ixgbe_common.h ixgbe: Stop cacheing if the MNG FW enabled 2014-03-20 00:52:36 -07:00
ixgbe_dcb.c IXGBE: Set the SW prio_tc values at initialization to the HW setting. 2013-05-21 03:14:21 -07:00
ixgbe_dcb.h IXGBE: Set the SW prio_tc values at initialization to the HW setting. 2013-05-21 03:14:21 -07:00
ixgbe_dcb_82598.c ixgbe: Fix Tx Hang issue with lldpad on 82598EB 2013-07-28 13:17:17 -07:00
ixgbe_dcb_82598.h ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_dcb_82599.c ixgbe: add Linux NICS mailing list to contact info 2014-03-12 19:05:30 -07:00
ixgbe_dcb_82599.h ixgbe: add Linux NICS mailing list to contact info 2014-03-12 19:05:30 -07:00
ixgbe_dcb_nl.c IXGBE: Set the SW prio_tc values at initialization to the HW setting. 2013-05-21 03:14:21 -07:00
ixgbe_debugfs.c ixgbe: add Linux NICS mailing list to contact info 2014-03-12 19:05:30 -07:00
ixgbe_ethtool.c net: Replace u64_stats_fetch_begin_bh to u64_stats_fetch_begin_irq 2014-03-14 22:41:36 -04:00
ixgbe_fcoe.c ixgbe: Convert uses of __constant_<foo> to <foo> 2014-03-19 22:47:33 -07:00
ixgbe_fcoe.h ixgbe: add Linux NICS mailing list to contact info 2014-03-12 19:05:30 -07:00
ixgbe_lib.c ixgbe: add Linux NICS mailing list to contact info 2014-03-12 19:05:30 -07:00
ixgbe_main.c ixgbe: clean up Rx time stamping code 2014-04-18 18:32:17 -07:00
ixgbe_mbx.c ixgbe: add Linux NICS mailing list to contact info 2014-03-12 19:05:30 -07:00
ixgbe_mbx.h ixgbe: add Linux NICS mailing list to contact info 2014-03-12 19:05:30 -07:00
ixgbe_phy.c ixgbe: fix ixgbe_check_reset_blocked() declaration 2014-03-31 15:48:01 -07:00
ixgbe_phy.h ixgbe: fix ixgbe_check_reset_blocked() declaration 2014-03-31 15:48:01 -07:00
ixgbe_ptp.c ixgbe: clean up Rx time stamping code 2014-04-18 18:32:17 -07:00
ixgbe_sriov.c ixgbe: add Linux NICS mailing list to contact info 2014-03-12 19:05:30 -07:00
ixgbe_sriov.h ixgbe: add Linux NICS mailing list to contact info 2014-03-12 19:05:30 -07:00
ixgbe_sysfs.c ixgbe: add Linux NICS mailing list to contact info 2014-03-12 19:05:30 -07:00
ixgbe_type.h ixgbe: Stop cacheing if the MNG FW enabled 2014-03-20 00:52:36 -07:00
ixgbe_x540.c ixgbe: Stop cacheing if the MNG FW enabled 2014-03-20 00:52:36 -07:00
Makefile ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00