Skip to content

Commit 5df20ce

Browse files
gal-pressmandavem330
authored andcommitted
i40e: 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 <cjubran@nvidia.com> Reviewed-by: Rahul Rameshbabu <rrameshbabu@nvidia.com> Signed-off-by: Gal Pressman <gal@nvidia.com> Reviewed-by: Tony Nguyen <anthony.l.nguyen@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent f9b74d6 commit 5df20ce

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/net/ethernet/intel/i40e/i40e_ethtool.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2555,16 +2555,12 @@ static int i40e_get_ts_info(struct net_device *dev,
25552555
return ethtool_op_get_ts_info(dev, info);
25562556

25572557
info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE |
2558-
SOF_TIMESTAMPING_RX_SOFTWARE |
2559-
SOF_TIMESTAMPING_SOFTWARE |
25602558
SOF_TIMESTAMPING_TX_HARDWARE |
25612559
SOF_TIMESTAMPING_RX_HARDWARE |
25622560
SOF_TIMESTAMPING_RAW_HARDWARE;
25632561

25642562
if (pf->ptp_clock)
25652563
info->phc_index = ptp_clock_index(pf->ptp_clock);
2566-
else
2567-
info->phc_index = -1;
25682564

25692565
info->tx_types = BIT(HWTSTAMP_TX_OFF) | BIT(HWTSTAMP_TX_ON);
25702566

0 commit comments

Comments
 (0)