diff options
author | Shannon Nelson <snelson@pensando.io> | 2021-04-08 02:19:57 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-08 23:18:49 +0300 |
commit | bd7856bcd498498a91b275904b9aa43882cf85a0 (patch) | |
tree | e0b4a831940fe3f71098fd0ba478607aa1beac42 /drivers | |
parent | e2ce148e948e7cf6267351ea407ac45a6b561a54 (diff) | |
download | linux-bd7856bcd498498a91b275904b9aa43882cf85a0.tar.xz |
ionic: add SKBTX_IN_PROGRESS
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/pensando/ionic/ionic_txrx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/pensando/ionic/ionic_txrx.c b/drivers/net/ethernet/pensando/ionic/ionic_txrx.c index 765050a5f7a8..08934888575c 100644 --- a/drivers/net/ethernet/pensando/ionic/ionic_txrx.c +++ b/drivers/net/ethernet/pensando/ionic/ionic_txrx.c @@ -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 |