Home | History | Annotate | Download | only in agr
History log of /src/sys/net/agr/if_agrether.c
RevisionDateAuthorComments
 1.12  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.11  10-Nov-2019  chs in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.
 1.10  06-Dec-2017  ozaki-r branches: 1.10.4;
Simplify; share agr_vlan_add and agr_vlan_del (NFCI)
 1.9  19-Oct-2011  dyoung branches: 1.9.46;
Use if_flags_set() and if_addr_init() instead of ifp->if_ioctl().
 1.8  09-Jun-2009  yamt comment style. no functional change.
 1.7  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.6  26-Aug-2007  dyoung branches: 1.6.26; 1.6.36; 1.6.40; 1.6.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.5  04-Mar-2007  christos branches: 1.5.2; 1.5.10; 1.5.14;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 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 if_agrether.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 if_agrether.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 if_agrether.c was added on branch yamt-km on 2005-03-19 08:36:35 +0000
 1.3.26.2  12-Mar-2007  rmind Sync with HEAD.
 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.14.1  03-Sep-2007  jmcneill Sync with HEAD.
 1.5.10.1  03-Sep-2007  skrll Sync with HEAD.
 1.5.2.1  09-Oct-2007  ad Sync with head.
 1.6.44.1  21-Apr-2010  matt sync to netbsd-5
 1.6.40.1  23-Jul-2009  jym Sync with HEAD.
 1.6.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.6.26.1  20-Jun-2009  yamt sync with head
 1.9.46.1  05-Feb-2018  martin Pull up following revision(s) (requested by ozaki-r in ticket #528):
sys/net/agr/if_agr.c: revision 1.42
sys/netinet6/nd6_rtr.c: revision 1.137
sys/netinet6/nd6_rtr.c: revision 1.138
sys/net/agr/if_agr.c: revision 1.46
sys/net/route.c: revision 1.206
sys/net/if.c: revision 1.419
sys/net/agr/if_agrether.c: revision 1.10
sys/netinet6/nd6.c: revision 1.241
sys/netinet6/nd6.c: revision 1.242
sys/netinet6/nd6.c: revision 1.243
sys/netinet6/nd6.c: revision 1.244
sys/netinet6/nd6.c: revision 1.245
sys/netipsec/ipsec_input.c: revision 1.52
sys/netipsec/ipsec_input.c: revision 1.53
sys/net/agr/if_agrsubr.h: revision 1.5
sys/kern/subr_workqueue.c: revision 1.35
sys/netipsec/ipsec.c: revision 1.124
sys/net/agr/if_agrsubr.c: revision 1.11
sys/net/agr/if_agrsubr.c: revision 1.12
Simplify; share agr_vlan_add and agr_vlan_del (NFCI)
Fix late NULL-checking (CID 1427782: Null pointer dereferences (REVERSE_INULL))
KNF: replace soft tabs with hard tabs
Add missing NULL-checking for m_pullup (CID 1427770: Null pointer dereferences (NULL_RETURNS))
Add locking.
Revert "Get rid of unnecessary splsoftnet" (v1.133)
It's not always true that softnet_lock is held these places.
See PR kern/52947.
Get rid of unnecessary splsoftnet (redo)
Unless NET_MPSAFE, splsoftnet is still needed for rt_* functions.
Use existing fill_[pd]rlist() functions to calculate size of buffer to
allocate, rather than relying on an arbitrary length passed in from
userland.
Allow copyout() of partial results if the user buffer is too small, to
be consistent with the way sysctl(3) is documented.
Garbage-collect now-unused third parrameter in the fill_[pd]rlist()
functions.
As discussed on IRC.
OK kamil@ and christos@
XXX Needs pull-up to netbsd-8 branch.
Simplify, from christos@
More simplification, this time from ozaki-r@
No need to break after return.
One more from christos@
No need to initialize fill_func
more cleanup (don't allow oldlenp == NULL)
Destroy ifq_lock at the end of if_detach
It still can be used in if_detach.
Prevent rt_free_global.wk from being enqueued to workqueue doubly
Check if a queued work is tried to be enqueued again, which is not allowed
 1.10.4.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411

RSS XML Feed