aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorIdo Schimmel <[email protected]>2023-03-21 12:42:00 +0100
committerPaolo Abeni <[email protected]>2023-03-22 15:50:32 +0100
commitbb765a743377d46d8da8e7f7e5128022504741b9 (patch)
tree8776311dcb8549f0746623f26c834ca29ea1c1d9 /tools/testing/selftests/bpf/progs/test_autoload.c
parent4107b8746d93ace135b8c4da4f19bbae81db785f (diff)
mlxsw: spectrum_fid: Fix incorrect local port type
Local port is a 10-bit number, but it was mistakenly stored in a u8, resulting in firmware errors when using a netdev corresponding to a local port higher than 255. Fix by storing the local port in u16, as is done in the rest of the code. Fixes: bf73904f5fba ("mlxsw: Add support for 802.1Q FID family") Signed-off-by: Ido Schimmel <[email protected]> Reviewed-by: Danielle Ratson <[email protected]> Signed-off-by: Petr Machata <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://lore.kernel.org/r/eace1f9d96545ab8a2775db857cb7e291a9b166b.1679398549.git.petrm@nvidia.com Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions