From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0087.outbound.protection.outlook.com [104.47.37.87]) by dpdk.org (Postfix) with ESMTP id 34C4C5F16; Fri, 5 Oct 2018 06:47:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9yQNLpIj+cUKUQfQHTfX6b9Qq+5PMW+HsP2XjCiDmU4=; b=MI2Tzie7YEt+274kdOZ6U88TT8otZgije6jn8EerBc7K+bWoK57bTdf6ILISLcaQVvvOQG1iv9qAGeVRtC7B+LLIuAQ9CNAx8yciL5MeAU4RE6hChYgK0jIA0nkWbRhO6kQKzsWT/+oXw82o7Y660VjKORZbvKSgZUdGWCLpyM8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from localhost.localdomain (2401:4900:2181:f61f:bd54:2df9:6584:d687) by SN6PR07MB5007.namprd07.prod.outlook.com (2603:10b6:805:ac::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1185.23; Fri, 5 Oct 2018 04:46:57 +0000 From: Jerin Jacob To: John McNamara , Marko Kovacevic Cc: dev@dpdk.org, thomas@monjalon.net, ferruh.yigit@intel.com, arybchenko@solarflare.com, olivier.matz@6wind.com, Jerin Jacob , stable@dpdk.org Date: Fri, 5 Oct 2018 10:16:05 +0530 Message-Id: <20181005044606.27026-2-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181005044606.27026-1-jerin.jacob@caviumnetworks.com> References: <20181005044606.27026-1-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [2401:4900:2181:f61f:bd54:2df9:6584:d687] X-ClientProxiedBy: PN1PR0101CA0010.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:e::20) To SN6PR07MB5007.namprd07.prod.outlook.com (2603:10b6:805:ac::33) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 73616d80-1179-4c91-bbca-08d62a7d97c1 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:SN6PR07MB5007; X-Microsoft-Exchange-Diagnostics: 1; SN6PR07MB5007; 3:Xz0Ayl4WPPQ53xnfQP91yKKr3yj3Oj8NjpOuP/AphjvTfAhSEnvF1pLQG+oxswJD3KLNTg/kYf2RJjXIifnNiPyQ5hrMeRDF7PU7TRkj4LN1C59nFircSuDjOs+NISybBNlITDsVL4ZdYtZro6/7K27f1PngO+MbyJJoeI/Eaa70LMrMpiMGLNRcQLF4MjV1CXRFVZBcJVynpItIr7k+vJHqfebf+AGksJ3XhY2INpIZpKXgaohXet3tHTL/4k5d; 25:ZcbcfVOo94SmVayb9CBlLT9EMWhIGmAsC8Cr8hal+KMcOB6guHpuHOkUvstMW6sMz5jLVbnNpKsUoAtqVGzJSFnaUtxn8nNUhnfDOXekF6wM/elDq/+jSiHXfmvdDdKfHNht3yjcXF6lT89F81KHnaPLB9WoiMOyes4PcAAoHeLsbUQXFl+awCcEpR0EW+wjf74VW8dOkDIYCHgQ/muGiBGae1grgVxl+MLAMSNHRL+vISLM+Gr8V+mAs85/NP2Ivxzzrm91rxx0uh8tijgZr/mmzJMzrCFkzv+O6iArEUEbZHH8NbcWgr2PEKcpDuDMIoB1AqUz1rHMgbEjof02Tg==; 31:so7QTUlx2h8uIttRpYpbv85PgJNemQxfIB/cupPGabtkJyongzSQNG1bESTJ2EKCsOlFLfjNBkxJKEgZirvjVKpdbV3KzNOdcND32XqnFQBlRfVEhC1AuL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1g== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231355)(944501410)(52105095)(93006095)(10201501046)(3002001)(149066)(150057)(6041310)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(201708071742011)(7699051); SRVR:SN6PR07MB5007; BCL:0; PCL:0; RULEID:; SRVR:SN6PR07MB5007; X-Forefront-PRVS: 0816F1D86E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(346002)(366004)(376002)(396003)(136003)(39850400004)(199004)(189003)(47776003)(16526019)(2870700001)(6306002)(6512007)(6486002)(4326008)(36756003)(6506007)(25786009)(44832011)(51416003)(52116002)(386003)(186003)(52396003)(76176011)(53936002)(1857600001)(97736004)(486006)(11346002)(46003)(476003)(446003)(42882007)(50226002)(81166006)(305945005)(7736002)(69590400006)(316002)(8936002)(72206003)(2616005)(966005)(5660300001)(478600001)(81156014)(105586002)(8676002)(14444005)(110136005)(1076002)(68736007)(6666003)(48376002)(106356001)(2906002)(50466002)(6116002); DIR:OUT; SFP:1101; SCL:1; SRVR:SN6PR07MB5007; H:localhost.localdomain; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN6PR07MB5007; 23:XIYm2cMS2OZrVLxBvzDv+2fkMSFnec45m9qW3JQgB?= =?us-ascii?Q?9bI9Ex/RoW5kXiBBJaVmbi2obMSExWsUaXd01ySvM1meZQeYvggTdGJ5jWQO?= =?us-ascii?Q?JVW3fQgfSykftYRSp8MjfcMaAESw9G5YDJ4bboNpwT6pBuKrv95i+yjEn7pt?= =?us-ascii?Q?7sPE0Z03xZnoo2U/3OF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HCflUGk51U7x5rEW7UP0r9oei6eH61U00asiOtI7sizkdcmdOmzoGfExn?= =?us-ascii?Q?vb3pVA3+rTP9rtcCNo1kSeSBpUICEXIbMUQ2QTBizziaoi1rzfX8+f8qmTAD?= =?us-ascii?Q?iYdnl1V2XucHlf33ufR6jNg/eKTmbG0FZY67BYjsydS81v61VinvdwqWzwK4?= =?us-ascii?Q?etMTjaklhNTMmv6BvmI/K228GhhwgH+MhwVjFHAUPVQ4urjW9XoZ2ZgTIpys?= =?us-ascii?Q?1QwqKr9BH8RrDDxCZS/hJzdgnQnvl08JxKfJZiBeaf5?= X-Microsoft-Antispam-Message-Info: zGAqzZ5V/rYUQPTpLCPLdDM6Dg7YAaGfqUrRWD47K7vMEAvNn+kROkd0WoqHbr32A17QNdtPgEbUGGTZ4HH/kvJorklQo5GJaM286ZtgOdmq5yVeBUAskbki6pBB3uiMXxpVdlXFmtjc29uVcl+v6xfSw4QaSNqRSKILK9TgR6SHUzxOcwU03S+/fdSSi+2lc3kOUWAV/HjG7dbhoonHBKAf891nWmQwbg9faFGTfu4vLkg3g1g5QJ7eLID8rskwc6Fynq9Va5aNqNyfExAsXPA/edmkUmHg/WthR0eh0UY/zOpwM1js4WD4NaYoQlkZGfolG027OAoT+CrOBQ+vBCvo33vnOhqlfGPt6VVFV9M= X-Microsoft-Exchange-Diagnostics: 1; SN6PR07MB5007; 6:r4irTmX2u25SzWWFlUtSrsGtJC05CnnPan1CX48k53mdM+uKBnzecYsZ+Zr/AjpKbZLaAHDAznUYtxRtUGs8ShXdzcPhTKm9C1BF8hH125RSVlBdzZsykz6wY2tmlKSkDyKVp+hDVoRlBFGrmjBMZ6NGSkxyMOdkYc4xWcKWngfE7d0Bfes7zLAEfajE30R5f5l9LEuchsiiknI0Xn/3PBT6m/Dx8dcC3yU54mCdYXrnbjkdXs9Ax5PzhMznMzLlgndidiNdKTvxk+/sbYgRHfkYLJ3y/Dl4R2KL0L319qd81+1Eo8zayLR0lz9hxgU24u6igv1pZ3MJtY8s6aPyE6cMG1VOEj0j6UocU0GvDMnZBLpJ1XpQu2vIvoeNL0yKIAOpvZA2i2xQBnYbb13ZW/mynJxVEZoaVqMwvbRbPqMYKHA91k/XGX5kMB77ODXFsNWAMfk6KGgt4YSEzJEyRw==; 5:DMfoEgyPDS3tIFb0JQ49S2xpiamO/nkLWnSi04Df+34Iz4oXJO8Jiln6KNIwDywx4uKeVL9W6QN1kJWLh1o+AWVaY8+xCjSI4cfi86LKDtzI4O1Oth6e4XPfpOmZjC8fG5vIq1lSXwbPz19YPr+A1IRs59wYszeB6K2+YFdonIw=; 7:FC8P+tokeq2ez4n8443z0AjLGm/55SdnrxRZ2pc3BArzSwg60NpIVbLa1iEi/Zh3s2BWyS898nC1liRJtD31uuQlo71WrE4UrkcKC2WcG9EAibbDSIbPeV/ZtKM0jR11p4FljqPpsszNntdStmLaWD3E8hB85IbpUehLXARbUUCC4VqBSsJjzLR3Rpo3rYZJ9QfccLIvorkDdG60+ymqlRRIdn6gbTkfBJQu/ibnMqw2TgMFIMVC7p81VOZtZbK9 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Oct 2018 04:46:57.5463 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 73616d80-1179-4c91-bbca-08d62a7d97c1 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR07MB5007 Subject: [dpdk-dev] [PATCH 2/2] doc: clarify L4 Tx checksum prerequisite X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2018 04:47:04 -0000 Based on PKT_TX_[TCP|UDP|SCTP]_CKSUM definition the user needs to fill l2_len and l3_len mbuf fields before issuing HW Tx checksum request. Fixes: dad1ec72a377 ("doc: document NIC features") Cc: stable@dpdk.org Signed-off-by: Jerin Jacob --- See PKT_TX_TCP_CKSUM defintion at https://git.dpdk.org/dpdk/tree/lib/librte_mbuf/rte_mbuf.h#n269 --- doc/guides/nics/features.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/guides/nics/features.rst b/doc/guides/nics/features.rst index e726a6bb8..c39fb0074 100644 --- a/doc/guides/nics/features.rst +++ b/doc/guides/nics/features.rst @@ -582,6 +582,7 @@ Supports L4 checksum offload. * **[uses] mbuf**: ``mbuf.ol_flags:PKT_TX_IPV4`` | ``PKT_TX_IPV6``, ``mbuf.ol_flags:PKT_TX_L4_NO_CKSUM`` | ``PKT_TX_TCP_CKSUM`` | ``PKT_TX_SCTP_CKSUM`` | ``PKT_TX_UDP_CKSUM``. +* **[uses] mbuf**: ``mbuf.l2_len``, ``mbuf.l3_len``. * **[provides] mbuf**: ``mbuf.ol_flags:PKT_RX_L4_CKSUM_UNKNOWN`` | ``PKT_RX_L4_CKSUM_BAD`` | ``PKT_RX_L4_CKSUM_GOOD`` | ``PKT_RX_L4_CKSUM_NONE``. -- 2.19.0