thompsa
f6d9fae726
Allow the LACP state to be queried from userland which at the moment is the
...
actor and partner peer info. Print out the active aggregator and per port data
in verbose mode from ifconfig.
Approved by: re (mux)
2007-07-05 09:18:57 +00:00
thompsa
60f4b707fe
non-functional cleanup
...
- remove dead code
- use consistent variable names
- gc unused defines
- whitespace cleanup
2007-06-12 07:29:11 +00:00
thompsa
6dcb39daa0
- packets on the input interface were counted twice
...
- Use IFQ_HANDOFF instead of rolling our own
2007-05-20 03:21:59 +00:00
thompsa
cbd790c8d2
Fix a mbuf leak where sc_start fails or the protocol is none.
2007-05-19 01:40:18 +00:00
thompsa
e2c9edc61a
Fix locking assert where we should hold the reader lock.
2007-05-18 23:38:35 +00:00
thompsa
a3a9e4130c
Fix unused variable error with !INET6
...
Reported by: Artem Naluzhny, Frank Terhaar-Yonkers
2007-05-15 18:30:48 +00:00
thompsa
718e1380f9
Feed ipv6 flowlabel to hash calculation.
...
Obtained from: NetBSD
2007-05-15 07:59:49 +00:00
thompsa
1eb8d76bed
Change from a mutex to a read/write lock. This allows the tx port to be
...
selected simultaneously by multiple senders and transmit/receive is not
serialised between aggregated interfaces.
2007-05-15 07:41:46 +00:00
thompsa
e8f1e9a28e
- Correctly check if lp_ioctl is null
...
- Remove lagg_ether_purgemulti as its no longer needed
- Mark the interface as up if any ports are active rather than just the primary
2007-05-07 09:53:02 +00:00
thompsa
8a4fc0554b
The purgemulti call is not needed since all the ports have already been detached.
2007-05-07 00:52:26 +00:00
thompsa
e52d185c9e
Call if_setlladdr() on the aggregation port from a taskqueue so the softc lock
...
is not held. The short delay between aggregating the port and setting the MAC
address is fine.
2007-05-07 00:35:15 +00:00
thompsa
46904da670
Avoid touching various unsafe parts if the interface is disappearing.
2007-05-07 00:28:55 +00:00
thompsa
caab23fd29
Change from using if_delmulti() to if_delmulti_ifma() as it simplifies the code
...
and is safe to use if the ifp has disappeared.
Suggested by: bms
2007-05-07 00:18:56 +00:00
thompsa
a6c25cdbc7
- Add a disabled state for ports that can not be aggregated
...
- Refine check for lacp links, set to disabled if not suitable
2007-05-03 08:56:20 +00:00
thompsa
49fe4717c7
Set the master flag on the right variable.
2007-05-02 08:58:28 +00:00
thompsa
5fc175b7b4
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@
2007-04-17 00:35:11 +00:00