#
7a004fb3 |
| 26-Jun-2022 |
riastradh <riastradh@NetBSD.org> |
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 r
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
show more ...
|
#
6a7344ab |
| 24-May-2022 |
andvar <andvar@NetBSD.org> |
fix various typos in comment, documentation and log messages.
|
#
4c278e00 |
| 04-Apr-2022 |
yamaguchi <yamaguchi@NetBSD.org> |
Move input processing of lagg(4) before ether_input to get rid of dependence.
This implementation is similar with that of bridge(4).
|
#
c68b60bf |
| 31-Mar-2022 |
yamaguchi <yamaguchi@NetBSD.org> |
rename lagg_enqueue to lagg_output
NFC
|
#
528f0d27 |
| 31-Mar-2022 |
yamaguchi <yamaguchi@NetBSD.org> |
Use addlog(4) for putting 2 messages to one line
|
#
153cae65 |
| 31-Mar-2022 |
yamaguchi <yamaguchi@NetBSD.org> |
Make lagg interface specified "laggproto none" able to up
|
#
ffbf1fb7 |
| 31-Mar-2022 |
yamaguchi <yamaguchi@NetBSD.org> |
added log when ifpromisc is failed
|
#
e67c2b08 |
| 31-Mar-2022 |
yamaguchi <yamaguchi@NetBSD.org> |
fix coding style
|
#
99c8d729 |
| 12-Jan-2022 |
yamaguchi <yamaguchi@NetBSD.org> |
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). An
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.
show more ...
|
#
8f99c6a2 |
| 19-Oct-2021 |
yamaguchi <yamaguchi@NetBSD.org> |
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 c
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.
show more ...
|
#
3131fdd7 |
| 12-Oct-2021 |
yamaguchi <yamaguchi@NetBSD.org> |
Set a port interface of lagg(4) in promiscuous mode when the lagg(4) is in promiscuous mode.
|
#
529ded51 |
| 12-Oct-2021 |
yamaguchi <yamaguchi@NetBSD.org> |
lagg: update capabilities of ifnet and ethercom
Commonly capabilities of all child interface are configured to a lagg interface.
|
#
8fd85f68 |
| 30-Sep-2021 |
yamaguchi <yamaguchi@NetBSD.org> |
lagg: Register lagg_ifdetach to ether_ifdetach hook
|
#
9a8a0deb |
| 30-Sep-2021 |
yamaguchi <yamaguchi@NetBSD.org> |
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
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.
show more ...
|
#
68624c1d |
| 30-Sep-2021 |
yamaguchi <yamaguchi@NetBSD.org> |
lagg: Register lagg_linkstate_changed to link-state change hook
|
#
f85ffde9 |
| 24-May-2021 |
yamaguchi <yamaguchi@NetBSD.org> |
Added missing copyright and license notice
pointed out by thorpej@n.o., Thanks.
|
#
976d1872 |
| 19-May-2021 |
rillig <rillig@NetBSD.org> |
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-no
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]
show more ...
|
#
20274667 |
| 17-May-2021 |
yamaguchi <yamaguchi@NetBSD.org> |
Add a new link-aggregation pseudo interface named lagg(4)
- FreeBSD's lagg(4) based implementation - MP-safe and MP-scalable
|