]> 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)
commita9f096fc3f7ca8e000af26605e6d7e122e0f7521
tree13cfac04a5444f902a2b1d1482d5d198a2125353
parent36b8768229cb38c47e75e0e9622306d2d271152f
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: 85155296d8fb ("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