From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5DF1B45C2A; Mon, 4 Nov 2024 03:07:14 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 10DD840A6F; Mon, 4 Nov 2024 03:07:07 +0100 (CET) Received: from smtpbguseast2.qq.com (smtpbguseast2.qq.com [54.204.34.130]) by mails.dpdk.org (Postfix) with ESMTP id F183240687; Mon, 4 Nov 2024 03:07:02 +0100 (CET) X-QQ-mid: bizesmtp91t1730686020t8d54akq X-QQ-Originating-IP: e2Y6My8n5nvzWAZUPoN86re9J7dISClJZya+hth2HiM= Received: from wxdbg.localdomain.com ( [60.186.23.108]) by bizesmtp.qq.com (ESMTP) with id ; Mon, 04 Nov 2024 10:06:59 +0800 (CST) X-QQ-SSF: 0000000000000000000000000000000 X-QQ-GoodBg: 0 X-BIZMAIL-ID: 16269965209426105867 From: Jiawen Wu To: dev@dpdk.org Cc: Jiawen Wu , stable@dpdk.org Subject: [PATCH v3 03/13] net/txgbe: remove outer UDP checksum capability Date: Mon, 4 Nov 2024 10:29:57 +0800 Message-Id: <20241104023007.782475-4-jiawenwu@trustnetic.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20241104023007.782475-1-jiawenwu@trustnetic.com> References: <20241028023147.60157-1-jiawenwu@trustnetic.com> <20241104023007.782475-1-jiawenwu@trustnetic.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:trustnetic.com:qybglogicsvrgz:qybglogicsvrgz8a-1 X-QQ-XMAILINFO: NvWYEgjCCjcVm4VX8D/7bIsv3GlEMFUGNMHdRVX42TmUIewruxLH+u4h xaXNFUZQwu4GrgYcRS298INE6hodhA4iXzBIf3/uRe4C0o+rBTayM5uorq1P5XU74XynFXs mE9tXWOYs1/SfnJJ+moNhAt83avciWU2TI57NYiOsQkk2+G8raOxvFsMfEWxVQW8kKCJjpP 1bVdBsuKd3thdUL9Nh+5igj4OcjQlxZgdbPnkJSq+VvXQh7ILdf85Ro9G9lXL/gyw+dnmsG E3xAcdgh8lejPe5cTrf3Q18+R9DvpYVGUA33QSTSrIe+g9MOmjugeWgVqhzUcf0rr3M3dm+ lva40sFscWwXoso4dLmnC7IxAFNovZ39E60mZvP1aQC6ItxdHvtWNsO7ZOsbsqx3wICn1yO zqLOmWCMkQJMMdOeiTicAjY8LcslCM9/EV5ADvkCNfeDHdRa/UL+b9Ndy0ZOwj4NbV+mbzD pRrzsw8+Ur7iCD8szSfi3qrAYCF5Ac39kkdvllcB2DXIGKDPugMEhN8ljr4sac6Y0xIMRHi 7Zvyzh4UnrZtElXXPDOxH0Nce/4D5U04fE/aIZDLeVco9TQdSKe4TWGvLcRGrwMIBcHtWCY qHVuYL+01IrD+pDFKnq6VQJmLdnFUGFe4AykVH5/Fs/+SS+Akoyuw+58b3IqXEBazCpmyYK qfkxOPYZydaE2CswOVSCnjU0+rrscBEj/BWYIlHKvMaI9vBIFV5u62ofF2DLGym1xyLa0JE d0JtPfspneiYFr/sq+YgaeialQdhts4lkQ8HT8OWgHlBgrxTgU95Zxjj+Kg+onuWnn44wlA HW/27h3Z4RmkjSaRX/oeIsuoMqy12d7Mzy/dJ+TEGFc14VfpenZBOKCkMsSyxrudbotGgtp E0mjByHftBurLeAujtkglUIkMsuTv6opA5DA9temzo/cI3tFdjcwB6yQDv8wTweWcPCk+PB +ytAoGoM2VAJ8ReAwfrGsS9ATZlu3jkpyjOr4hBaQZCnQs+5/3SkbZhe4 X-QQ-XMRINFO: NI4Ajvh11aEj8Xl/2s1/T8w= X-QQ-RECHKSPAM: 0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The hardware does not support outer UDP checksum for tunnel packets. It's wrong to claim this Tx offload capability, so fix it. Bugzilla ID: 1529 Fixes: b950203be7f1 ("net/txgbe: support VXLAN-GPE") Fixes: 295968d17407 ("ethdev: add namespace") Cc: stable@dpdk.org Signed-off-by: Jiawen Wu --- drivers/net/txgbe/txgbe_rxtx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/txgbe/txgbe_rxtx.c b/drivers/net/txgbe/txgbe_rxtx.c index 5bc0f8772f..c12726553c 100644 --- a/drivers/net/txgbe/txgbe_rxtx.c +++ b/drivers/net/txgbe/txgbe_rxtx.c @@ -2284,8 +2284,7 @@ txgbe_get_tx_port_offloads(struct rte_eth_dev *dev) tx_offload_capa |= RTE_ETH_TX_OFFLOAD_MACSEC_INSERT; - tx_offload_capa |= RTE_ETH_TX_OFFLOAD_OUTER_IPV4_CKSUM | - RTE_ETH_TX_OFFLOAD_OUTER_UDP_CKSUM; + tx_offload_capa |= RTE_ETH_TX_OFFLOAD_OUTER_IPV4_CKSUM; #ifdef RTE_LIB_SECURITY if (dev->security_ctx) -- 2.27.0