Commit 7453d7a6 authored by Yinjun Zhang's avatar Yinjun Zhang Committed by Jakub Kicinski
Browse files

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: default avatarYinjun Zhang <yinjun.zhang@corigine.com>
Signed-off-by: default avatarLouis Peens <louis.peens@corigine.com>
Link: https://lore.kernel.org/r/20231129080413.83789-1-louis.peens@corigine.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 078e0757
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 = {