All of lore.kernel.org
 help / color / mirror / Atom feed
* sky2 bonding problem, 802.3ad
@ 2007-02-15 18:55 Holger Eitzenberger
  2007-02-15 19:26 ` Stephen Hemminger
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Holger Eitzenberger @ 2007-02-15 18:55 UTC (permalink / raw)
  To: shemminger; +Cc: sk-drivers, netdev

[-- Attachment #1: Type: text/plain, Size: 2218 bytes --]

Hi Steven,

I have problems using sky2 v1.10 with with bonding driver (802.3ad),
on 'Marvell 88E8053 PCI-E Gigabit Ethernet Controller'.  I have attached
the full lspci output.

My test was to setup a bond of two physical links (both links same
hardware) and ping 192.168.11.10, which is the address of the switch
itself.

I have tested v1.10 with kernel 2.6.19 and 2.6.16.36 (own backport),
which despite the bonding problem runs fine.  Both, kernel 2.6.19 and
2.6.16.36 show the same behaviour.  The 802.3ad aware switch is a Dell
PowerConnect 5324.  VLAN is not configured on all switch ports.  Another
test on a host running kernel 2.6.18.2 with two e1000's bonded runs
fine.  Using sk98lin (v8.41 & v10.0.4) worked also.

The host containing the Yukon-II has a total of 8 NICs, 4 PIC and 4
PCI-E, see attached lspci output.  The failed bond was created from two
PCI-E interfaces.

Find attached a short script which I use to set up the bond on both hosts,
also attached is a procfile (/proc/net/bonding/bond0) from
the "e1000 host" with a working bond as well as the procfile from the host
with the Yukon-II cards.

When looking at the working bond I see that both slave interfaces are
IFF_UP, the load is shared over both links.  When looking at the failing
sky2 bond I see that the bond is not IFF_UP, whereas both slave
interfaces are IFF_UP.  The 802.3ad "partner MAC address" is left all zero's, 
also both interfaces have different Aggregator IDs (1 & 2).  One of the
two failing interfaces always has IFF_NOARP set, caused by code
calling bond_main.c:bond_set_slave_inactive_flags().

I used both use_carrier=1 (default) as well as miimon=50 without luck.

Going through the bonding code, and comparing sky2 source to the e100
code, which I am quite familiar with, I see that sky2 does not use the
generic MII interface, which might point in the right direction.

I am currently going through the bonding code and try to understand the
master <-> slave <-> sky2 interaction, basically this is either through
calling the sky2 net_device ops and through the ethtool ops.

If you need further info or further testing from my side: i will gladly
do that.

Besides that, thanks for a great driver!

   /holger


[-- Attachment #2: bonding-prob.tgz --]
[-- Type: application/x-gtar, Size: 5174 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2007-02-16 20:34 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-15 18:55 sky2 bonding problem, 802.3ad Holger Eitzenberger
2007-02-15 19:26 ` Stephen Hemminger
2007-02-15 20:13   ` Holger Eitzenberger
2007-02-15 20:13 ` Jay Vosburgh
2007-02-15 21:09   ` Holger Eitzenberger
2007-02-15 21:43     ` Neil Horman
2007-02-16  9:15   ` Holger Eitzenberger
2007-02-16  9:28     ` [Sk-drivers] " Holger Eitzenberger
2007-02-16 20:34       ` Jay Vosburgh
2007-02-15 21:31 ` Andy Gospodarek
2007-02-15 22:07   ` Andy Gospodarek
2007-02-15 22:27   ` Holger Eitzenberger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.