Home | History | Annotate | Download | only in agr
History log of /src/sys/net/agr/ieee8023ad_lacp.c
RevisionDateAuthorComments
 1.13  30-Nov-2021  yamaguchi Move net/agr/ieee8023_slowprotocols.h to net/ether_slowprotocols.h

Definitions related to slowprotocols are duplicated between
agr/ieee8023ad_slowprotocols.h and lagg/if_lagg_lacp.h
Therefore, the contents are moved to added file.

Note: currently, there are just LACP and Marker protocol,
however slowprotocols is independent of them.
 1.12  30-Sep-2021  yamaguchi Replace ifnet::if_agriprivate with ifnet::if_lagg

agr(4) and lagg(4) can not be used on the same interface so that
if_agrprivate and if_lagg are not used at the same time.
For resolve this wasteful, if_lagg is used in not only lagg(4)
but also agr(4).

After this modification, if_lagg has 3 states:
1. if_lagg == NULL
- Both agr(4) and lagg(4) are not running on the interface
2. if_lagg != NULL && ifp->if_type != IFT_IEEE8023ADLAG
- agr(4) is running on the I/F
3. if_lagg != NULL && ifp->if_type == IFT_IEEE8023ADLAG
- lagg(4) is running on the I/F
 1.11  29-Jan-2020  thorpej Adopt <net/if_stats.h>.
 1.10  01-Jul-2011  joerg branches: 1.10.54; 1.10.60;
Fix memset usage.
 1.9  29-May-2009  darran Add vlan support and hardware offload capabilities to agr.
These changes allow vlans to be layered above agr, with the attach
and detach propogated to the member ports in the aggregation.
Note the agr interface must be up before the vlan is attached.

Adds SIOCINITIFADDR support to the wm driver for setting the AF_LINK
address, necessary for agr to be able to set the mac addresses of each
port to the agr address (i.e. so it can receive all intended traffic
at the hardware level).

Adds support for disabling the LACP protocol by setting LINK1 on the agr
interface (e.g. ifconfig agr0 link1).

In consultation with tls@.
 1.8  26-Aug-2007  dyoung branches: 1.8.26; 1.8.36; 1.8.40; 1.8.44;
Constify: LLADDR -> CLLADDR. I'm aiming here to make it easier to
identify sockaddr_dl abuse that remains in the kernel, especially
the potential for overwriting memory past the end of a sockaddr_dl
with, e.g., memcpy(LLADDR(), ...).

Use sockaddr_dl_setaddr() in a few places.
 1.7  09-Jul-2007  ad branches: 1.7.2; 1.7.6;
Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
 1.6  20-May-2007  yamt use mutex.
 1.5  22-Feb-2007  thorpej branches: 1.5.4; 1.5.6;
TRUE -> true, FALSE -> false
 1.4  21-Feb-2007  thorpej Replace the Mach-derived boolean_t type with the C99 bool type. A
future commit will replace use of TRUE and FALSE with true and false.
 1.3  11-Dec-2005  christos branches: 1.3.26;
merge ktrace-lwp.
 1.2  12-Aug-2005  yamt include callout.h explicitly.
 1.1  18-Mar-2005  yamt branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8;
add agr(4), a pseudo network device driver for link aggregation.
 1.1.8.3  03-Sep-2007  yamt sync with head.
 1.1.8.2  26-Feb-2007  yamt sync with head.
 1.1.8.1  21-Jun-2006  yamt sync with head.
 1.1.6.2  29-Apr-2005  kent sync with -current
 1.1.6.1  18-Mar-2005  kent file ieee8023ad_lacp.c was added on branch kent-audio2 on 2005-04-29 11:29:32 +0000
 1.1.4.3  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.1.4.2  01-Apr-2005  skrll Sync with HEAD.
 1.1.4.1  18-Mar-2005  skrll file ieee8023ad_lacp.c was added on branch ktrace-lwp on 2005-04-01 14:31:50 +0000
 1.1.2.2  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.1.2.1  18-Mar-2005  yamt file ieee8023ad_lacp.c was added on branch yamt-km on 2005-03-19 08:36:35 +0000
 1.3.26.1  27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.5.6.1  11-Jul-2007  mjf Sync with head.
 1.5.4.3  09-Oct-2007  ad Sync with head.
 1.5.4.2  01-Jul-2007  ad Adapt to callout API change.
 1.5.4.1  08-Jun-2007  ad Sync with head.
 1.7.6.1  03-Sep-2007  jmcneill Sync with HEAD.
 1.7.2.1  03-Sep-2007  skrll Sync with HEAD.
 1.8.44.1  21-Apr-2010  matt sync to netbsd-5
 1.8.40.1  23-Jul-2009  jym Sync with HEAD.
 1.8.36.1  05-Jun-2009  snj Pull up following revision(s) (requested by 792):
sys/dev/pci/if_wm.c: revision 1.175 via patch
sys/net/if_ethersubr.c: revision 1.172 via patch
sys/net/agr/ieee8023ad_lacp.c: revision 1.9 via patch
sys/net/agr/if_agr.c: revision 1.23 via patch
sys/net/agr/if_agrether.c: revision 1.7 via patch
sys/net/agr/if_agrvar_impl.h: revision 1.8 via patch
Add vlan support and hardware offload capabilities to agr.
These changes allow vlans to be layered above agr, with the attach
and detach propogated to the member ports in the aggregation.
Note the agr interface must be up before the vlan is attached.
Adds SIOCSIFADDR support to the wm driver for setting the AF_LINK
address, necessary for agr to be able to set the mac addresses of each
port to the agr address (i.e. so it can receive all intended traffic
at the hardware level).
Adds support for disabling the LACP protocol by setting LINK1 on the agr
interface (e.g. ifconfig agr0 link1).
In consultation with tls@.
 1.8.26.1  20-Jun-2009  yamt sync with head
 1.10.60.1  29-Feb-2020  ad Sync with head.
 1.10.54.1  08-Apr-2020  martin Merge changes from current as of 20200406

RSS XML Feed