History log of /src/tests/net/if_lagg/t_lagg.sh |
Revision | | Date | Author | Comments |
1.11 |
| 05-Apr-2024 |
yamaguchi | lagg(4) test: Fix typo and old comment
|
1.10 |
| 18-Oct-2023 |
yamaguchi | Update the test case for MTU of lag to adapt new behavior
|
1.9 |
| 16-Oct-2023 |
yamaguchi | Make the lagg interface up before change its MTU
This change is related to PR kern/57650
|
1.8 |
| 31-Mar-2022 |
yamaguchi | branches: 1.8.2; Add tests for MTU of lagg(4)
|
1.7 |
| 31-Mar-2022 |
yamaguchi | Added waiting for distributing state after attaching vlan
A lagg interface is reset on attaching vlan to enable ETHERCAP_VLAN_MTU if the lagg I/F has it. Therefore, it is necessary to wait for distributing.
|
1.6 |
| 08-Nov-2021 |
yamaguchi | Added tests for lagg(4) about MAC addresses
|
1.5 |
| 02-Nov-2021 |
yamaguchi | Added tests of combination of lagg(4), vlan(4), and l2tp(4)
|
1.4 |
| 02-Nov-2021 |
yamaguchi | Use IPv6 addresses, not IPv4, in combination test of IPv6, lagg and vlan
|
1.3 |
| 19-Oct-2021 |
yamaguchi | added test cases for lagg(4) on l2tp(4)
|
1.2 |
| 25-May-2021 |
yamaguchi | branches: 1.2.2; Added missing cleanup option
Fixes PR/56206
|
1.1 |
| 17-May-2021 |
yamaguchi | Add a new link-aggregation pseudo interface named lagg(4)
- FreeBSD's lagg(4) based implementation - MP-safe and MP-scalable
|
1.2.2.2 |
| 31-May-2021 |
cjep | sync with head
|
1.2.2.1 |
| 25-May-2021 |
cjep | file t_lagg.sh was added on branch cjep_staticlib_x on 2021-05-31 22:15:23 +0000
|
1.8.2.2 |
| 03-Oct-2024 |
martin | Pull up following revision(s) (requested by rin in ticket #916):
sys/net/lagg/if_laggproto.c: revision 1.15 sys/net/lagg/if_lagg_lacp.c: revision 1.36 sys/net/lagg/if_laggproto.c: revision 1.16 sys/net/lagg/if_lagg_lacp.c: revision 1.37 sys/net/lagg/if_lagg_lacp.c: revision 1.38 sys/net/lagg/if_lagg_lacp.c: revision 1.39 sys/net/lagg/if_lagg.c: revision 1.54 sys/net/lagg/if_lagg.c: revision 1.55 sys/net/lagg/if_lagg.c: revision 1.59 sys/net/lagg/if_lagg.c: revision 1.70 sys/net/lagg/if_laggproto.h: revision 1.19 sys/net/lagg/if_lagg_lacp.c: revision 1.28 sys/net/lagg/if_lagg_lacp.c: revision 1.29 sys/net/lagg/if_laggproto.c: revision 1.7 sys/net/lagg/if_lagg_lacp.h: revision 1.5 sys/net/lagg/if_laggproto.c: revision 1.8 sys/net/lagg/if_laggproto.c: revision 1.9 sys/net/lagg/if_lagg_lacp.c: revision 1.40 sys/net/lagg/if_lagg_lacp.c: revision 1.41 sys/net/lagg/if_lagg_lacp.c: revision 1.42 sys/net/lagg/if_lagg_lacp.c: revision 1.43 tests/net/if_lagg/t_lagg.sh: revision 1.11 sys/net/lagg/if_lagg.c: revision 1.60 sys/net/lagg/if_lagg.c: revision 1.62 sys/net/lagg/if_lagg.c: revision 1.63 sys/net/lagg/if_lagg.c: revision 1.64 sys/net/lagg/if_laggproto.h: revision 1.20 sys/net/lagg/if_lagg.c: revision 1.65 sys/net/lagg/if_lagg.c: revision 1.66 sys/net/lagg/if_lagg.c: revision 1.67 sys/net/lagg/if_lagg_lacp.c: revision 1.30 sys/net/lagg/if_lagg.c: revision 1.68 sys/net/lagg/if_laggproto.c: revision 1.10 sys/net/lagg/if_lagg_lacp.c: revision 1.31 sys/net/lagg/if_lagg.c: revision 1.69 sys/net/lagg/if_laggproto.c: revision 1.11 sys/net/lagg/if_lagg_lacp.c: revision 1.32 sys/net/lagg/if_laggproto.c: revision 1.12 sys/net/lagg/if_lagg_lacp.c: revision 1.33 sys/net/lagg/if_laggproto.c: revision 1.13 sys/net/lagg/if_lagg_lacp.c: revision 1.34 sys/net/lagg/if_laggproto.c: revision 1.14 sys/net/lagg/if_lagg_lacp.c: revision 1.35
Set the fastest linkspeed in each physical interface to lagg(4)
lagg(4): Added logs about LACP processing
lagg(4): Fix missing IFNET_LOCK acquirement
lagg(4): update link speed when a physical interface is removed
lagg(4): fix missing update of the number of active ports
lagg(4): Added 0 length check
lagg(4): Added LACP_READY state for logging when a port turns SELECTED or UNSELECTED
lagg(4): added log on detaching a port from SELECTED state to STANDBY acquire LAGG_PROTO_LOCK instead of pserialize read section
lagg(4): Remove unnecessary LAGG_LOCK holding while lagg_proto_detach() to avoid deadlock in workqueue_wait due to LAGG_LOCK holding lagg_proto_detach dose not need to hold LAGG_LOCK because only one context can access to a detaching protocol after sc->sc_var is updated.
But it was held without any reason. And it had caused a deadlock by holding LAGG_LOCK in caller of workqueue_wait and waiting for the lock in worker. added missing LAGG_UNLOCK()
lagg(4): move comment about IFF_PROMISC pointed out by ozaki-r@, thanks.
lagg(4): added NULL check for pfil_run_hooks pointed out by ozaki-r@, thanks.
lagg(4): change errno suggested by ozaki-r@, thanks.
lagg(4): increase output packets and bytes only if no error occurred pointed out by ozaki-r@, thanks.
lagg(4): replace NULL check with KASSERT because lp_softc is always non-NULL
lagg(4): Use CTASSERT Added KASSERT for LACP_LOCK
lagg(4): move allocate memory before ioctl Added comments to lagg(4)
lagg(4): added __predict_true
lagg(4): added missing pserialize_read_enter fix missing LACP_LOCK
lagg(4): added check of LACP running state for safety
When LACP stops, the handler of callout do nothing because all port is already detached from lacp.
Therefore, the added checks are just for safety. added missing workq_wait for lacp_tick_work()
lagg(4): set suppress at the same time with distribution state
lagg(4): remove unnecessary masking pointed out by ozaki-r@, thanks.
lagg(4): move reply limitation to recive processing
lagg(4): release lock before pserialize_perform() if possible
lagg(4): Added vlan check
lagg(4): Fix missing destroy for list and entry
lagg(4) test: Fix typo and old comment
lagg: fill name of workqueue correctly Found by KASSERT failure for DIAGNOSTIC kernel. Authored by ozaki-r@.
|
1.8.2.1 |
| 19-Oct-2023 |
martin | Pull up following revision(s) (requested by yamaguchi in ticket #429):
sys/net/lagg/if_lagg.c: revision 1.50 sys/net/lagg/if_lagg.c: revision 1.51 tests/net/if_lagg/t_lagg.sh: revision 1.10 sys/net/lagg/if_lagg.c: revision 1.49 tests/net/if_lagg/t_lagg.sh: revision 1.9 share/man/man4/lagg.4: revision 1.5
lagg(4): release LAGG_LOCK before mtu changing PR kern/57650
Make the lagg interface up before change its MTU This change is related to PR kern/57650
Fix missing IFNET_LOCK holding while destroy the lagg interface copy MTU of lagg to a interface added to lagg even if the interface is the first member of the lagg
This change breaks ATF test case for lagg MTU
Update the test case for MTU of lag to adapt new behavior
Update lagg(4) manual 1. corrected the wrong example - lagg(4) can not add multiple port and set its priority at once - This is the restriction of ifconfig(8) 2. adapted to changed behavior related to MTU - Changed not to copy MTU of the 1st physical interface to lagg(4) to prevent locking against myself
|