summaryrefslogtreecommitdiffstats
path: root/sys/net/if_lagg.h
Commit message (Collapse)AuthorAgeFilesLines
* Propagate the vlan eventis to the underlying interfaces/members so they can ↵eri2010-02-061-0/+4
| | | | | | | | | do initialization of hw related features. PR: kern/141646 Reviewed by: thompsa Approved by: thompsa(co-mentor) MFC after: 2 weeks
* Change if_output to take a struct route as its fourth argument in orderkmacy2009-04-161-1/+1
| | | | | | to allow passing a cached struct llentry * down to L2 Reviewed by: rwatson
* Fix two panics in lagg.thompsa2007-10-121-0/+1
| | | | | | | | | | | | | 1. The locking was changed to shared but roundrobin mode still updated a pointer in the softc with the next tx interface to use. This will panic under high load. Change this to an atomically incremented sequence number in order to choose the tx port in round robin. 2. IFQ_HANDOFF will free the mbuf if the queue is full, this will then be freed again by lagg_start() and panic. Reorganised the error handling and freeing to fix this. MFC after: 3 days
* - Propagate the largest set of interface capabilities supported by all laggthompsa2007-07-301-1/+0
| | | | | | | | | | | 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
* Allow the LACP state to be queried from userland which at the moment is thethompsa2007-07-051-0/+28
| | | | | | | actor and partner peer info. Print out the active aggregator and per port data in verbose mode from ifconfig. Approved by: re (mux)
* non-functional cleanupthompsa2007-06-121-41/+37
| | | | | | | - remove dead code - use consistent variable names - gc unused defines - whitespace cleanup
* Change from a mutex to a read/write lock. This allows the tx port to bethompsa2007-05-151-8/+9
| | | | | selected simultaneously by multiple senders and transmit/receive is not serialised between aggregated interfaces.
* Call if_setlladdr() on the aggregation port from a taskqueue so the softc lockthompsa2007-05-071-0/+11
| | | | | is not held. The short delay between aggregating the port and setting the MAC address is fine.
* Avoid touching various unsafe parts if the interface is disappearing.thompsa2007-05-071-0/+1
|
* Change from using if_delmulti() to if_delmulti_ifma() as it simplifies the codethompsa2007-05-071-8/+4
| | | | | | and is safe to use if the ifp has disappeared. Suggested by: bms
* Fix flag descriptions.thompsa2007-05-031-2/+2
|
* - Add a disabled state for ports that can not be aggregatedthompsa2007-05-031-1/+2
| | | | - Refine check for lacp links, set to disabled if not suitable
* Rename the trunk(4) driver to lagg(4) as it is too similar to vlan trunking.thompsa2007-04-171-0/+209
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@
OpenPOWER on IntegriCloud