1
0
Fork 0
alistair23-linux/drivers/net/dsa/xrs700x
George McCollister 286a8624d7 net: dsa: xrs700x: check if partner is same as port in hsr join
Don't assign dp to partner if it's the same port that xrs700x_hsr_join
was called with. The partner port is supposed to be the other port in
the HSR/PRP redundant pair not the same port. This fixes an issue
observed in testing where forwarding between redundant HSR ports on this
switch didn't work depending on the order the ports were added to the
hsr device.

Fixes: bd62e6f5e6 ("net: dsa: xrs700x: add HSR offloading support")
Signed-off-by: George McCollister <george.mccollister@gmail.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-03-09 16:03:37 -08:00
..
Kconfig
Makefile
xrs700x.c net: dsa: xrs700x: check if partner is same as port in hsr join 2021-03-09 16:03:37 -08:00
xrs700x.h
xrs700x_i2c.c net: dsa: xrs700x: fix unused warning for of_device_id 2021-02-11 13:17:04 -08:00
xrs700x_mdio.c net: dsa: xrs700x: use of_match_ptr() on xrs700x_mdio_dt_ids 2021-02-11 13:17:04 -08:00
xrs700x_reg.h net: dsa: xrs700x: add HSR offloading support 2021-02-11 13:24:45 -08:00