]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Fix traffic between VF and representor
authorShahar Klein <shahark@mellanox.com>
Sun, 8 Apr 2018 06:50:53 +0000 (09:50 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 26 Apr 2018 19:43:21 +0000 (12:43 -0700)
commit53200e0108f7d79320fe4aef123d2b06d81325ab
tree13cfac04a5444f902a2b1d1482d5d198a2125353
parent8a00a47534f893870a966bf73336352af3929ac3
net/mlx5e: Fix traffic between VF and representor

After the cited commit, WQE RQ size is calculated based on sw_mtu but it
was not set for representors. This commit fixes that.

Fixes: 9b089ce3297e ("net/mlx5e: Save MTU in channels params")
Signed-off-by: Shahar Klein <shahark@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c