aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2014-04-02 10:33:28 +0000
committerJeff Kirsher <[email protected]>2014-04-18 18:32:17 -0700
commiteda183c21a444aef5800cef98d63d62914d2a81a (patch)
tree0ec74d649961b7728d4bd41d9eb85440579d7944 /tools/perf/scripts/python/net_dropmonitor.py
parente66c083aab32842f225bae2a2c30744bf96abaec (diff)
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 <[email protected]> Tested-by: Phil Schmitt <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions