Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/octeontx2: fix jumbo frame flag condition for MTU
[ upstream commit 3a921cd ] The jumbo frame uses the 'RTE_ETHER_MAX_LEN' as boundary condition, but the Ether overhead is larger than 18 when it supports dual VLAN tags. That will cause the jumbo flag rx offload is wrong when MTU size is 'RTE_ETHER_MTU'. This fix will change the boundary condition with 'RTE_ETHER_MTU' and overhead, that perhaps impacts the cases of the jumbo frame related. Fixes: 0e2efd0 ("net/octeontx2: add MTU set operation") Signed-off-by: Steve Yang <stevex.yang@intel.com> Acked-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
- Loading branch information