aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorYevgeny Kliteynik <[email protected]>2021-11-03 01:09:04 +0200
committerSaeed Mahameed <[email protected]>2021-11-16 12:20:20 -0800
commit9091b821aaa4c2d107ca8f97c32baefcb1e7e40d (patch)
tree37a7c3b2ceb2d8b8395424866ecbafd319e54e4c /net/unix/af_unix.c
parent76ded29d3fcda4928da8849ffc446ea46871c1c2 (diff)
net/mlx5: DR, Handle eswitch manager and uplink vports separately
When querying eswitch manager vport capabilities as "other = 1", we encounter a FW compatibility issue with older FW versions. To maintain backward compatibility, eswitch manager vport should be queried as "other = 0" vport both for ECPF and non-ECPF cases. This patch fixes these queries and improves the code readability by handling eswitch manager and uplink vports separately, avoiding the excessive 'if' conditions. Also, uplink caps are stored similar to esw manager and not as part of xarray. Fixes: dd4acb2a0954 ("net/mlx5: DR, Add missing query for vport 0") Signed-off-by: Yevgeny Kliteynik <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions