if_bridge turns off checksum offload of members?



Greetings,

I just noticed, that when I add em network card to bridge the checksum offload is turned off.
I even put in my rc.conf:
ifconfig_em0="rxcsum up"
ifconfig_em1="rxcsum up"
but after reboot both em0 and em1 have this feature disabled.

Is this expected behavior? Should I care about csum in bridge mode?
I noticed that enabling checksum offload manually improve things little btw.

Also I'm experimenting with bridge performance and with today's 7-stable I can't reach
the results from my previous test with 7-current (before few months)

The best that bridge can do today is just 720kpps (just incoming) vs 1000kpps with sources from few months ago.
I'm using the same hardware and same configuration so I'm not sure why -stable is slower.

--

Best Wishes,
Stefan Lambrev
ICQ# 24134177

_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Packet corruption in re0 [checksum offloading]
    ... >>> behaviour as long as hardware tagging is enabled. ... >>Disabling VLAN HW tagging also turns off checksum offload on vlan ... In particular I'm thinking of the bridge where txcsum is> muted on devices while they are plumbed. ... But the point here is that we're losing mucho performance by blindly disabling features instead of providing host replacements so members of the bridge operate w/ full functionality. ...
    (freebsd-current)
  • Re: Public IP routing
    ... > setting network card on firewall machine ... > ip on second network card.. ... uping your interfaces for the bridge from /etc/hostname.if (without the need ... of any IPs or gateway address - which makes it a transparent bridge w/ FW, ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Network question
    ... The kids will be on Bethere, and the adults will be on zen, and we will reduce the zen bandwidth to pay for the second broadband. ... I imagine there is if we buy a mega-expensive router and then go on a course to learn how to use it, ... Set the 1st network card in the first machine to the same ip address range as the wireless adapter and put the 2nd network card to another address in that same address range. ... Then simply bridge the two network cards in each machine you can do this under everything XP and later by selecting the 2 network cards and choosing bridge. ...
    (uk.comp.homebuilt)
  • Re: Network question
    ... And the kids can find out all about what unlimited really ... the 2nd network card to another address in that same address range. ... Then simply bridge the two network cards in each machine you can do this ... 1st Machine on Router 1 ...
    (uk.comp.homebuilt)
  • Re: Photoshop CS2 fails to startup on OS X 10.5.7
    ... Izak van Langevelde wrote: ... Bridge has a similar problem. ... The only way to solve this is a reboot. ... If this is not correct then its something to do with the fonts. ...
    (comp.graphics.apps.photoshop)