cvs commit: src/sys/net if_lagg.c

2008-09-30 Thread Gleb Smirnoff
glebius 2008-09-30 14:18:38 UTC FreeBSD src repository Modified files: sys/net if_lagg.c Log: SVN rev 183498 on 2008-09-30 14:18:38Z by glebius Do not mangle if_oerrors of the underlying interface. This counter belongs solely to the driver. We don't lose

cvs commit: src/sys/net if_lagg.c

2008-09-20 Thread Andrew Thompson
thompsa 2008-09-21 06:01:52 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_lagg.c Log: SVN rev 183224 on 2008-09-21 06:01:52Z by thompsa MFC r183135 Make sure there is at least one port to avoid divide by zero when choosing

cvs commit: src/sys/net if_lagg.c

2008-09-20 Thread Andrew Thompson
thompsa 2008-09-21 06:01:03 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/net if_lagg.c Log: SVN rev 183223 on 2008-09-21 06:01:03Z by thompsa MFC r183135 Make sure there is at least one port to avoid divide by zero when choosing

cvs commit: src/sys/net if_lagg.c

2008-09-18 Thread Andrew Thompson
thompsa 2008-09-18 20:56:35 UTC FreeBSD src repository Modified files: sys/net if_lagg.c Log: SVN rev 183160 on 2008-09-18 20:56:35Z by thompsa Move the protocol and port count checks to outside the loop, these conditions can not change while we have the lock

cvs commit: src/sys/net if_lagg.c

2008-09-17 Thread Andrew Thompson
thompsa 2008-09-18 04:14:28 UTC FreeBSD src repository Modified files: sys/net if_lagg.c Log: SVN rev 183135 on 2008-09-18 04:14:28Z by thompsa Make sure there is at least one port to avoid divide by zero when choosing the tx port. PR: kern/12

cvs commit: src/sys/net if_lagg.c

2008-08-02 Thread Andrew Thompson
thompsa 2008-08-03 03:50:39 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/net if_lagg.c Log: SVN rev 181226 on 2008-08-03 03:50:39Z by thompsa MFC r180249 port % count will never be greater than LAGG_MAX_PORTS so nuke the test.

cvs commit: src/sys/net if_lagg.c

2008-07-03 Thread Andrew Thompson
thompsa 2008-07-04 05:33:58 UTC FreeBSD src repository Modified files: sys/net if_lagg.c Log: SVN rev 180249 on 2008-07-04 05:33:58Z by thompsa port % count will never be greater than LAGG_MAX_PORTS so nuke the test. Revision ChangesPath 1.28 +2

cvs commit: src/sys/net if_lagg.c

2007-12-20 Thread Andrew Thompson
thompsa 2007-12-21 05:35:29 UTC FreeBSD src repository Modified files:(Branch: RELENG_6_3) sys/net if_lagg.c Log: MFC r1.25 - Use the macro to check the port status has it will also test if its administratively down (!IFF_UP) - Use the same paramet

cvs commit: src/sys/net if_lagg.c

2007-12-20 Thread Andrew Thompson
thompsa 2007-12-21 05:34:36 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_lagg.c Log: MFC r1.25 - Use the macro to check the port status has it will also test if its administratively down (!IFF_UP) - Use the same parame

cvs commit: src/sys/net if_lagg.c

2007-12-20 Thread Andrew Thompson
thompsa 2007-12-21 05:33:48 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/net if_lagg.c Log: MFC r1.25 - Use the macro to check the port status has it will also test if its administratively down (!IFF_UP) - Use the same parame

cvs commit: src/sys/net if_lagg.c

2007-12-17 Thread Andrew Thompson
thompsa 2007-12-18 02:12:03 UTC FreeBSD src repository Modified files: sys/net if_lagg.c Log: - Use the macro to check the port status has it will also test if its administratively down (!IFF_UP) - Use the same parameters to lagg_link_active() to get the bac

cvs commit: src/sys/net if_lagg.c

2007-12-17 Thread Andrew Thompson
thompsa 2007-12-18 01:23:14 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/net if_lagg.c Log: MFC r1.23 - 24 - Support monitor mode where the frame is discarded after bpf and stats processing. - Add myself to the copyright. A

cvs commit: src/sys/net if_lagg.c

2007-12-17 Thread Andrew Thompson
thompsa 2007-12-17 18:49:44 UTC FreeBSD src repository Modified files: sys/net if_lagg.c Log: Add myself to the copyright. Revision ChangesPath 1.24 +1 -0 src/sys/net/if_lagg.c ___ cvs-all@freebsd.org

cvs commit: src/sys/net if_lagg.c

2007-12-04 Thread Andrew Thompson
thompsa 2007-12-05 00:42:28 UTC FreeBSD src repository Modified files: sys/net if_lagg.c Log: Support monitor mode where the frame is discarded after bpf and stats processing. Revision ChangesPath 1.23 +5 -0 src/sys/net/if_lagg.c __

cvs commit: src/sys/net if_lagg.c

2007-11-29 Thread Andrew Thompson
thompsa 2007-11-29 19:05:22 UTC FreeBSD src repository Modified files:(Branch: RELENG_6_3) sys/net if_lagg.c Log: MFC r1.22 Have the lagg interface generate link up/down events, this fixes using carp+lagg together. Approved by:re (kensmith)

cvs commit: src/sys/net if_lagg.c

2007-11-29 Thread Andrew Thompson
thompsa 2007-11-29 19:05:12 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_lagg.c Log: MFC r1.22 Have the lagg interface generate link up/down events, this fixes using carp+lagg together. Approved by:re (kensmith)

cvs commit: src/sys/net if_lagg.c

2007-11-29 Thread Andrew Thompson
thompsa 2007-11-29 19:04:41 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/net if_lagg.c Log: MFC r1.22 Have the lagg interface generate link up/down events, this fixes using carp+lagg together. Approved by:re (kensmith)

cvs commit: src/sys/net if_lagg.c

2007-11-24 Thread Andrew Thompson
thompsa 2007-11-25 06:30:46 UTC FreeBSD src repository Modified files: sys/net if_lagg.c Log: Have the lagg interface generate link up/down events, the interface is marked as up if at least one of its ports also has a link up. This fixes using carp+lagg together

cvs commit: src/sys/net if_lagg.c if_lagg.h

2007-10-24 Thread Andrew Thompson
thompsa 2007-10-24 21:19:02 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_lagg.c if_lagg.h Log: MFC if_lagg.c r1.20, if_lagg.h r1.11 Fix two panics in lagg. Updating a pointer with shared locking and a double mbuf free.

cvs commit: src/sys/net if_lagg.c

2007-10-22 Thread Andrew Thompson
thompsa 2007-10-23 02:30:20 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/net if_lagg.c Log: MFC r1.21 Use ETHER_BPF_MTAP so that the vlan tags are visible to bpf(4) when stacked under a vlan. Approved by:re (kensmith) R

cvs commit: src/sys/net if_lagg.c

2007-10-19 Thread Andrew Thompson
thompsa 2007-10-20 02:43:23 UTC FreeBSD src repository Modified files: sys/net if_lagg.c Log: Use ETHER_BPF_MTAP so that the vlan tags are visible to bpf(4) when stacked under a vlan. MFC after: 3 days Revision ChangesPath 1.21 +2 -2

cvs commit: src/sys/net if_lagg.c if_lagg.h

2007-10-17 Thread Andrew Thompson
thompsa 2007-10-18 01:28:30 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/net if_lagg.c if_lagg.h Log: MFC if_lagg.c r1.20, if_lagg.h r1.11 Fix two panics in lagg. 1. The locking was changed to shared but roundrobin mode still

cvs commit: src/sys/net if_lagg.c if_lagg.h

2007-10-11 Thread Andrew Thompson
thompsa 2007-10-12 03:03:17 UTC FreeBSD src repository Modified files: sys/net if_lagg.c if_lagg.h Log: Fix two panics in lagg. 1. The locking was changed to shared but roundrobin mode still updated a pointer in the softc with the next tx interface to use.

cvs commit: src/sys/net if_lagg.c

2007-09-10 Thread Andrew Thompson
thompsa 2007-09-11 00:34:59 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_lagg.c Log: MFC r1.19 Show the ACTIVE flag in ifconfig for the single interface that is actaully active in failover mode rather than all interfaces with

cvs commit: src/sys/net if_lagg.c

2007-08-30 Thread Andrew Thompson
thompsa 2007-08-30 19:12:10 UTC FreeBSD src repository Modified files: sys/net if_lagg.c Log: Show the ACTIVE flag in ifconfig for the single interface that is actaully active in failover mode rather than all interfaces with a link. This makes it clear if the mas

cvs commit: src/sys/net if_lagg.c if_lagg.h

2007-08-05 Thread Andrew Thompson
thompsa 2007-08-05 21:00:31 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_lagg.c if_lagg.h Log: MFC if_lagg.c r1.17-18, if_lagg.h r1.10 - Avoid holding the softc lock when using copyout(). - Propagate the largest set of inte

cvs commit: src/sys/net if_lagg.c

2007-07-25 Thread Andrew Thompson
thompsa 2007-07-26 06:24:04 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_lagg.c Log: The MAC address was not being set correctly on the lagg interface so all outgoing frames had the src of 00:00:00:00:00:00. We fake enough of i

cvs commit: src/sys/net if_lagg.c

2007-05-30 Thread Andrew Thompson
thompsa 2007-05-30 08:47:15 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_lagg.c Log: MFC r1.13, 1.14 - Fix a mbuf leak where sc_start fails or the protocol is none. - packets on the input interface were counted twice - Use IFQ

cvs commit: src/sys/net if_lagg.c

2007-05-19 Thread Andrew Thompson
thompsa 2007-05-20 03:21:59 UTC FreeBSD src repository Modified files: sys/net if_lagg.c Log: - packets on the input interface were counted twice - Use IFQ_HANDOFF instead of rolling our own Revision ChangesPath 1.14 +1 -13 src/sys/net/if_lagg.

cvs commit: src/sys/net if_lagg.c

2007-05-18 Thread Andrew Thompson
thompsa 2007-05-19 01:40:18 UTC FreeBSD src repository Modified files: sys/net if_lagg.c Log: Fix a mbuf leak where sc_start fails or the protocol is none. Revision ChangesPath 1.13 +4 -2 src/sys/net/if_lagg.c ___

cvs commit: src/sys/net if_lagg.c

2007-05-15 Thread Andrew Thompson
thompsa 2007-05-15 18:30:48 UTC FreeBSD src repository Modified files: sys/net if_lagg.c Log: Fix unused variable error with !INET6 Reported by:Artem Naluzhny, Frank Terhaar-Yonkers Revision ChangesPath 1.11 +2 -1 src/sys/net/if_lagg.c

cvs commit: src/sys/net if_lagg.c

2007-05-15 Thread Andrew Thompson
thompsa 2007-05-15 07:59:49 UTC FreeBSD src repository Modified files: sys/net if_lagg.c Log: Feed ipv6 flowlabel to hash calculation. Obtained from: NetBSD Revision ChangesPath 1.10 +3 -1 src/sys/net/if_lagg.c

cvs commit: src/sys/net if_lagg.c

2007-05-07 Thread Andrew Thompson
thompsa 2007-05-07 09:53:03 UTC FreeBSD src repository Modified files: sys/net if_lagg.c Log: - 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

cvs commit: src/sys/net if_lagg.c

2007-05-06 Thread Andrew Thompson
thompsa 2007-05-07 00:52:26 UTC FreeBSD src repository Modified files: sys/net if_lagg.c Log: The purgemulti call is not needed since all the ports have already been detached. Revision ChangesPath 1.7 +0 -3 src/sys/net/if_lagg.c __

cvs commit: src/sys/net if_lagg.c if_lagg.h

2007-05-06 Thread Andrew Thompson
thompsa 2007-05-07 00:35:15 UTC FreeBSD src repository Modified files: sys/net if_lagg.c if_lagg.h Log: 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 ad

cvs commit: src/sys/net if_lagg.c

2007-05-02 Thread Andrew Thompson
thompsa 2007-05-02 08:58:28 UTC FreeBSD src repository Modified files: sys/net if_lagg.c Log: Set the master flag on the right variable. Revision ChangesPath 1.2 +1 -1 src/sys/net/if_lagg.c ___ cvs-al