Skip to content

Commit 26f7415

Browse files
gal-pressmandavem330
authored andcommitted
bnx2x: 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]> Signed-off-by: David S. Miller <[email protected]>
1 parent 4c6d910 commit 26f7415

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c

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

36413641
if (bp->flags & PTP_SUPPORTED) {
36423642
info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE |
3643-
SOF_TIMESTAMPING_RX_SOFTWARE |
3644-
SOF_TIMESTAMPING_SOFTWARE |
36453643
SOF_TIMESTAMPING_TX_HARDWARE |
36463644
SOF_TIMESTAMPING_RX_HARDWARE |
36473645
SOF_TIMESTAMPING_RAW_HARDWARE;
36483646

36493647
if (bp->ptp_clock)
36503648
info->phc_index = ptp_clock_index(bp->ptp_clock);
3651-
else
3652-
info->phc_index = -1;
36533649

36543650
info->rx_filters = (1 << HWTSTAMP_FILTER_NONE) |
36553651
(1 << HWTSTAMP_FILTER_PTP_V1_L4_EVENT) |

0 commit comments

Comments
 (0)