From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40053.outbound.protection.outlook.com [40.107.4.53]) by dpdk.org (Postfix) with ESMTP id 326824F94 for ; Sun, 1 Apr 2018 09:44:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=/vniuNFvQqxqRqUlqCuHoLUOzTdZNUx69T1De59P15U=; b=C8Lhr9+nIckw2QJwtqmX325Aj5/fbIef8+Tvuo22a7q8hAzSPKnBsUek5O4Weh50NKMLjYOebQqhEoiGkC6B/J3zutVifNtq0RhTdCxaJFUGT0rGOOsGOk7F01oodp6LVVeZNP2UzXDF0uGGZu6wOhvL30Y/dZu2TUowEoISvqw= Received: from DB7PR05MB4426.eurprd05.prod.outlook.com (52.134.109.15) by DB7PR05MB4362.eurprd05.prod.outlook.com (52.134.108.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.631.10; Sun, 1 Apr 2018 07:44:18 +0000 Received: from DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::808d:386e:26f3:859f]) by DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::808d:386e:26f3:859f%13]) with mapi id 15.20.0631.013; Sun, 1 Apr 2018 07:44:18 +0000 From: Shahaf Shuler To: Yongseok Koh , Bin Huang CC: =?iso-8859-1?Q?N=E9lio_Laranjeiro?= , "dev@dpdk.org" , Adrien Mazarguil , "bin.huang@hxt-semitech.com" , "jie2.liu@hxt-semitech.com" , "bing.zhao@hxt-semitech.com" , "zhiqiang.zhang@hxt-semitech.com" Thread-Topic: [dpdk-dev] [PATCH v2] net/mlx5: add ptype table idx for TCP ACK packets Thread-Index: AQHTx+X5nhxfqhodR0GJcoW1NYn7v6PpB4IAgAKClfA= Date: Sun, 1 Apr 2018 07:44:18 +0000 Message-ID: References: <1522386818-6838-1-git-send-email-huangbin.mails@gmail.com> <20180330172216.GA26027@yongseok-MBP.local> In-Reply-To: <20180330172216.GA26027@yongseok-MBP.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=shahafs@mellanox.com; x-originating-ip: [31.154.10.107] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB7PR05MB4362; 7:IPQATz8+vZCfa6N2T8kDTpSvElPrQnpI1c7Y5ZymZNGWecrDTuUMXUaSigMTUmy5b5n4//xL/pVb1TjNkp+8bOpa/fLfINy8F5YRqlNeufA/8Q5nOkwETwh7ZXtT0BtDAW5ldescocwR0dYNL3VYII1dli8xq7ItG7hhYWrlU9ykvSCGGzMXhfajEA3caHB+34wNMgfR7JdvwF/4q164xSZxRc6fgB4k3QQMXBn/7dV4vNDYb16g4sRuhnoJ+dI3 x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 1d855519-16df-4321-505f-08d597a4604d x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(2017052603328)(7153060)(7193020); SRVR:DB7PR05MB4362; x-ms-traffictypediagnostic: DB7PR05MB4362: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(189930954265078)(45079756050767); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3002001)(3231221)(944501327)(52105095)(6055026)(6041310)(20161123564045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(6072148)(201708071742011); SRVR:DB7PR05MB4362; BCL:0; PCL:0; RULEID:; SRVR:DB7PR05MB4362; x-forefront-prvs: 06290ECA9D x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39380400002)(39860400002)(396003)(376002)(366004)(346002)(199004)(189003)(4326008)(102836004)(7696005)(5660300001)(305945005)(486005)(99286004)(486005)(110136005)(966005)(476003)(8936002)(76176011)(81166006)(81156014)(6246003)(39060400002)(316002)(14454004)(86362001)(446003)(7736002)(54906003)(68736007)(74316002)(106356001)(26005)(6116002)(6506007)(11346002)(3846002)(5250100002)(97736004)(105586002)(6306002)(9686003)(53936002)(33656002)(2906002)(45080400002)(25786009)(66066001)(55016002)(478600001)(6436002)(2900100001)(229853002)(3660700001)(3280700002)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR05MB4362; H:DB7PR05MB4426.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 0dhe51LbtskDFjUSTDXqV6AkJfWEHb/q+F8irPcRL1cit9qcnXXdmSXFNiTtJoh5bYSUjFZUbnhoABX8FAtg79Lp0mkUwVFtmEsnZEVIMXCZaaOywQ7OliakFw5KUZeCqVnVkrGh3SJNgBZ9AjeD2TPwgNTCx3bZPAoW49pZzOPZw4eHH4TMW3emOldvrl8tFwbESwLJ9wy6UyGB10lTyN7KcPFkUy3CCZgJvMQQSzX7td1GAEyxP8pjvj6OVQqAv9SrDy/2TETYMy0kFtILamvuVhZ+rN0nSRvrAUGuFnnhUPawmE5wx52xyrwAN+VMQFkvUZdoAm4bjlbADhA2w+fQ8R46qNeDnx3lhmF4t+LIofZvX7rm0EotXi3Kx3bScn13nn44XxW7G4lMS4hOHFnk2QCAsVZP+NpusQfTH7s= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1d855519-16df-4321-505f-08d597a4604d X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Apr 2018 07:44:18.8434 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR05MB4362 Subject: Re: [dpdk-dev] [PATCH v2] net/mlx5: add ptype table idx for TCP ACK packets 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: Sun, 01 Apr 2018 07:44:21 -0000 Friday, March 30, 2018 8:22 PM, Yongseok Koh: > Subject: Re: [dpdk-dev] [PATCH v2] net/mlx5: add ptype table idx for TCP > ACK packets >=20 > On Fri, Mar 30, 2018 at 01:13:38PM +0800, Bin Huang wrote: > > From: Bin Huang > > > > According to CQE format: > > - l4_hdr_type: > > 0 - None > > 1 - TCP header was present in the packet > > 2 - UDP header was present in the packet > > 3 - TCP header was present in the packet with Empty > > TCP ACK indication. (TCP packet flag is set, > > and packet carries no data) > > 4 - TCP header was present in the packet with TCP ACK indication. > > (TCP packet flag is set, and packet carries data). > > > > A packet should be identified as TCP packet if l4_hdr_type is 1, 3 or 4= . > > Add corresponding idx of TCP ACK to ptype table. > > > > previous discussion: > > > https://emea01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fw > ww.mail- > archive.com%2Fusers%40dpdk.org%2Fmsg02980.html&data=3D02%7C01%7Cys > koh%40mellanox.com%7Ca4f58bc587d041482c9308d595fd16f7%7Ca652971c7 > d2e4d9ba6a4d149256f461b%7C0%7C0%7C636579836609612796&sdata=3DwyfD > NPG1EZQSzAyaWxfIfMnqjWZ9vdeLz1EZFzHx6Cw%3D&reserved=3D0 > > > > Signed-off-by: Bin Huang > Acked-by: Yongseok Koh Applied to next-net-mlx, thanks.=20 >=20 > Thank you!