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)
commit99beaa22f11152e128861f1c681744ca4749e9f8
tree13cfac04a5444f902a2b1d1482d5d198a2125353
parent9c26f5f89d01ca21560c6b8a8e4054c271cc3a9c
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: 472a1e44b349 ("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