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

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.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 078e0757
...@@ -2502,6 +2502,7 @@ static const struct ethtool_ops nfp_net_ethtool_ops = { ...@@ -2502,6 +2502,7 @@ static const struct ethtool_ops nfp_net_ethtool_ops = {
.set_pauseparam = nfp_port_set_pauseparam, .set_pauseparam = nfp_port_set_pauseparam,
.get_pauseparam = nfp_port_get_pauseparam, .get_pauseparam = nfp_port_get_pauseparam,
.set_phys_id = nfp_net_set_phys_id, .set_phys_id = nfp_net_set_phys_id,
.get_ts_info = ethtool_op_get_ts_info,
}; };
const struct ethtool_ops nfp_port_ethtool_ops = { const struct ethtool_ops nfp_port_ethtool_ops = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment