From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by dpdk.org (Postfix) with ESMTP id D2A1BF90 for ; Mon, 30 Apr 2018 16:08:21 +0200 (CEST) Received: by mail-wm0-f68.google.com with SMTP id a137so10212249wme.1 for ; Mon, 30 Apr 2018 07:08:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=gAn5RO29SnJzfjseLZ6QNbtG1ZkE2ICgiA5iWA0h/wQ=; b=LmnkNG2zucxufWlNhzebOMtLl7094rdph+thSBtu5/0sir89KexI/WRq2uQQ2YKY+P Zdm5VUKGP9bL7DyXatZdmEQQaxHtzRC7ZpKnaErvaE5a+tcB0IN4BZUqOJ+nqn+Krp2d r4F4uyVEutEbdQwl1NdjrN1Vc9z8XLDjurblCrOvRm7Dz2xkiMttcB90PigsequzpYwo y9a2ya2kh3/6CgO7MdK78Od4DQBud+W/l8YZIyiLmx+wPV9vsDZ4oZyxqCjVAEt+NX7m dkJPfTsIinzA51yZ2kDIlIw2qSjtgxwBGodued91NjGEaOzpv/FS6Ts1SUvQLcwDg7Pd nTcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=gAn5RO29SnJzfjseLZ6QNbtG1ZkE2ICgiA5iWA0h/wQ=; b=CJFNDRAIl5nVf/vQb9aH5riwKvrtWrAO0R2lInjwEeLmaoLq0LjQEsVLPcVbdyny7N HqbK1UfLKWVhV4RyeL6UiI+LlJpozSnY7FvaF9ZMvom0LOMnsyIqqVPIJhWqAxoaXq2H SPFn0cUYPIafgh4NXTFGTdw6nS9jO027D48yf84jpyXiznSsA3JrsPcFTcJ2kYdxMKQv bXIu+sq+O+yqx2MdmHnjlqTC5zEZVUVpAwQMJ64fPg9SkX5JNWMjOWtJLJ+jnHpkyiTo 8/MBUsGB06iFcMfNjPQBT12ruHkLyuTwgNuhMPW09gLjMOyWS8h1QfgkYbjuQcjYPCtv KJqA== X-Gm-Message-State: ALQs6tCvBtyR2UsPOKz1y2bB5mJdDaQ7VLTt7HDaqLo9T+rCd1iXytEs 0mersc9HzUDQbdAYwa9SnusJfo1Ivbw= X-Google-Smtp-Source: AB8JxZqgfg+HWKawGfO6qcqgdwguMmI7LGL5aRhxDmZ9omRLsOzDMO6eCpKN+qQkPE4X3jmnwL28fg== X-Received: by 10.28.225.130 with SMTP id y124mr7951096wmg.57.1525097301491; Mon, 30 Apr 2018 07:08:21 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id m9-v6sm9501461wrf.72.2018.04.30.07.08.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 07:08:20 -0700 (PDT) From: luca.boccassi@gmail.com To: Shahaf Shuler Cc: Yongseok Koh , dpdk stable Date: Mon, 30 Apr 2018 15:03:52 +0100 Message-Id: <20180430140606.4615-74-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180430140606.4615-1-luca.boccassi@gmail.com> References: <20180430140606.4615-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'net/mlx5: fix TSO enablement' has been queued to stable release 18.02.2 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2018 14:08:22 -0000 Hi, FYI, your patch has been queued to stable release 18.02.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/02/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From 6a54c0f605a3a4ec7e975ed88df7c9de54696997 Mon Sep 17 00:00:00 2001 From: Shahaf Shuler Date: Thu, 15 Mar 2018 13:00:05 +0200 Subject: [PATCH] net/mlx5: fix TSO enablement [ upstream commit b7059e6e436852c1d8be241970c042dd182ff63d ] TSO should be set if either of the TSO offload flags is requested. Fixes: dbccb4cddcd2 ("net/mlx5: convert to new Tx offloads API") Signed-off-by: Shahaf Shuler Acked-by: Yongseok Koh --- 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.14.2