diff options
author | Erez Shitrit <erezsh@mellanox.com> | 2017-04-27 17:59:00 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2017-05-23 16:23:31 +0300 |
commit | b57fe691961cc8f00541f9a435c70df45d41e514 (patch) | |
tree | 4bc5f424d7d3c86ad35f67ab28b42ba0eacd2dca /include | |
parent | e3ca4e0583a02a04503d9c827fb5c5d50abc4ff5 (diff) | |
download | linux-b57fe691961cc8f00541f9a435c70df45d41e514.tar.gz linux-b57fe691961cc8f00541f9a435c70df45d41e514.tar.bz2 linux-b57fe691961cc8f00541f9a435c70df45d41e514.zip |
net/mlx5e: IPoIB, handle RX packet correctly
IPoIB packet contains the pseudo header area, we need to pull it prior
to reset_mac_header in order to let the GRO work well.
In more details:
GRO checks the mac address of the new coming packet, it does that by
comparing the hard_header_len size of the current packet to the previous
one in that session, the comparison is over hard_header_len size.
Now, the driver prepares that area in the skb by allocating area from the
reserved part and resetting the correct mac header to it.
Fixes: 9d6bd752c63c ("net/mlx5e: IPoIB, RX handler")
Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions