]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
ionic: add SKBTX_IN_PROGRESS
authorShannon Nelson <snelson@pensando.io>
Wed, 7 Apr 2021 23:19:57 +0000 (16:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Apr 2021 20:18:49 +0000 (13:18 -0700)
Set the SKBTX_IN_PROGRESS when offloading the Tx timestamp.

Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_txrx.c

index 765050a5f7a851d8ca7cd67b9e42ba045972273a..08934888575ce3e3aadb5ca576882ace2603c83d 100644 (file)
@@ -1203,6 +1203,7 @@ static netdev_tx_t ionic_start_hwstamp_xmit(struct sk_buff *skb,
        if (unlikely(!ionic_q_has_space(q, ndescs)))
                goto err_out_drop;
 
+       skb_shinfo(skb)->tx_flags |= SKBTX_HW_TSTAMP;
        if (skb_is_gso(skb))
                err = ionic_tx_tso(q, skb);
        else