net: hsr: Disable promiscuous mode in offload mode
authorRavi Gunasekaran <r-gunasekaran@ti.com>
Wed, 14 Jun 2023 11:47:10 +0000 (17:17 +0530)
committerJakub Kicinski <kuba@kernel.org>
Wed, 21 Jun 2023 23:47:05 +0000 (16:47 -0700)
commite748d0fd66abc4b1c136022e4e053004fce2b792
tree33db1aa25e4b38d758af8a1940a3467fc5a3730d
parentff9b63c80b087bac495b337882a5880b130401c0
net: hsr: Disable promiscuous mode in offload mode

When port-to-port forwarding for interfaces in HSR node is enabled,
disable promiscuous mode since L2 frame forward happens at the
offloaded hardware.

Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20230614114710.31400-1-r-gunasekaran@ti.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/hsr/hsr_device.c
net/hsr/hsr_main.h
net/hsr/hsr_slave.c