[dpdk-dev] [PATCH v2] net/mlx5: add ptype table idx for TCP ACK packets

Yongseok Koh yskoh at mellanox.com
Fri Mar 30 19:22:18 CEST 2018


On Fri, Mar 30, 2018 at 01:13:38PM +0800, Bin Huang wrote:
> From: Bin Huang <bin.huang at 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.huang at hxt-semitech.com>
Acked-by: Yongseok Koh <yskoh at mellanox.com>

Thank you!


More information about the dev mailing list