DPDK patches and discussions
 help / color / mirror / Atom feed
From: Xueming Li <xuemingl@mellanox.com>
To: Yongseok Koh <yskoh@mellanox.com>, Shahaf Shuler <shahafs@mellanox.com>
Cc: Xueming Li <xuemingl@mellanox.com>, dev@dpdk.org
Subject: [dpdk-dev] [PATCH 3/3] net/mlx5: allow max 192B TSO inline header length
Date: Sun,  8 Apr 2018 20:41:21 +0800	[thread overview]
Message-ID: <20180408124121.110975-4-xuemingl@mellanox.com> (raw)
In-Reply-To: <20180408124121.110975-1-xuemingl@mellanox.com>

Change max inline header length to 192B to allow IPv6 VXLAN TSO headers
and header with options that more than 128B.

Signed-off-by: Xueming Li <xuemingl@mellanox.com>
---
 drivers/net/mlx5/mlx5_defs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/mlx5/mlx5_defs.h b/drivers/net/mlx5/mlx5_defs.h
index 6401588ee..851166ed9 100644
--- a/drivers/net/mlx5/mlx5_defs.h
+++ b/drivers/net/mlx5/mlx5_defs.h
@@ -58,7 +58,7 @@
 #define MLX5_MAX_XSTATS 32
 
 /* Maximum Packet headers size (L2+L3+L4) for TSO. */
-#define MLX5_MAX_TSO_HEADER 128
+#define MLX5_MAX_TSO_HEADER 192
 
 /* Default minimum number of Tx queues for vectorized Tx. */
 #define MLX5_VPMD_MIN_TXQS 4
-- 
2.13.3

  parent reply	other threads:[~2018-04-08 12:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-08 12:41 [dpdk-dev] [PATCH 0/3] mlx5 support Tx generic tunnel checksum and TSO Xueming Li
2018-04-08 12:41 ` [dpdk-dev] [PATCH 1/3] net/mlx5: separate TSO function in Tx data path Xueming Li
2018-04-24  9:17   ` Yongseok Koh
2018-04-08 12:41 ` [dpdk-dev] [PATCH 2/3] net/mlx5: support generic tunnel offloading Xueming Li
2018-04-24 10:27   ` Yongseok Koh
2018-04-08 12:41 ` Xueming Li [this message]
2018-04-24  9:18   ` [dpdk-dev] [PATCH 3/3] net/mlx5: allow max 192B TSO inline header length Yongseok Koh
2018-04-24 16:51 ` [dpdk-dev] [PATCH 0/3] mlx5 support Tx generic tunnel checksum and TSO Shahaf Shuler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180408124121.110975-4-xuemingl@mellanox.com \
    --to=xuemingl@mellanox.com \
    --cc=dev@dpdk.org \
    --cc=shahafs@mellanox.com \
    --cc=yskoh@mellanox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).