summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorMatthew Finlay <matt@mellanox.com>2016-06-30 17:34:47 +0300
committerDavid S. Miller <davem@davemloft.net>2016-07-01 13:12:04 +0300
commite3a19b53cbb0e6738b7a547f262179065b72e3fa (patch)
tree0a006d50da7448edb953a4003504edc72761e1b8 /lib/mpi/mpiutil.c
parent6cd392a082deca8accec5c50b5b3fc1a9de5bfa2 (diff)
downloadlinux-e3a19b53cbb0e6738b7a547f262179065b72e3fa.tar.xz
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 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions