32 bit compatibility for getifaddrs()

2009-06-13 Thread Stef Walter
I've started running 64-bit FreeBSD (version 7.2) in production. I have a lot of old 6.3 32-bit jails I need to run as is for now. One problem I ran into is 32-bit getifaddrs() would crash accessing a 64-bit kernel via the sysctl NET_RT_IFLIST method. Attached is a patch that adds 32-bit compatib

Re: TCP Free-BSD setup behaviour.

2009-06-13 Thread Louis Mamakos
On Jun 10, 2009, at 9:47 AM, saravana perumal wrote: Hi , Have some behaviour change with FREEBSD compared to LINUX . You probably ought to verify the behavior against the protocol specifications, and not what some other TCP implementation happens to to. 1. When sending the Same

Re: Ethernet NIC drivers depending unconditionally on INET

2009-06-13 Thread Bjoern A. Zeeb
On Sat, 13 Jun 2009, Michael Tuexen wrote: On Jun 13, 2009, at 10:01 AM, Pyun YongHyeon wrote: On Sat, Jun 13, 2009 at 09:15:06AM +0200, Michael Tuexen wrote: On Jun 13, 2009, at 2:48 AM, Andrew Gallatin wrote: Michael Tuexen wrote: I'm not sure if we need additional IFCAP_RXCSUM6 IFCAP_T

Re: Ethernet NIC drivers depending unconditionally on INET

2009-06-13 Thread Michael Tuexen
On Jun 13, 2009, at 10:01 AM, Pyun YongHyeon wrote: On Sat, Jun 13, 2009 at 09:15:06AM +0200, Michael Tuexen wrote: On Jun 13, 2009, at 2:48 AM, Andrew Gallatin wrote: Michael Tuexen wrote: I'm not sure if we need additional IFCAP_RXCSUM6 IFCAP_TXCSUM6 capabilities... Why would we want to e

Re: Ethernet NIC drivers depending unconditionally on INET

2009-06-13 Thread Jack Vogel
I agree with Michael, I don't want to see this proliferation of capabilities, if you want checksum offload you get it whatever the IP type. Jack On Sat, Jun 13, 2009 at 1:01 AM, Pyun YongHyeon wrote: > On Sat, Jun 13, 2009 at 09:15:06AM +0200, Michael Tuexen wrote: > > On Jun 13, 2009, at 2:48

Re: Ethernet NIC drivers depending unconditionally on INET

2009-06-13 Thread Pyun YongHyeon
On Sat, Jun 13, 2009 at 09:15:06AM +0200, Michael Tuexen wrote: > On Jun 13, 2009, at 2:48 AM, Andrew Gallatin wrote: > > >Michael Tuexen wrote: > > > >> I'm not sure if we need additional IFCAP_RXCSUM6 IFCAP_TXCSUM6 > >> capabilities... Why would we want to enable IPv4 offloading and > >> not IPv

Re: Ethernet NIC drivers depending unconditionally on INET

2009-06-13 Thread Michael Tuexen
On Jun 13, 2009, at 2:48 AM, Andrew Gallatin wrote: Michael Tuexen wrote: > I'm not sure if we need additional IFCAP_RXCSUM6 IFCAP_TXCSUM6 > capabilities... Why would we want to enable IPv4 offloading and > not IPv6 or vice versa? I'd assume that some older hardware supports IPv4 offloads, but