Skip to content

Commit 7453d7a

Browse files
Yinjun Zhangkuba-moo
authored andcommitted
nfp: ethtool: expose transmit SO_TIMESTAMPING capability
NFP always supports software time stamping of tx, now expose the capability through ethtool ops. Signed-off-by: Yinjun Zhang <[email protected]> Signed-off-by: Louis Peens <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 078e075 commit 7453d7a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2502,6 +2502,7 @@ static const struct ethtool_ops nfp_net_ethtool_ops = {
25022502
.set_pauseparam = nfp_port_set_pauseparam,
25032503
.get_pauseparam = nfp_port_get_pauseparam,
25042504
.set_phys_id = nfp_net_set_phys_id,
2505+
.get_ts_info = ethtool_op_get_ts_info,
25052506
};
25062507

25072508
const struct ethtool_ops nfp_port_ethtool_ops = {

0 commit comments

Comments
 (0)