RE: [PATCH] net/mlx5: fix maximum packet headers size for TSO

2022-01-18 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Alexander Kozyrev > Sent: Thursday, January 13, 2022 4:32 PM > To: dev@dpdk.org > Cc: sta...@dpdk.org; Raslan Darawsheh ; Slava > Ovsiienko ; Matan Azrad > Subject: [PATCH] net/mlx5: fix maximum packet headers size for TSO > >

[PATCH] net/mlx5: fix maximum packet headers size for TSO

2022-01-13 Thread Alexander Kozyrev
The maximum packet headers size for TSO is calculated as a sum of Ethernet, VLAN, IPv6 and TCP headers (plus inner headers). The rationale behind choosing IPv6 and TCP is their headers are bigger than IPv4 and UDP respectively, giving us the maximum possible headers size. But it is not true for L3