Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/cxgbe: fix jumbo frame flag condition
[ upstream commit 5dfbad5 ] The jumbo frame uses the 'RTE_ETHER_MAX_LEN' as boundary condition. If the Ether overhead is larger than 18 when it supports VLAN tag, that will cause the jumbo flag rx offload is wrong when MTU size is 'RTE_ETHER_MTU'. This fix will normalize the boundary condition with 'RTE_ETHER_MTU' and overhead even though current overhead is 18. Fixes: 4b2eff4 ("cxgbe: enable jumbo frames") Fixes: 0ec33be ("cxgbe: allow to change mtu") Signed-off-by: Steve Yang <stevex.yang@intel.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
- Loading branch information