aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorAndre Guedes <[email protected]>2020-06-04 00:01:05 +0000
committerJeff Kirsher <[email protected]>2020-06-30 01:21:38 +0000
commit1cbedabffdb1737fc40136de9b72e4c69c3e29ce (patch)
treeeaf9e796fa9fdcf987179cdb4f8ed2dbc709f4b4 /drivers/net/ethernet/intel/igc/igc_main.c
parentigc: Refactor igc_ptp_set_timestamp_mode() (diff)
downloadkernel-1cbedabffdb1737fc40136de9b72e4c69c3e29ce.tar.gz
kernel-1cbedabffdb1737fc40136de9b72e4c69c3e29ce.zip
igc: Fix Rx timestamp disabling
When Rx timestamping is enabled, we set the timestamp bit in SRRCTL register for each queue, but we don't clear it when disabling. This patch fixes igc_ptp_disable_rx_timestamp() accordingly. Also, this patch gets rid of igc_ptp_enable_tstamp_rxqueue() and igc_ptp_enable_tstamp_all_rxqueues() and move their logic into igc_ptp_enable_rx_timestamp() to keep the enable and disable helpers symmetric. Signed-off-by: Andre Guedes <[email protected]> Tested-by: Aaron Brown <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions