Skip to content

Commit 29d2e49

Browse files
gal-pressmandavem330
authored andcommitted
igc: Remove setting of RX software timestamp
The responsibility for reporting of RX software timestamp has moved to the core layer (see __ethtool_get_ts_info()), remove usage from the device drivers. Reviewed-by: Carolina Jubran <[email protected]> Reviewed-by: Rahul Rameshbabu <[email protected]> Signed-off-by: Gal Pressman <[email protected]> Reviewed-by: Tony Nguyen <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 638effa commit 29d2e49

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/net/ethernet/intel/igc/igc_ethtool.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1569,15 +1569,11 @@ static int igc_ethtool_get_ts_info(struct net_device *dev,
15691569

15701570
if (adapter->ptp_clock)
15711571
info->phc_index = ptp_clock_index(adapter->ptp_clock);
1572-
else
1573-
info->phc_index = -1;
15741572

15751573
switch (adapter->hw.mac.type) {
15761574
case igc_i225:
15771575
info->so_timestamping =
15781576
SOF_TIMESTAMPING_TX_SOFTWARE |
1579-
SOF_TIMESTAMPING_RX_SOFTWARE |
1580-
SOF_TIMESTAMPING_SOFTWARE |
15811577
SOF_TIMESTAMPING_TX_HARDWARE |
15821578
SOF_TIMESTAMPING_RX_HARDWARE |
15831579
SOF_TIMESTAMPING_RAW_HARDWARE;

0 commit comments

Comments
 (0)