Saeed Mahameed ba6c4c0944 net/mlx5e: Fix inline header size calculation
mlx5e_get_inline_hdr_size didn't take into account the vlan insertion
into the inline WQE segment.
This could lead to max inline violation in cases where
skb_headlen(skb) + VLAN_HLEN >= sq->max_inline.

Fixes: 3ea4891db8d0 ("net/mlx5e: Fix LSO vlan insertion")
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Achiad Shochat <achiad@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-11-15 18:43:40 -05:00
..
2015-11-05 13:15:12 -08:00
2015-08-13 21:12:17 -07:00
2015-11-15 17:09:23 -05:00
2015-11-05 13:15:12 -08:00
2015-11-05 13:15:12 -08:00
2015-11-09 15:11:24 -08:00
2015-11-04 17:32:42 -08:00
2015-10-21 19:36:10 -07:00
2015-07-08 16:00:09 -07:00
2015-10-13 04:55:07 -07:00
2015-10-13 04:55:07 -07:00
2015-11-04 17:32:42 -08:00