summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorMaor Gottlieb <maorg@nvidia.com>2025-04-23 11:36:08 +0300
committerJakub Kicinski <kuba@kernel.org>2025-04-25 04:19:56 +0300
commit5d1a04f347e6cbf5ffe74da409a5d71fbe8c5f19 (patch)
tree0d677346bc9eff3b613b6e66fe54ca09f8abd72f /scripts/gdb/linux
parenteacc77a73275895eca0e3655dc6c671853500e2e (diff)
downloadlinux-5d1a04f347e6cbf5ffe74da409a5d71fbe8c5f19.tar.xz
net/mlx5: E-Switch, Initialize MAC Address for Default GID
Initialize the source MAC address when creating the default GID entry. Since this entry is used only for loopback traffic, it only needs to be a unicast address. A zeroed-out MAC address is sufficient for this purpose. Without this fix, random bits would be assigned as the source address. If these bits formed a multicast address, the firmware would return an error, preventing the user from switching to switchdev mode: Error: mlx5_core: Failed setting eswitch to offloads. kernel answers: Invalid argument Fixes: 80f09dfc237f ("net/mlx5: Eswitch, enable RoCE loopback traffic") Signed-off-by: Maor Gottlieb <maorg@nvidia.com> Signed-off-by: Mark Bloch <mbloch@nvidia.com> Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com> Link: https://patch.msgid.link/20250423083611.324567-3-mbloch@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions