summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorBodong Wang <bodong@mellanox.com>2019-02-13 10:52:34 -0600
committerSaeed Mahameed <saeedm@mellanox.com>2019-02-15 17:25:56 -0800
commit86b39a66b75f2f360eef56bdb5ac37d5068a9b7d (patch)
tree8573379c5cb5f9235b733f168a55d62dab629244 /include/linux
parent259fae5a2cff72e19f82094fb73e2149f8d64396 (diff)
downloadlinux-stable-86b39a66b75f2f360eef56bdb5ac37d5068a9b7d.tar.gz
linux-stable-86b39a66b75f2f360eef56bdb5ac37d5068a9b7d.tar.bz2
linux-stable-86b39a66b75f2f360eef56bdb5ac37d5068a9b7d.zip
net/mlx5: Correctly set LAG mode for ECPF
When bonding is added, driver assumes that it's RoCE LAG if no VF is enabled. This is not enough for ECPF as the VF is enabled in host PF side. LAG should only choose RoCE mode when both slave devices meet conditions below: 1. E-Switch offloads mode is NONE. 2. No VF is enabled. Signed-off-by: Bodong Wang <bodong@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions