Thread (9 messages) 9 messages, 4 authors, 2025-08-15

Re: [PATCH net-next 2/2] selftests: net: Test bridge backup port when port is administratively down

From: Nikolay Aleksandrov <razor@blackwall.org>
Date: 2025-08-12 08:28:24
Also in: bridge

On 8/12/25 11:02, Ido Schimmel wrote:
Test that packets are redirected to the backup port when the primary
port is administratively down.

With the previous patch:

  # ./test_bridge_backup_port.sh
  [...]
  TEST: swp1 administratively down                                    [ OK ]
  TEST: No forwarding out of swp1                                     [ OK ]
  TEST: Forwarding out of vx0                                         [ OK ]
  TEST: swp1 administratively up                                      [ OK ]
  TEST: Forwarding out of swp1                                        [ OK ]
  TEST: No forwarding out of vx0                                      [ OK ]
  [...]
  Tests passed:  89
  Tests failed:   0

Without the previous patch:

  # ./test_bridge_backup_port.sh
  [...]
  TEST: swp1 administratively down                                    [ OK ]
  TEST: No forwarding out of swp1                                     [ OK ]
  TEST: Forwarding out of vx0                                         [FAIL]
  TEST: swp1 administratively up                                      [ OK ]
  TEST: Forwarding out of swp1                                        [ OK ]
  [...]
  Tests passed:  85
  Tests failed:   4

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
---
  .../selftests/net/test_bridge_backup_port.sh  | 31 ++++++++++++++++---
  1 file changed, 27 insertions(+), 4 deletions(-)
Nice!
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help