On Fri, Mar 30, 2018 at 01:13:38PM +0800, Bin Huang wrote: > From: Bin Huang <bin.hu...@hxt-semitech.com> > > 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 <ACK> flag is set, > and packet carries no data) > 4 - TCP header was present in the packet with TCP ACK indication. > (TCP packet <ACK> 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 <bin.hu...@hxt-semitech.com> Acked-by: Yongseok Koh <ys...@mellanox.com>
Thank you!