Discussion:
bge(4) ipcsum and bridge(4) don't mix?
(too old to reply)
Hauke Fath
2007-12-19 11:18:32 UTC
Permalink
Hi,

I have an i386 netbsd-4 machine that I want to run Xen. For
networking the domU clients, I have set up a bridge per the FAQ:

ifconfig bridge0 create
brconfig bridge0 add bge0
brconfig bridge0 up

Now, I just noticed that when I 'ifconfig bge0 ip4csum' on the
onboard bge0 interface

[...]
bge0 at pci2 dev 3 function 0: Broadcom BCM5704C Dual Gigabit Ethernet
ioapic1: int8
1a9a8<vector=a8,delmode=1,logical,actlo,level,masked,dest=0>
3000000<target=3>
bge0: interrupting at ioapic1 pin 8, event channel 5
bge0: ASIC unknown BCM5704 (0x2100), Ethernet address 00:30:48:61:fb:8e
brgphy0 at bge0 phy 1: BCM5704 1000BASE-T media interface, rev. 0
brgphy0: using BCM5704 DSP patch
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto
[...]

all IP traffic stops dead. Setting {tcpcsum,udpcsum} on bge0 is fine.
Without adding bge0 to the bridge, OTOH, the interface runs fine with
ipcsum enabled.

Is this a known issue with bge(4) and bridge(4)? Shound I send-pr?

hauke
--
The ASCII Ribbon Campaign Hauke Fath
() No HTML/RTF in email Institut für Nachrichtentechnik
/\ No Word docs in email TU Darmstadt
Respect for open standards Ruf +49-6151-16-3281

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Hauke Fath
2007-12-19 11:32:16 UTC
Permalink
Post by Hauke Fath
all IP traffic stops dead. Setting {tcpcsum,udpcsum} on bge0 is
fine. Without adding bge0 to the bridge, OTOH, the interface runs
fine with ipcsum enabled.
Not true: Any hardware checksum calculation enabled on a bge(4)
member of bridge(4) appears to kill networking.

hauke
--
The ASCII Ribbon Campaign Hauke Fath
() No HTML/RTF in email Institut für Nachrichtentechnik
/\ No Word docs in email TU Darmstadt
Respect for open standards Ruf +49-6151-16-3281

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Loading...