CVS log for src/sys/net/lagg/if_laggproto.h
Up to [cvs.NetBSD.org] / src / sys / net / lagg
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.18.4.1: download - view: text, markup, annotated - select for diffs
Thu Oct 3 11:53:46 2024 UTC (2 months ago) by martin
Branches: netbsd-10
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +4 -2
lines
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@.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Nov 28 05:28:37 2023 UTC (12 months, 1 week ago) by yamaguchi
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2
lines
lagg(4): Fix missing IFNET_LOCK acquirement
Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Nov 22 03:49:13 2023 UTC (12 months, 2 weeks ago) by yamaguchi
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -1
lines
Set the fastest linkspeed in each physical interface to lagg(4)
Revision 1.18.8.1: download - view: text, markup, annotated - select for diffs
Thu Nov 16 05:13:14 2023 UTC (12 months, 2 weeks ago) by thorpej
Branches: thorpej-ifq
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +2 -2
lines
if_transmit_lock() and if_enqueue() are equivalent. if_enqueue() is
a better name, so collapse everything down to that and garbage-collect
if_transmit_lock().
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Jun 26 17:55:24 2022 UTC (2 years, 5 months ago) by riastradh
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-altq-separation-base,
thorpej-altq-separation,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Branch point for: thorpej-ifq,
netbsd-10
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +5 -3
lines
lagg(4): Safely handle misaligned mbufs.
Optimizing for non-strict-alignment architectures -- without falling
afoul of alignment sanitizers or overeager compilers -- is left as an
exercise for the reader.
PR kern/56894
Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue May 24 20:50:20 2022 UTC (2 years, 6 months ago) by andvar
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2
lines
fix various typos in comment, documentation and log messages.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Apr 4 06:10:00 2022 UTC (2 years, 8 months ago) by yamaguchi
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -1
lines
Move input processing of lagg(4) before ether_input
to get rid of dependence.
This implementation is similar with that of bridge(4).
Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Mar 31 07:59:05 2022 UTC (2 years, 8 months ago) by yamaguchi
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2
lines
rename lagg_enqueue to lagg_output
NFC
Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Mar 31 03:15:15 2022 UTC (2 years, 8 months ago) by yamaguchi
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +19 -3
lines
Use addlog(4) for putting 2 messages to one line
Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Mar 31 03:12:31 2022 UTC (2 years, 8 months ago) by yamaguchi
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +1 -2
lines
Make lagg interface specified "laggproto none" able to up
Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Mar 31 03:10:59 2022 UTC (2 years, 8 months ago) by yamaguchi
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +1 -2
lines
added log when ifpromisc is failed
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Mar 31 02:00:27 2022 UTC (2 years, 8 months ago) by yamaguchi
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -4
lines
fix coding style
Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Jan 12 08:23:53 2022 UTC (2 years, 10 months ago) by yamaguchi
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3
lines
Fix to call lacp_linkstate with IFNET_LOCK held
Network stack calls lacp_linkstate through lagg_port_ioctl when
doing "ifconfig up" or "ifconfig down" to an interface that is
a member of lagg(4). And IFNET_LOCK in the member interface
is held while the ioctl.
Therefore, lacp_linkstate is renamed to
lacp_linkstate_ifnet_locked, and always called with IFNET_LOCK
held. It avoids locking agains myself.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Oct 19 07:52:33 2021 UTC (3 years, 1 month ago) by yamaguchi
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2
lines
lagg: support l2tp(4) aggregation
- Accept "ifconfig lagg* laggport l2tp*"
- Set promiscuous mode when the added interface is l2tp*
- check IFF_UP in addition to IFF_RUNNING on
SIOCSIFFLAGS to a child interface.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Oct 12 08:30:58 2021 UTC (3 years, 1 month ago) by yamaguchi
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -1
lines
Set a port interface of lagg(4) in promiscuous mode
when the lagg(4) is in promiscuous mode.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Oct 12 08:26:47 2021 UTC (3 years, 1 month ago) by yamaguchi
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +5 -3
lines
lagg: update capabilities of ifnet and ethercom
Commonly capabilities of all child interface are configured
to a lagg interface.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Sep 30 04:29:17 2021 UTC (3 years, 2 months ago) by yamaguchi
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -4
lines
lagg: Register lagg_ifdetach to ether_ifdetach hook
Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Sep 30 04:23:30 2021 UTC (3 years, 2 months ago) by yamaguchi
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +6 -1
lines
Make a link-layer address of lagg(4) configurable by ifconfig(8)
lagg(4) uses a configured link-layer (MAC) address instead
of a random MAC address generated on creating.
The configured MAC address is copied to all child interface
and used for a system id of LACP.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Sep 30 03:39:39 2021 UTC (3 years, 2 months ago) by yamaguchi
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -1
lines
lagg: Register lagg_linkstate_changed to link-state change hook
Revision 1.3.6.2: download - view: text, markup, annotated - select for diffs
Thu Jun 17 04:46:35 2021 UTC (3 years, 5 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.3.6.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.6.1: +316 -0
lines
Sync w/ HEAD.
Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Mon May 31 22:15:21 2021 UTC (3 years, 6 months ago) by cjep
Branches: cjep_staticlib_x
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.1: +316 -0
lines
sync with head
Revision 1.3.6.1
Mon May 24 06:24:20 2021 UTC (3 years, 6 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
FILE REMOVED
Changes since revision 1.3: +0 -316
lines
file if_laggproto.h was added on branch thorpej-i2c-spi-conf on 2021-06-17 04:46:35 +0000
Revision 1.3.2.1
Mon May 24 06:24:20 2021 UTC (3 years, 6 months ago) by cjep
Branches: cjep_staticlib_x
FILE REMOVED
Changes since revision 1.3: +0 -316
lines
file if_laggproto.h was added on branch cjep_staticlib_x on 2021-05-31 22:15:21 +0000
Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon May 24 06:24:20 2021 UTC (3 years, 6 months ago) by yamaguchi
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-futex2-base,
thorpej-futex2,
thorpej-cfargs2-base,
thorpej-cfargs2,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1
Branch point for: thorpej-i2c-spi-conf,
cjep_staticlib_x
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +27 -1
lines
Added missing copyright and license notice
pointed out by thorpej@n.o., Thanks.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed May 19 06:13:08 2021 UTC (3 years, 6 months ago) by rillig
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -2
lines
if_lagg: fix Clang build
Clang is stricter than GCC when it comes to nonliteral format strings.
sys/net/lagg/if_lagg.c:2372:12: error:
format string is not a string literal [-Werror,-Wformat-nonliteral]
Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon May 17 04:07:43 2021 UTC (3 years, 6 months ago) by yamaguchi
Branches: MAIN
Add a new link-aggregation pseudo interface named lagg(4)
- FreeBSD's lagg(4) based implementation
- MP-safe and MP-scalable
CVSweb <webmaster@jp.NetBSD.org>