* [PATCH net-next] net: mvpp2: set SKBTX_IN_PROGRESS
@ 2020-09-13 7:05 Russell King
2020-09-13 13:56 ` Richard Cochran
2020-09-13 21:21 ` David Miller
0 siblings, 2 replies; 3+ messages in thread
From: Russell King @ 2020-09-13 7:05 UTC (permalink / raw)
To: Alexandre Belloni, Antoine Tenart, Richard Cochran
Cc: Matteo Croce, Andre Przywara, Sven Auhagen, David S. Miller,
Jakub Kicinski, netdev
Richard Cochran points out that SKBTX_IN_PROGRESS should be set when
the skbuff is queued for timestamping. Add this.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
---
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c b/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
index 87b1c9cfdc77..d11d33cf3443 100644
--- a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
+++ b/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
@@ -3701,6 +3701,8 @@ static bool mvpp2_tx_hw_tstamp(struct mvpp2_port *port,
if (!hdr)
return false;
+ skb_shinfo(skb)->tx_flags |= SKBTX_IN_PROGRESS;
+
ptpdesc = MVPP22_PTP_MACTIMESTAMPINGEN |
MVPP22_PTP_ACTION_CAPTURE;
queue = &port->tx_hwtstamp_queue[0];
--
2.20.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] net: mvpp2: set SKBTX_IN_PROGRESS
2020-09-13 7:05 [PATCH net-next] net: mvpp2: set SKBTX_IN_PROGRESS Russell King
@ 2020-09-13 13:56 ` Richard Cochran
2020-09-13 21:21 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: Richard Cochran @ 2020-09-13 13:56 UTC (permalink / raw)
To: Russell King
Cc: Alexandre Belloni, Antoine Tenart, Matteo Croce, Andre Przywara,
Sven Auhagen, David S. Miller, Jakub Kicinski, netdev
On Sun, Sep 13, 2020 at 08:05:52AM +0100, Russell King wrote:
> Richard Cochran points out that SKBTX_IN_PROGRESS should be set when
> the skbuff is queued for timestamping. Add this.
>
> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Acked-by: Richard Cochran <richardcochran@gmail.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] net: mvpp2: set SKBTX_IN_PROGRESS
2020-09-13 7:05 [PATCH net-next] net: mvpp2: set SKBTX_IN_PROGRESS Russell King
2020-09-13 13:56 ` Richard Cochran
@ 2020-09-13 21:21 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2020-09-13 21:21 UTC (permalink / raw)
To: rmk+kernel
Cc: alexandre.belloni, antoine.tenart, richardcochran, mcroce,
andre.przywara, sven.auhagen, kuba, netdev
From: Russell King <rmk+kernel@armlinux.org.uk>
Date: Sun, 13 Sep 2020 08:05:52 +0100
> Richard Cochran points out that SKBTX_IN_PROGRESS should be set when
> the skbuff is queued for timestamping. Add this.
>
> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Applied.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-09-13 21:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-13 7:05 [PATCH net-next] net: mvpp2: set SKBTX_IN_PROGRESS Russell King
2020-09-13 13:56 ` Richard Cochran
2020-09-13 21:21 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.