/[base]/head/share/man/man4/lagg.4
ViewVC logotype

Log of /head/share/man/man4/lagg.4

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 366933 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 22 09:47:12 2020 UTC (3 years, 8 months ago) by hselasky
File length: 7096 byte(s)
Diff to previous 356029
Add support for IP over infiniband, IPoIB, to lagg(4). Currently only
the failover protocol is supported due to limitations in the IPoIB
architecture. Refer to the lagg(4) manual page for how to configure
and use this new feature. A new network interface type,
IFT_INFINIBANDLAG, has been added, similar to the existing
IFT_IEEE8023ADLAG .

ifconfig(8) has been updated to accept a new laggtype argument when
creating lagg(4) network interfaces. This new argument is used to
distinguish between ethernet and infiniband type of lagg(4) network
interface. The laggtype argument is optional and defaults to
ethernet. The lagg(4) command line syntax is backwards compatible.

Differential Revision:	https://reviews.freebsd.org/D26254
Reviewed by:		melifaro@
MFC after:		1 week
Sponsored by:		Mellanox Technologies // NVIDIA Networking


Revision 356029 - (view) (download) (annotate) - [select for diffs]
Modified Sun Dec 22 21:56:47 2019 UTC (4 years, 6 months ago) by markj
File length: 6809 byte(s)
Diff to previous 342367
lagg: Clean up handling of the rr_limit option.

- Don't allow an unprivileged user to set the stride. [1]
- Only set the stride under the softc lock.
- Rename the internal fields to accurately reflect their use.  Keep
  ro_bkt to avoid changing the user API.
- Simplify the implementation.  The port index is just sc_seq / stride.
- Document rr_limit in ifconfig.8.

Reported by:	Ilja Van Sprundel <ivansprundel@ioactive.com> [1]
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D22857


Revision 342367 - (view) (download) (annotate) - [select for diffs]
Modified Sat Dec 22 11:38:54 2018 UTC (5 years, 6 months ago) by eugen
File length: 6810 byte(s)
Diff to previous 325964
ifconfig.4, lagg.4: fix documentation bug: -use_flowid needs to be used
to force local hash computation and disable usage of RSS hash
provided by driver.

PR:		234242
MFC after:	1 week


Revision 325964 - (view) (download) (annotate) - [select for diffs]
Modified Sat Nov 18 11:58:35 2017 UTC (6 years, 7 months ago) by bhd
File length: 6809 byte(s)
Diff to previous 297455
Remove leftover in lagg(4) manpage forgotten in r271733

Reviewed by:	bcr
Differential Revision:	https://reviews.freebsd.org/D13061


Revision 297455 - (view) (download) (annotate) - [select for diffs]
Modified Thu Mar 31 15:16:22 2016 UTC (8 years, 3 months ago) by brueffer
File length: 6830 byte(s)
Diff to previous 294615
Fix minor problems caught by mandoc -Tlint.


Revision 294615 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 23 04:18:44 2016 UTC (8 years, 5 months ago) by araujo
File length: 6831 byte(s)
Diff to previous 290450
Add an IOCTL rr_limit to let users fine tuning the number of packets to be
sent using roundrobin protocol and set a better granularity and distribution
among the interfaces. Tuning the number of packages sent by interface can
increase throughput and reduce unordered packets as well as reduce SACK.

Example of usage:
# ifconfig bge0 up
# ifconfig bge1 up
# ifconfig lagg0 create
# ifconfig lagg0 laggproto roundrobin laggport bge0 laggport bge1 \
	192.168.1.1 netmask 255.255.255.0
# ifconfig lagg0 rr_limit 500

Reviewed by:	thompsa, glebius, adrian (old patch)
Approved by:	bapt (mentor)
Relnotes:	Yes
Differential Revision:	https://reviews.freebsd.org/D540


Revision 290450 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 6 15:33:27 2015 UTC (8 years, 7 months ago) by smh
File length: 6300 byte(s)
Diff to previous 276259
Add sysctl to control LACP strict compliance default

Add net.link.lagg.lacp.default_strict_mode which defines
the default value for LACP strict compliance for created
lagg devices.

Also:
* Add lacp_strict option to ifconfig(8).
* Fix lagg(4) creation examples.
* Minor style(9) fix.

MFC after:	1 week


Revision 276259 - (view) (download) (annotate) - [select for diffs]
Modified Fri Dec 26 22:30:18 2014 UTC (9 years, 6 months ago) by bapt
File length: 6251 byte(s)
Diff to previous 272386
Sort SEE ALSO


Revision 272386 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 1 21:37:32 2014 UTC (9 years, 9 months ago) by hrs
File length: 6251 byte(s)
Diff to previous 271733
Virtualize lagg(4) cloner.  This change fixes a panic when tearing down
if_lagg(4) interfaces which were cloned in a vnet jail.

Sysctl nodes which are dynamically generated for each cloned interface
(net.link.lagg.N.*) have been removed, and use_flowid and flowid_shift
ifconfig(8) parameters have been added instead.  Flags and per-interface
statistics counters are displayed in "ifconfig -v".

CR:	D842


Revision 271733 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 18 02:22:02 2014 UTC (9 years, 9 months ago) by araujo
File length: 6311 byte(s)
Diff to previous 271732
The lagg(4) interface is based on trunk(4) interface from OpenBSD.
The FreeBSD is the only system that has the FEC protocol, that is a simple alias
to loadbalance protocol and does not implement the ancient Cisco FEC standard.

From now on, we remove the fec protocol from the documentation and keep the FEC
code only for compatibility.

Phabric:	D539
Reviewed by:	glebius, thompsa
Approved by:	glebius
Sponsored by:	QNAP Systems Inc.


Revision 271732 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 18 02:12:48 2014 UTC (9 years, 9 months ago) by araujo
File length: 6382 byte(s)
Diff to previous 267938
Add laggproto broadcast, it allows sends frames to all ports of the lagg(4) group
and receives frames on any port of the lagg(4).

Phabric:	D549
Reviewed by:	glebius, thompsa
Approved by:	glebius
Obtained from:	OpenBSD
Sponsored by:	QNAP Systems Inc.


Revision 267938 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 26 21:46:14 2014 UTC (10 years ago) by bapt
File length: 6268 byte(s)
Diff to previous 257261
use .Mt to mark up email addresses consistently (final part)

PR:		191174
Submitted by:	Franco Fichtner <franco at lastsummer.de>


Revision 257261 - (view) (download) (annotate) - [select for diffs]
Modified Mon Oct 28 16:21:31 2013 UTC (10 years, 8 months ago) by glebius
File length: 6265 byte(s)
Diff to previous 243091
Remove more remnants of ng_fec(4).

The ng_create_one() and ng_mkpeer() functions in network.subr are
now not used anywhere, but I left them, since they can be useful
in future in netgraph scripting.

Submitted by:	pluknet


Revision 243091 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 15 16:54:14 2012 UTC (11 years, 7 months ago) by joel
File length: 6280 byte(s)
Diff to previous 243016
Remove trailing whitespace.


Revision 243016 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 14 06:23:32 2012 UTC (11 years, 7 months ago) by kevlo
File length: 6281 byte(s)
Diff to previous 232089
Mention the IEEE 802.1AX.

Reviewed by:	thompsa


Revision 232089 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 23 23:37:29 2012 UTC (12 years, 4 months ago) by thompsa
File length: 6269 byte(s)
Diff to previous 232080
Break the last part to its own sentence rather than a run-on.

Suggested by:	dougb


Revision 232080 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 23 21:56:53 2012 UTC (12 years, 4 months ago) by thompsa
File length: 6252 byte(s)
Diff to previous 232010
Add a sysctl/tunable default value for the use_flowid sysctl in r232008.


Revision 232010 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 22 22:29:23 2012 UTC (12 years, 4 months ago) by thompsa
File length: 6157 byte(s)
Diff to previous 232009
Document the net.link.lagg.X.use_flowid sysctl from r232008.


Revision 232009 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 22 22:09:17 2012 UTC (12 years, 4 months ago) by thompsa
File length: 5774 byte(s)
Diff to previous 214066
Make it clear that fec is just an alias


Revision 214066 - (view) (download) (annotate) - [select for diffs]
Modified Tue Oct 19 17:49:55 2010 UTC (13 years, 8 months ago) by delphij
File length: 5843 byte(s)
Diff to previous 213632
Clarify that lagg(4) sends/receives on active port, not the master port.

Note that this still seems to be a little bit confusing as the concept of
"master" is different from what people would expect on a networking
equipment.


Revision 213632 - (view) (download) (annotate) - [select for diffs]
Modified Fri Oct 8 21:29:48 2010 UTC (13 years, 8 months ago) by delphij
File length: 5842 byte(s)
Diff to previous 190531
Document net.link.lagg.failover_rx_all.

MFC after:	1 week


Revision 190531 - (view) (download) (annotate) - [select for diffs]
Modified Sun Mar 29 21:08:48 2009 UTC (15 years, 3 months ago) by brueffer
File length: 5567 byte(s)
Diff to previous 190528
Fix typo.


Revision 190528 - (view) (download) (annotate) - [select for diffs]
Modified Sun Mar 29 18:14:45 2009 UTC (15 years, 3 months ago) by sam
File length: 5568 byte(s)
Diff to previous 190527
remove bogus nwid use; that's a compat shim for netbsd


Revision 190527 - (view) (download) (annotate) - [select for diffs]
Modified Sun Mar 29 18:05:04 2009 UTC (15 years, 3 months ago) by sam
File length: 5568 byte(s)
Diff to previous 175158
fix wired-wireless failover example and remove incorrect
comment about WPA not working


Revision 175158 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 8 15:36:06 2008 UTC (16 years, 5 months ago) by gabor
File length: 5503 byte(s)
Diff to previous 171661
- This driver will first appear in FreeBSD 6.3, not 7.0

Submitted by:	thompsa
MFC after:	0 days


Revision 171661 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 30 20:17:22 2007 UTC (16 years, 11 months ago) by thompsa
File length: 5503 byte(s)
Diff to previous 168810
- Propagate the largest set of interface capabilities supported by all lagg
  ports to the lagg interface.
- Use the MTU from the first interface as the lagg MTU, all extra interfaces
  must be the same.

This fixes using a lagg interface for a vlan or enabling jumbo frames, etc.

Approved by:	re (kensmith)
MFC After:	3 days


Revision 168810 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 17 07:09:23 2007 UTC (17 years, 2 months ago) by brueffer
File length: 5360 byte(s)
Diff to previous 168809
Bump date for the previous revision and the driver renaming.


Revision 168809 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 17 07:08:18 2007 UTC (17 years, 2 months ago) by brueffer
File length: 5360 byte(s)
Diff to previous 168793
To avoid confusion, mention that the driver was originally called trunk
in OpenBSD.


Revision 168793 - (view) (download) (annotate) - [select for diffs]
Added Tue Apr 17 00:35:11 2007 UTC (17 years, 2 months ago) by thompsa
File length: 5335 byte(s)
Rename the trunk(4) driver to lagg(4) as it is too similar to vlan trunking.

The name trunk is misused as the networking term trunk means carrying multiple
VLANs over a single connection. The IEEE standard for link aggregation (802.3
section 3) does not talk about 'trunk' at all while it is used throughout IEEE
802.1Q in describing vlans.

The lagg(4) driver provides link aggregation, failover and fault tolerance.

Discussed on:	current@


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.27