diff options
author | Matthew Finlay | 2016-06-30 16:34:47 +0200 |
---|---|---|
committer | David S. Miller | 2016-07-01 12:12:04 +0200 |
commit | e3a19b53cbb0e6738b7a547f262179065b72e3fa (patch) | |
tree | 0a006d50da7448edb953a4003504edc72761e1b8 /drivers/net/ethernet/mellanox/mlx5/core/en_main.c | |
parent | net/mlx5e: Handle RQ flush in error cases (diff) | |
download | kernel-qcow2-linux-e3a19b53cbb0e6738b7a547f262179065b72e3fa.tar.gz kernel-qcow2-linux-e3a19b53cbb0e6738b7a547f262179065b72e3fa.tar.xz kernel-qcow2-linux-e3a19b53cbb0e6738b7a547f262179065b72e3fa.zip |
net/mlx5e: Copy all L2 headers into inline segment
ConnectX4-Lx uses an inline wqe mode that currently defaults to
requiring the entire L2 header be included in the wqe.
This patch fixes mlx5e_get_inline_hdr_size() to account for
all L2 headers (VLAN, QinQ, etc) using skb_network_offset(skb).
Fixes: e586b3b0baee ("net/mlx5: Ethernet Datapath files")
Signed-off-by: Matthew Finlay <matt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_main.c')
0 files changed, 0 insertions, 0 deletions