]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/cnxk/cn10k_tx.c
net/cnxk: enable PTP processing in vector Tx
[dpdk.git] / drivers / net / cnxk / cn10k_tx.c
index 05bc163a4034d8aa313d2d4aa3432a21c12927a2..c4c3e65704913f8f0b56e17a236cc287df4694ca 100644 (file)
@@ -67,9 +67,7 @@ cn10k_eth_set_tx_function(struct rte_eth_dev *eth_dev)
 #undef T
        };
 
-       if (dev->scalar_ena ||
-           (dev->tx_offload_flags &
-            (NIX_TX_OFFLOAD_TSTAMP_F | NIX_TX_OFFLOAD_TSO_F)))
+       if (dev->scalar_ena || (dev->tx_offload_flags & NIX_TX_OFFLOAD_TSO_F))
                pick_tx_func(eth_dev, nix_eth_tx_burst);
        else
                pick_tx_func(eth_dev, nix_eth_tx_vec_burst);