From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yongseok Koh Subject: Re: [PATCH v2] net/mlx5: add ptype table idx for TCP ACK packets Date: Fri, 30 Mar 2018 10:22:18 -0700 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 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 To: Bin Huang 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) Content-Disposition: inline In-Reply-To: <1522386818-6838-1-git-send-email-huangbin.mails@gmail.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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!