net: bcmasp: enable SW timestamping
Subsystems (3)
Justin Chen
maintainerPATCH 1/1 net: bcmasp: enable SW timestamping
Add skb_tx_timestamp() call and enable support for SW timestamping.
Signed-off-by Justin Chen <[email protected]>
--- drivers/net/ethernet/broadcom/asp2/bcmasp_ethtool.c | 1 + drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c | 3 +++ 2 files changed, 4 insertions(+)
drivers/net/ethernet/broadcom/asp2/bcmasp_ethtool.c +1 -0
@@ -496,4 +496,5 @@ const struct ethtool_ops bcmasp_ethtool_ops = { .get_strings = bcmasp_get_strings, .get_ethtool_stats = bcmasp_get_ethtool_stats, .get_sset_count = bcmasp_get_sset_count, + .get_ts_info = ethtool_op_get_ts_info, };
drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c +3 -0
@@ -364,6 +364,9 @@ static netdev_tx_t bcmasp_xmit(struct sk_buff *skb, struct net_device *dev) intf->tx_spb_index = spb_index; intf->tx_spb_dma_valid = valid; + +skb_tx_timestamp (skb); +bcmasp_intf_tx_write (intf, intf->tx_spb_dma_valid);if (tx_spb_ring_full (intf,MAX_SKB_FRAGS +1 ))
Signature · 1 line
2.34.1
Quoted 4 lines · Justin Chen
Add
skb_tx_timestamp()call and enable support for SW timestamping.Signed-off-by Justin Chen <[email protected]>
Reviewed-by Florian Fainelli <[email protected]>
Signature · 1 line
Florian
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 8 lines · On Thu, 10 Oct 2024 15:15:06 -0700 you wrote:
Add
skb_tx_timestamp()call and enable support for SW timestamping.Signed-off-by Justin Chen <[email protected]>--- drivers/net/ethernet/broadcom/asp2/bcmasp_ethtool.c | 1 + drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c | 3 +++ 2 files changed, 4 insertions(+)
Here is the summary with links:
- [net-next] net: bcmasp: enable SW timestamping
https://git.kernel.org/netdev/net-next/c/c531f2269a53
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html