From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0062.outbound.protection.outlook.com [104.47.1.62]) by dpdk.org (Postfix) with ESMTP id 23EAF4F9A for ; Fri, 30 Mar 2018 19:22:36 +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=2vgZKMeZJHPw9Qv4Z0d9bpCR62UMTpQ4ojkQdlFPs50=; b=F11TROh6+HfwUmnn94C6S2Pdbg8Yvv3ffcYngPzs0+kOOfTr8PeiYaavISIffhTJ2GKYocRAxm82hpc4RFiCzadhDaFjrRYsifMyMGBmY7/0r+GqqxPs4ZujdhSqGI4+kdq3g6lE5zfdjA6Wd4Qt16Ca0GJcBGIr8Zds/biHEZ4= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=yskoh@mellanox.com; Received: from yongseok-MBP.local (73.222.116.174) by AM5PR0501MB2035.eurprd05.prod.outlook.com (2603:10a6:203:1a::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.631.10; Fri, 30 Mar 2018 17:22:32 +0000 Date: Fri, 30 Mar 2018 10:22:18 -0700 From: Yongseok Koh To: Bin Huang Cc: nelio.laranjeiro@6wind.com, dev@dpdk.org, adrien.mazarguil@6wind.com, bin.huang@hxt-semitech.com, jie2.liu@hxt-semitech.com, bing.zhao@hxt-semitech.com, zhiqiang.zhang@hxt-semitech.com Message-ID: <20180330172216.GA26027@yongseok-MBP.local> References: <1522386818-6838-1-git-send-email-huangbin.mails@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1522386818-6838-1-git-send-email-huangbin.mails@gmail.com> User-Agent: Mutt/1.9.3 (2018-01-21) X-Originating-IP: [73.222.116.174] X-ClientProxiedBy: CO1PR15CA0106.namprd15.prod.outlook.com (2603:10b6:101:21::26) To AM5PR0501MB2035.eurprd05.prod.outlook.com (2603:10a6:203:1a::21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: abd020de-c37c-47fb-bdcc-08d59662d3b4 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:AM5PR0501MB2035; X-Microsoft-Exchange-Diagnostics: 1; AM5PR0501MB2035; 3:JFrlA2kppbcpdlsACBwqamiRMTgf32b8T4eGCQyjdWcA8TReSQ4WugH+gNR2qelHCY9fEXV77M71xqM5gw/elDY6kfuNGQb4si6/X39ia5gCcHGHuJum7Awg2bqiOSmKJJlRQbRfl5gJ8JF7nfJqGmTsUkiAaCLIf7GOn21x4Zejoqq334LXrF9G+OIlri8pMD7C3q7V0atNwf9LcgKFqorMhqpZvtUdyh1aqokGetkQHRSFomE5ZAZGqoXrh1F8; 25:jMGy3eUCI8XcxqXkw606ioSyGuPGoYQzIWObV16e0Bb32tHgk68I70MJ/PKnCWf28uaWdhUXKrl87TCS3I4nixP6apskV4zkvx/JAKM+3vgdcTxwGG6aLXt25woV6Nfj/cOpsGZZumxEJ0fmwIXlcjm4F612nmy53XiA5EFOgBl31MS4c+a5P0PvoA6/+MJd5nNhFu3G/61GkvZkEXxR/qc/eITqAw5fRtHaV5S6cge5suMr0xqscxyo0bv+TBzK145hXVt0bKBWZfsTrlgdfgZ9h9MfU7cIYQojDF/ZC0LPHuHvDPArE5Qzc2475GpYDRtm5dvnRQBzXekXGPVjKg==; 31:NWfljHG2WCggkhpwihJ6nREUyYGp14Q3TkreEkM6TT39JQFwetDoYTLoafAGtXScVpEjn+ELoLDo2orSTRkMuL5VLllMixl4MqaUbuuUKrpQ2yNp9Q6hMldVd+yjhNUZ0+cMoTPadCyQ/LD4e8dZMXvM4fDF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oXW+BFd9o= 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)(8121501046)(5005006)(3002001)(10201501046)(93006095)(93001095)(3231221)(944501327)(52105095)(6055026)(6041310)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:AM5PR0501MB2035; BCL:0; PCL:0; RULEID:; SRVR:AM5PR0501MB2035; X-Forefront-PRVS: 06274D1C43 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39380400002)(366004)(39860400002)(376002)(396003)(346002)(199004)(189003)(68736007)(386003)(105586002)(76176011)(6506007)(33896004)(478600001)(2906002)(97736004)(106356001)(7696005)(52116002)(50466002)(1076002)(6116002)(81156014)(81166006)(23726003)(3846002)(8676002)(966005)(98436002)(33656002)(8936002)(476003)(486005)(229853002)(6916009)(25786009)(6246003)(6666003)(53936002)(6306002)(39060400002)(9686003)(956004)(486005)(55016002)(47776003)(4326008)(86362001)(45080400002)(16586007)(66066001)(305945005)(58126008)(5660300001)(186003)(316002)(16526019)(7736002)(11346002)(26005)(446003)(18370500001)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM5PR0501MB2035; H:yongseok-MBP.local; 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-Exchange-Diagnostics: =?us-ascii?Q?1; AM5PR0501MB2035; 23:29GwGhdO5bWpKFaiIIvm+fDIbVv7pFYHcATsSP4?= =?us-ascii?Q?lBBqOAqScyVQnQ4IaDJxEqQyq6Llxi50bHayrjCn1WRYrI23+6fCusSK0Yew?= =?us-ascii?Q?e5EKCP5GALwGUATmigISR4BdkU5QJ5ZSrqyfTgZYIaFSID2dL55UPgEwCDQS?= =?us-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K7moNmolSMbjSBP/CRyWIxqs8/LZk1B?= =?us-ascii?Q?qLhhuFENZWSO14X476W/gyKuLODUIvg7Cf0G7R2xiqddlmBWFgNxV5r9NSEp?= =?us-ascii?Q?r7POpLHesDAMmaskmTDqOak4qNsTTWdWo6EmD+UAU1Gqh9TXwxKb4jhBUzB3?= =?us-ascii?Q?Q3hYm0HP8p22kzjgSuELMzwiXufrvnfwPXYfzPfoWTPdtw8+ZqDyjgNLl976?= =?us-ascii?Q?G6u8ZjbIw2+sS3tj/AO6pej2P3RGqPZCbN2mCEKKgbLA1txyiNA3hC4g8UgZ?= =?us-ascii?Q?HVmp0E0BzFXiU0bouNZfr6P39azxCDXPh8y9uSTF1/WckzjiI6kgjK8VNaZN?= =?us-ascii?Q?WUbTFmY3CSP3pdzjZpgasTFcfvgr0udN2hZzytT84+UT925ifpM3bIMT5trF?= =?us-ascii?Q?ETqU3DzFVtA=3D=3D?= X-Microsoft-Antispam-Message-Info: iqJEi466LekugYr2HKCdovWLs7qVkgxV/mk+mlZHLV3fJcbvll1kw1Jg7h8pSXB8sXdAY8GP9ZyOv9zEIiFJtnT2QWXXrKRduvubk7fQBawLDt9pZb6sVso8K0fCKBNv5t44aps5NW2douOxQFa3bcbZ/pst96Bq2jrz6cpJTa4+OTlmBwfDYBKCjTd0FLLs X-Microsoft-Exchange-Diagnostics: 1; AM5PR0501MB2035; 6:hyMjkOw5InwPnKq70ZLKAEFWHTh8WG39Aak0RKgoyGFBKUlqIcInBs976S4sZyahjmyARQ4IN7JzTgabu04Yd2m1dPaFhGfisofHEaAgjQKNJUvn+Rf88DtmplBW0M/eb5EXQC2EDR4ADr4QgcK89hnTYHAOhYR128GHWVl8zjihsNC+9IYyLiw0KOQUbAwN3cZj9NGsCmy4vnYkJ2ZutLOzN6MbiIy6G2YL+Bxu0cdyn5WLpOpp2Z71DT8GTFYvw5hHFAxkcBoicCiAxJpYPwMmrpAmBlI9CV1FIXx6Uby2dZQ2nkY5VCc5XqP3HbdBVWQco7pX/iJwLJ06TqBFY07FIJfgW2S1IrqMuispVMjl7rCDg1KpDvUYk0VT787ZIIAT4sNIqUGgZWoSFeXKDLPcYliBwsHEb7rKZW1ATEwyMxGEKAQqKI3RYB/DvzODAcchSyb2pxFMCKEPT9SksQ==; 5:jOIeY9+ojXC9FZ06Nhbh6nTziG1Zw76kmLtokXDTcAmLxGQ9gzFpTAwpschCd2NVlyF6GQr46hGXTYR5luy+AwnlgD68zy0qDOmtdUw8HkjzlVnVYjpYSDvN4h/lxXMQj5VFc9D2OC0stMN3PfYoOvD3WET3Y1Kvaiqd5xB3Gv4=; 24:fxUxpGX7pQnesvjQ3ThIqvhNvickHdqDoQnA4sjqVOQsVjlmrDyH29b0znMoGXRwid/oPN2C5eCaKCBX3PSxXCR7AkS/qXwmemI2lCf3yBE= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM5PR0501MB2035; 7:az2zt8Wld+q3ZWtnAxc9njxfKsmkvbks+UH3T1JOT8GLsv6qTCSu7YZ46rOX+EqL71bMJzVyAUpqKzsMUXDtNPS+3bRJF9der/3NEb6c5FGokZfJtoRLViZjrRQ7aVkIdftiPJ6OkqONQML/wlOG2sU2fuV2bkUHCKuSWV48jwOe48fVWFceVqvh2avLdqVYyurfGjaCkKkzT0fp+nNFZmOsLPiTc93YrSoQhxOgPRw94ETp0H/xg8xbdfqhkPhv X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Mar 2018 17:22:32.7117 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: abd020de-c37c-47fb-bdcc-08d59662d3b4 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0501MB2035 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: Fri, 30 Mar 2018 17:22:36 -0000 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=https%3A%2F%2Fwww.mail-archive.com%2Fusers%40dpdk.org%2Fmsg02980.html&data=02%7C01%7Cyskoh%40mellanox.com%7Ca4f58bc587d041482c9308d595fd16f7%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636579836609612796&sdata=wyfDNPG1EZQSzAyaWxfIfMnqjWZ9vdeLz1EZFzHx6Cw%3D&reserved=0 > > Signed-off-by: Bin Huang Acked-by: Yongseok Koh Thank you!