* [PATCH] net/mlx5: fix TSO enablement
@ 2018-03-15 11:00 Shahaf Shuler
2018-03-21 15:14 ` [dpdk-stable] " Shahaf Shuler
0 siblings, 1 reply; 2+ messages in thread
From: Shahaf Shuler @ 2018-03-15 11:00 UTC (permalink / raw)
To: yskoh, nelio.laranjeiro, adrien.mazarguil; +Cc: dev, stable
TSO should be set if either of the TSO offload flags is requested.
Fixes: dbccb4cddcd2 ("net/mlx5: convert to new Tx offloads API")
Cc: stable@dpdk.org
Signed-off-by: Shahaf Shuler <shahafs@mellanox.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
---
drivers/net/mlx5/mlx5_txq.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/net/mlx5/mlx5_txq.c b/drivers/net/mlx5/mlx5_txq.c
index ed1c713ea..42996e8db 100644
--- a/drivers/net/mlx5/mlx5_txq.c
+++ b/drivers/net/mlx5/mlx5_txq.c
@@ -651,7 +651,9 @@ txq_set_params(struct mlx5_txq_ctrl *txq_ctrl)
unsigned int inline_max_packet_sz;
eth_tx_burst_t tx_pkt_burst = priv_select_tx_function(priv, priv->dev);
int is_empw_func = is_empw_burst_func(tx_pkt_burst);
- int tso = !!(txq_ctrl->txq.offloads & DEV_TX_OFFLOAD_TCP_TSO);
+ int tso = !!(txq_ctrl->txq.offloads & (DEV_TX_OFFLOAD_TCP_TSO |
+ DEV_TX_OFFLOAD_VXLAN_TNL_TSO |
+ DEV_TX_OFFLOAD_GRE_TNL_TSO));
txq_inline = (config->txq_inline == MLX5_ARG_UNSET) ?
0 : config->txq_inline;
--
2.12.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [dpdk-stable] [PATCH] net/mlx5: fix TSO enablement
2018-03-15 11:00 [PATCH] net/mlx5: fix TSO enablement Shahaf Shuler
@ 2018-03-21 15:14 ` Shahaf Shuler
0 siblings, 0 replies; 2+ messages in thread
From: Shahaf Shuler @ 2018-03-21 15:14 UTC (permalink / raw)
To: Shahaf Shuler, Yongseok Koh, Nélio Laranjeiro, Adrien Mazarguil
Cc: dev, stable
Thursday, March 15, 2018 1:00 PM, Shahaf Shuler:
> TSO should be set if either of the TSO offload flags is requested.
>
> Fixes: dbccb4cddcd2 ("net/mlx5: convert to new Tx offloads API")
> Cc: stable@dpdk.org
>
> Signed-off-by: Shahaf Shuler <shahafs@mellanox.com>
> Acked-by: Yongseok Koh <yskoh@mellanox.com>
> ---
> drivers/net/mlx5/mlx5_txq.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
Applied to next-net-mlx, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-03-21 15:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-15 11:00 [PATCH] net/mlx5: fix TSO enablement Shahaf Shuler
2018-03-21 15:14 ` [dpdk-stable] " Shahaf Shuler
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.