aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorMartin Habets <mhabets@solarflare.com>2018-01-25 12:25:15 -0500
committerDavid S. Miller <davem@davemloft.net>2018-01-25 16:05:14 -0500
commit23418dc131464ffe29c9ac2d71cf95bf2883fc4f (patch)
tree00d9a768627f0960913a007e371fb840b1345862 /tools/perf/scripts/python/call-graph-from-sql.py
parent9c3afb33ae587723d2acda044a352670ec8d5b82 (diff)
sfc: use main datapath for HW timestamps if available
We can now transmit SKBs in 2 ways: 1. Via the MC (for the 7XXX series and earlier), using efx_ptp_xmit_skb_mc(). 2. Via the TX queues on the dedicated PTP channel (8XXX series and later), using efx_ptp_xmit_skb_queue(). The PTP worker thread uses the method set up at probe time. It never checked the return code from the old efx_ptp_xmit_skb(), so it now returns void. We increment the TX dropped counter of the device if the transmit fails. As a result of the probe per channel the remove gets called multiple times. Clean up efx->ptp_data properly to avoid the 2nd call blowing up. Signed-off-by: Martin Habets <mhabets@solarflare.com> Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions