The NetBSD Project

CVS log for src/sys/net/lagg/if_laggproto.h

[BACK] Up to [cvs.NetBSD.org] / src / sys / net / lagg

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.18 / (download) - annotate - [select for diffs], Sun Jun 26 17:55:24 2022 UTC (7 months, 1 week ago) by riastradh
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.17: +5 -3 lines
Diff to previous 1.17 (colored)

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) - annotate - [select for diffs], Tue May 24 20:50:20 2022 UTC (8 months, 1 week ago) by andvar
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

fix various typos in comment, documentation and log messages.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Apr 4 06:10:00 2022 UTC (10 months ago) by yamaguchi
Branch: MAIN
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored)

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) - annotate - [select for diffs], Thu Mar 31 07:59:05 2022 UTC (10 months ago) by yamaguchi
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

rename lagg_enqueue to lagg_output

NFC

Revision 1.14 / (download) - annotate - [select for diffs], Thu Mar 31 03:15:15 2022 UTC (10 months ago) by yamaguchi
Branch: MAIN
Changes since 1.13: +19 -3 lines
Diff to previous 1.13 (colored)

Use addlog(4) for putting 2 messages to one line

Revision 1.13 / (download) - annotate - [select for diffs], Thu Mar 31 03:12:31 2022 UTC (10 months ago) by yamaguchi
Branch: MAIN
Changes since 1.12: +1 -2 lines
Diff to previous 1.12 (colored)

Make lagg interface specified "laggproto none" able to up

Revision 1.12 / (download) - annotate - [select for diffs], Thu Mar 31 03:10:59 2022 UTC (10 months ago) by yamaguchi
Branch: MAIN
Changes since 1.11: +1 -2 lines
Diff to previous 1.11 (colored)

added log when ifpromisc is failed

Revision 1.11 / (download) - annotate - [select for diffs], Thu Mar 31 02:00:27 2022 UTC (10 months ago) by yamaguchi
Branch: MAIN
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored)

fix coding style

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jan 12 08:23:53 2022 UTC (12 months, 3 weeks ago) by yamaguchi
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

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) - annotate - [select for diffs], Tue Oct 19 07:52:33 2021 UTC (15 months, 2 weeks ago) by yamaguchi
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

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) - annotate - [select for diffs], Tue Oct 12 08:30:58 2021 UTC (15 months, 3 weeks ago) by yamaguchi
Branch: MAIN
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

Set a port interface of lagg(4) in promiscuous mode
when the lagg(4) is in promiscuous mode.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Oct 12 08:26:47 2021 UTC (15 months, 3 weeks ago) by yamaguchi
Branch: MAIN
Changes since 1.6: +5 -3 lines
Diff to previous 1.6 (colored)

lagg: update capabilities of ifnet and ethercom

Commonly capabilities of all child interface are configured
to a lagg interface.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Sep 30 04:29:17 2021 UTC (16 months ago) by yamaguchi
Branch: MAIN
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored)

lagg: Register lagg_ifdetach to ether_ifdetach hook

Revision 1.5 / (download) - annotate - [select for diffs], Thu Sep 30 04:23:30 2021 UTC (16 months ago) by yamaguchi
Branch: MAIN
Changes since 1.4: +6 -1 lines
Diff to previous 1.4 (colored)

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) - annotate - [select for diffs], Thu Sep 30 03:39:39 2021 UTC (16 months ago) by yamaguchi
Branch: MAIN
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)

lagg: Register lagg_linkstate_changed to link-state change hook

Revision 1.3.6.2 / (download) - annotate - [select for diffs], Thu Jun 17 04:46:35 2021 UTC (19 months, 2 weeks ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.3.6.1: +316 -0 lines
Diff to previous 1.3.6.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Sync w/ HEAD.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Mon May 31 22:15:21 2021 UTC (20 months ago) by cjep
Branch: cjep_staticlib_x
Changes since 1.3.2.1: +316 -0 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

sync with head

Revision 1.3.6.1, Mon May 24 06:24:20 2021 UTC (20 months, 1 week ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.3: +0 -316 lines
FILE REMOVED

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 (20 months, 1 week ago) by cjep
Branch: cjep_staticlib_x
Changes since 1.3: +0 -316 lines
FILE REMOVED

file if_laggproto.h was added on branch cjep_staticlib_x on 2021-05-31 22:15:21 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Mon May 24 06:24:20 2021 UTC (20 months, 1 week ago) by yamaguchi
Branch: 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
Changes since 1.2: +27 -1 lines
Diff to previous 1.2 (colored)

Added missing copyright and license notice

pointed out by thorpej@n.o., Thanks.

Revision 1.2 / (download) - annotate - [select for diffs], Wed May 19 06:13:08 2021 UTC (20 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.1: +3 -2 lines
Diff to previous 1.1 (colored)

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) - annotate - [select for diffs], Mon May 17 04:07:43 2021 UTC (20 months, 2 weeks ago) by yamaguchi
Branch: MAIN

Add a new link-aggregation pseudo interface named lagg(4)

 - FreeBSD's lagg(4) based implementation
 - MP-safe and MP-scalable

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>