[v2,1/3] net/ice: restrict ice PMD to scalar path for TxPP
Checks
Commit Message
ICE PMD supports TxPP feature only in scalar path. Hence restricted
testpmd to scalar path when the feature is enabled.
Fixes: 0b6ff09a1f19 ("net/intel: support Tx packet pacing for E830")
Cc: stable@dpdk.org
Signed-off-by: Soumyadeep Hore <soumyadeep.hore@intel.com>
---
drivers/net/intel/ice/ice_rxtx_vec_common.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Comments
> Subject: [PATCH v2 1/3] net/ice: restrict ice PMD to scalar path for TxPP
>
> ICE PMD supports TxPP feature only in scalar path. Hence restricted
> testpmd to scalar path when the feature is enabled.
Remove the reference to testpmd in the commit message, as the change
will affect all applications, not just specifically testpmd.
The code change looks good to me.
Acked-by: Ciara Loftus <ciara.loftus@intel.com>
>
> Fixes: 0b6ff09a1f19 ("net/intel: support Tx packet pacing for E830")
> Cc: stable@dpdk.org
>
> Signed-off-by: Soumyadeep Hore <soumyadeep.hore@intel.com>
> ---
> drivers/net/intel/ice/ice_rxtx_vec_common.h | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/net/intel/ice/ice_rxtx_vec_common.h
> b/drivers/net/intel/ice/ice_rxtx_vec_common.h
> index a7cc4736cf..a24694c0b1 100644
> --- a/drivers/net/intel/ice/ice_rxtx_vec_common.h
> +++ b/drivers/net/intel/ice/ice_rxtx_vec_common.h
> @@ -59,7 +59,8 @@ _ice_rx_queue_release_mbufs_vec(struct ci_rx_queue
> *rxq)
> RTE_ETH_TX_OFFLOAD_GRE_TNL_TSO | \
> RTE_ETH_TX_OFFLOAD_IPIP_TNL_TSO | \
> RTE_ETH_TX_OFFLOAD_GENEVE_TNL_TSO | \
> - RTE_ETH_TX_OFFLOAD_OUTER_UDP_CKSUM)
> + RTE_ETH_TX_OFFLOAD_OUTER_UDP_CKSUM | \
> + RTE_ETH_TX_OFFLOAD_SEND_ON_TIMESTAMP)
>
> #define ICE_TX_VECTOR_OFFLOAD ( \
> RTE_ETH_TX_OFFLOAD_VLAN_INSERT | \
> --
> 2.47.1
@@ -59,7 +59,8 @@ _ice_rx_queue_release_mbufs_vec(struct ci_rx_queue *rxq)
RTE_ETH_TX_OFFLOAD_GRE_TNL_TSO | \
RTE_ETH_TX_OFFLOAD_IPIP_TNL_TSO | \
RTE_ETH_TX_OFFLOAD_GENEVE_TNL_TSO | \
- RTE_ETH_TX_OFFLOAD_OUTER_UDP_CKSUM)
+ RTE_ETH_TX_OFFLOAD_OUTER_UDP_CKSUM | \
+ RTE_ETH_TX_OFFLOAD_SEND_ON_TIMESTAMP)
#define ICE_TX_VECTOR_OFFLOAD ( \
RTE_ETH_TX_OFFLOAD_VLAN_INSERT | \