summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
diff options
context:
space:
mode:
authorChris Mi2017-05-16 13:07:11 +0200
committerSaeed Mahameed2017-06-15 22:27:46 +0200
commit5f195c2c5cba60241004146cd12d71451d6b0fc4 (patch)
tree5dc5a67ec8c154e649a8ac3960fec176e8932363 /drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
parentnet/mlx5e: Fix timestamping capabilities reporting (diff)
downloadkernel-qcow2-linux-5f195c2c5cba60241004146cd12d71451d6b0fc4.tar.gz
kernel-qcow2-linux-5f195c2c5cba60241004146cd12d71451d6b0fc4.tar.xz
kernel-qcow2-linux-5f195c2c5cba60241004146cd12d71451d6b0fc4.zip
net/mlx5e: Fix min inline value for VF rep SQs
The offending commit only changed the code path for PF/VF, but it didn't take care of VF representors. As a result, since params->tx_min_inline_mode for VF representors is kzalloced to 0 (MLX5_INLINE_MODE_NONE), all VF reps SQs were set to that mode. This actually works on CX5 by default but broke CX4. Fix that by adding a call to query the min inline mode from the VF rep build up code. Fixes: a6f402e49901 ("net/mlx5e: Tx, no inline copy on ConnectX-5") Signed-off-by: Chris Mi <chrism@mellanox.com> Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c')
0 files changed, 0 insertions, 0 deletions