Skip to content

Commit

Permalink
nfp: ethtool: expose transmit SO_TIMESTAMPING capability
Browse files Browse the repository at this point in the history
NFP always supports software time stamping of tx, now expose
the capability through ethtool ops.

Signed-off-by: Yinjun Zhang <yinjun.zhang@corigine.com>
Signed-off-by: Louis Peens <louis.peens@corigine.com>
Link: https://lore.kernel.org/r/20231129080413.83789-1-louis.peens@corigine.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  • Loading branch information
Yinjun Zhang authored and Jakub Kicinski committed Dec 2, 2023
1 parent 078e075 commit 7453d7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -2502,6 +2502,7 @@ static const struct ethtool_ops nfp_net_ethtool_ops = {
.set_pauseparam = nfp_port_set_pauseparam,
.get_pauseparam = nfp_port_get_pauseparam,
.set_phys_id = nfp_net_set_phys_id,
.get_ts_info = ethtool_op_get_ts_info,
};

const struct ethtool_ops nfp_port_ethtool_ops = {
Expand Down

0 comments on commit 7453d7a

Please sign in to comment.