From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM04-CO1-obe.outbound.protection.outlook.com (mail-eopbgr690062.outbound.protection.outlook.com [40.107.69.62]) by dpdk.org (Postfix) with ESMTP id 4B6D2199C8; Thu, 13 Sep 2018 15:48:14 +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=fxuDV/6ReCHqgXfF8QMTL3AI5IeWAD/nx170dk+ldpA=; b=i4/KffTWRPYtRv7Ec/fwCYr/P2ofZYfRkWJvaeC21U+4B9TtJXpbIU2bjxlcOE8+hiz29/+SI+Cn0jxNklBnLz7T5GJ5i5TE8gqj9khEZJnOgr/IYZNJJsLi8b6GgUW2syH2ASc+i10psHWaI6F6nwWKIYtiZqJQeW4+WIypClE= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin.8.8.4.4 (122.178.212.30) by BL0PR07MB4994.namprd07.prod.outlook.com (2603:10b6:208:49::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1122.15; Thu, 13 Sep 2018 13:48:10 +0000 From: Jerin Jacob To: Olivier Matz Cc: dev@dpdk.org, Jerin Jacob , stable@dpdk.org, jiayu.hu@intel.com Date: Thu, 13 Sep 2018 19:17:05 +0530 Message-Id: <20180913134707.23698-2-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180913134707.23698-1-jerin.jacob@caviumnetworks.com> References: <20180913134707.23698-1-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [122.178.212.30] X-ClientProxiedBy: BMXPR01CA0021.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:d::31) To BL0PR07MB4994.namprd07.prod.outlook.com (2603:10b6:208:49::23) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: fd80b12e-0a0d-4aa0-bc00-08d6197f8c62 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:BL0PR07MB4994; X-Microsoft-Exchange-Diagnostics: 1; BL0PR07MB4994; 3:g6yzHREkRwtpoY2SU4ddzJcJwLI1gjzrYeeyjAghQay5svyQTMp7yQtoLrKuW+cPXGDrQufgSsE9cBRRXJyjJ+GXpV7wwrCXd/M+p/5eI7W5EumKKl2j0Evyy+2BYis2iYMJHbO11fQAVJFAqBlksA1Dfeyq8GHvhdbfl/eqeAxvRhaprksjt0Z066kVMQpMOOnKDDSwVXh+Ol4p48CGuI7Rlimb+RaRdIdEkH3QLLlX8LCKpUetxYuP0njZoHQL; 25:q3bw2QkGL0K0/H5Me70NTn7sEXHnbIphFQl/xE13az+UxVW7bBWxybLWNV7NCNNMk2T7a9mMTkIC4wdRagdgmhOuGWQb16OIy+uQyfGcSZtvRtu8hNnQ7uI3P3lhz8Cp0b1Y9xursY+aAIk7G1IEnp/sDGHGh9m0sAWKW22J6CC4fYg+76CFK/KjShNKzQ52aVyQ6yELiT9JxCAoSr4igEEUxYbhp6ZIhnzso/iH8CtAE65rrphRHePDTqeLa1G4WA7bQ3T7lJg+s8b0wr5eOVk0yPPoEd5SkBZrMs8PUFaFjEisJE3D0kgj/XRVWLVInpX00rTnEGt5/cQUzTExRQ==; 31:HqKjeRt8d2xHmX+rwHFYR5lr+JLsT7IJnIrhDAD+TXK2Ea6Edx0VG7bexy13AdCXDzZ8Dn+Go429yf0ipp4odW971G9C/zp2I/8U2Ly3kqGjqG3R1ElC5SNzRqSjNJOQXVy944286tUim0hPW4HZ4LGWR1W77t19ZGrYubvQfNi3EwQSW1CrZQB0KFHbKLf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X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(3231311)(944501410)(52105095)(3002001)(10201501046)(149027)(150027)(6041310)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(201708071742011)(7699050); SRVR:BL0PR07MB4994; BCL:0; PCL:0; RULEID:; SRVR:BL0PR07MB4994; X-Forefront-PRVS: 07943272E1 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(136003)(39860400002)(396003)(366004)(346002)(376002)(199004)(189003)(106356001)(81166006)(53936002)(8676002)(52116002)(316002)(8936002)(68736007)(4326008)(6916009)(2870700001)(2906002)(5660300001)(51416003)(50466002)(6666003)(97736004)(6486002)(81156014)(50226002)(105586002)(76176011)(11346002)(446003)(186003)(1857600001)(42882007)(25786009)(16526019)(48376002)(476003)(486006)(5024004)(14444005)(44832011)(26005)(478600001)(36756003)(1076002)(305945005)(2616005)(3846002)(47776003)(386003)(6116002)(66066001)(72206003)(956004)(7736002); DIR:OUT; SFP:1101; SCL:1; SRVR:BL0PR07MB4994; H:jerin.8.8.4.4; 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; BL0PR07MB4994; 23:qefZekpvOgsMeN0hj7kscxFV0kk7MT7kT5EnlFo77?= =?us-ascii?Q?FTQ6yTdym/oMGBQ587LfXDwSfSjlp0kkln5ICOaiSwMKU1QOsYS+Fix83EiT?= =?us-ascii?Q?u7Eb04pGR8tu6j2RtXuT5rjjRU9yQ/p6y1QGXymS4PQMmdTw31nPW3lRSt3v?= =?us-ascii?Q?s6S7xOs2LJkDP55C/q/8xhrJmzhM3y1OpmzDu7nUoXF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ytGnuin0uddMVGuAivO+G4478YozBaZRKVUyw4kR8S2Z?= =?us-ascii?Q?wAScOOXQP3CZdkQ7oX7Yz6jqnofykUd3XeU7uAcvqmVuV7iP6c2ClSkJHXVP?= =?us-ascii?Q?VkW4XSnpHCMqyRGhza/w0xn9BUxji2YgPFwg/exXVJQss5zF8fmEmrOOx3JL?= =?us-ascii?Q?swfz75/KFlmwZo0Tb3wEHRbK0+CSkpsNut+oPT2?= X-Microsoft-Antispam-Message-Info: d7lkNlm73nxprbF8nttqyg8o0nRf/R+q9DqOGE1y/TfyAosJRsUVYtiKP1/FeQfsf9aT3QHuopE5lb1e9luxwLwH+UHAW9jwONr93dp/HBmrMoKvjbN2nGhP8STmp1FcQ4jJkK+a1DGj6LVXXtem6rPGohepeSrYIKL/AJX8NvzPDVUmR0kQFifjCGGVrDFLN/0utDwG506ToECk2EHsdpZeKZR8R9/YcAqViopIDCj+Fq6Q8WWyf2/Jv7KWN6FhqkCYn1Qhuwk7Y+bvntebHlM3XzP/Ca9gBWZlpR7LazYQYQpiKcpVoRA52roTUxs+DS76ci3tqiI/+5lVRa5GqRZkp+trM4DENRWyoydFMGo= X-Microsoft-Exchange-Diagnostics: 1; BL0PR07MB4994; 6:D78IUircCjVO5BwIcHfWzv6y6+Y5gHW9kJ4tKNYgKc+9GzsOggFzz++X9GzKZ/+johB3gMrId1oyccfZtvIhXsbor/0MXVTjKSjK2lrZ+8bPAElKuHzxcNuqTjBhJMh7rUinhk1V2mpM1xejP66dOaVzTh7FOa8W3zf4BB1bIqCKugmilBDjRciM8BZGbac486HsNhlTBmjKsyZru1Fiahn0omp7OImrm62V1ZchE9DMMzfO36HmKq5XayNModcLeXpaDnW8qkrpFUHo3d/jzavM48mRtA3B9VBMWPM21xJ0Q9Evd9buSh6NVpBw1MnfZLe7UKITqZ9ekEU4hP82cHnLHMJX+3Bv667LoHzVvFgiPBc7WjGHlnfa4LCuAxMuW1sZijmtKxCR7e8IKiGoHYbl/sh4j1GdZrMPzB81b9LlSkgVTsU6XREbyFLLnqgbD2ZhioTjTKsF1hFwVs3eGw==; 5:XMdFz8XFzMHnMuNVNlRS1Io1Eyo0BcOL+WK0kO1V/s6Nmui/zlQKM6QNoYRuhY6FqJhElDcvOTAD9teM+dfEA8VoKqw61BIfVdRvOEQNyg35yRH16JIjZ2aJgyh9yA0R1tDBFW7StweGJ+F4tmvA3o0wglPIioFZeOUzoXS6MD8=; 7:3HZMPy7Xd5VSbQaKg0JWPCKMN0GqPsPF/J9xtqZxffb1Jtn8tQ1jKrqzHM/Xz2/RHohtW28WwxPnXKrjDx4sAH2Gu6UxPMWgQd2s4uF1v9I1sbkY0Ur26Ef4faH8lrqh47XERtcpOncPa8UQHzllBfnQ6IpYb4rWaOXIu3mq152toZnhzZXaTFTV/wGNCwN4C4H8JhOD5XTV5zZ6vvRr2yUc4rmkghHjaiHOOnGe/t0FMh1+Tk2aFNfJuu0xEtdy SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Sep 2018 13:48:10.6169 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fd80b12e-0a0d-4aa0-bc00-08d6197f8c62 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR07MB4994 Subject: [dpdk-stable] [dpdk-dev] [PATCH 2/4] mbuf: fix Tx offload mask 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: Thu, 13 Sep 2018 13:48:15 -0000 Fixes missing PKT_TX_UDP_SEG value in PKT_TX_OFFLOAD_MASK. Fixes: 6d18505efaa6 ("vhost: support UDP Fragmentation Offload") Cc: stable@dpdk.org Cc: jiayu.hu@intel.com Signed-off-by: Jerin Jacob --- lib/librte_mbuf/rte_mbuf.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h index 9ce5d76d7..6a5dbbc8f 100644 --- a/lib/librte_mbuf/rte_mbuf.h +++ b/lib/librte_mbuf/rte_mbuf.h @@ -343,7 +343,8 @@ extern "C" { PKT_TX_VLAN_PKT | \ PKT_TX_TUNNEL_MASK | \ PKT_TX_MACSEC | \ - PKT_TX_SEC_OFFLOAD) + PKT_TX_SEC_OFFLOAD | \ + PKT_TX_UDP_SEG) /** * Mbuf having an external buffer attached. shinfo in mbuf must be filled. -- 2.19.0