Skip to content

Commit 12283fa

Browse files
gal-pressmandavem330
authored andcommitted
ixgbe: 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 29d2e49 commit 12283fa

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3196,16 +3196,12 @@ static int ixgbe_get_ts_info(struct net_device *dev,
31963196

31973197
info->so_timestamping =
31983198
SOF_TIMESTAMPING_TX_SOFTWARE |
3199-
SOF_TIMESTAMPING_RX_SOFTWARE |
3200-
SOF_TIMESTAMPING_SOFTWARE |
32013199
SOF_TIMESTAMPING_TX_HARDWARE |
32023200
SOF_TIMESTAMPING_RX_HARDWARE |
32033201
SOF_TIMESTAMPING_RAW_HARDWARE;
32043202

32053203
if (adapter->ptp_clock)
32063204
info->phc_index = ptp_clock_index(adapter->ptp_clock);
3207-
else
3208-
info->phc_index = -1;
32093205

32103206
info->tx_types =
32113207
BIT(HWTSTAMP_TX_OFF) |

0 commit comments

Comments
 (0)