Re: [networking-discuss] partial checksum *all Sun NICs broken?* *URGENT*

2007-07-30 Thread Garrett D'Amore
On Mon, 2007-07-30 at 22:32 -0400, Bill Sommerfeld wrote: > Garrett left out the real motivation for my strong objection: > > primarily: > - UDP's special handling of the zeros checksum means that packets which > checksum to 0 can be undetectably corrupted downstream unless the udp > checksum is

Re: [networking-discuss] partial checksum *all Sun NICs broken?* *URGENT*

2007-07-30 Thread Bill Sommerfeld
Garrett left out the real motivation for my strong objection: primarily: - UDP's special handling of the zeros checksum means that packets which checksum to 0 can be undetectably corrupted downstream unless the udp checksum is correctly encoded as all-ones (the one's complement -0). secondarily:

Re: [networking-discuss] dead code related to NCE_F_PROXY

2007-07-30 Thread Peter Memishian
> There appears to be a fetal implementation or ND Proxy in ip_ndp.c (see > references to NCE_F_PROXY) whose origins are a bit of a mystery. The > flag and the code surrounding it (currently the dangling NDF_PROXY_ON and > NDF_PROXY_OFF flags for the SIOCLIFSETND ioctl, and twiddling the

[networking-discuss] partial checksum *all Sun NICs broken?* *URGENT*

2007-07-30 Thread Garrett D'Amore
As part of the effort to putback a fix for 6587116 (which impacts checksum offload on my recent hme for cases where the packet is too small), the code reviewer (Bill Sommerfeld) asked about the difference between the handling of TCP vs. UDP checksums. (Specifically what happens when the checksum c

Re: [networking-discuss] [brussels-dev] [driver-discuss] pausel bits setting within Solaris

2007-07-30 Thread sowmini . varadhan
[replacing all the opensolaris groups that I dropped by mistake] On (07/30/07 14:12), Garrett D'Amore wrote: > > On Mon, 2007-07-30 at 16:38 -0400, [EMAIL PROTECTED] wrote: > > On (07/26/07 11:17), Garrett D'Amore wrote: > > > peer=>nonetxrxboth > > > adv > > >none n

[networking-discuss] dead code related to NCE_F_PROXY

2007-07-30 Thread Sebastien Roy
There appears to be a fetal implementation or ND Proxy in ip_ndp.c (see references to NCE_F_PROXY) whose origins are a bit of a mystery. The flag and the code surrounding it (currently the dangling NDF_PROXY_ON and NDF_PROXY_OFF flags for the SIOCLIFSETND ioctl, and twiddling the override bit

Re: [networking-discuss] packet filter hooks api and 5.10

2007-07-30 Thread Darren Reed
Fred Medlin wrote: > I've developed a driver/application based on the pfhooks api on x86 > hardware using 5.11 snv_55b. > > Now, trying to port to Sparc hardware, I'm seeing SunOS 5.10 > Generic_118833-18. There is no /usr/include/sys/neti.h header. > Are there other options besides 1) installin

Re: [networking-discuss] problems with vlan and legacy devices

2007-07-30 Thread Garrett D'Amore
James Carlson wrote: > Garrett D'Amore writes: > >> This creates a problem, as Nemo/GLDv3 does not provide a way for NICs to >> advertise whether or not they can support such VLAN frames. >> > > For what it's worth, GLDv2 had such a mechanism (gldm_send_tagged), > described in PSARRC 2002/

Re: [networking-discuss] problems with vlan and legacy devices

2007-07-30 Thread James Carlson
Garrett D'Amore writes: > This creates a problem, as Nemo/GLDv3 does not provide a way for NICs to > advertise whether or not they can support such VLAN frames. For what it's worth, GLDv2 had such a mechanism (gldm_send_tagged), described in PSARRC 2002/721. -- James Carlson, Solaris Networking

Re: [networking-discuss] query about PPP configuration (solaris 10)

2007-07-30 Thread James Carlson
Sebastien Roy writes: > > 2. customer wants to use /etc/ppp/ip-up script, but in the case there > > are multiple PPP peers, does he need to use multiple ip-up files ? ( He > > wants configure each ppp link differently ) > > This can be done by having the ip-up script differentiate between the >

Re: [networking-discuss] query about PPP configuration (solaris 10)

2007-07-30 Thread Sebastien Roy
Judith Zhu wrote: > I want to query about PPP configuration (solaris 10) > > 1. Is there any way to set a delay in chat script ? > for example, AT command is run and then after several seconds's delay , > ATDT is run. The chat(1M) man page states that the \d escape sequence results in a one se

Re: [networking-discuss] New send and receive socket calls

2007-07-30 Thread Kacheong Poon
Bart Smaalders wrote: > Kacheong's design involves either a call to port_getn or a call to > select/poll., followed by a call to his new function, recvfrom_list(): A correction, Stephen Uhler proposed this. > while (1) { > select(...) /* get list of active sockets */ > recvfrom_lis

[networking-discuss] query about PPP configuration (solaris 10)

2007-07-30 Thread Judith Zhu
Hi all, I want to query about PPP configuration (solaris 10) 1. Is there any way to set a delay in chat script ? for example, AT command is run and then after several seconds's delay , ATDT is run. 2. customer wants to use /etc/ppp/ip-up script, but in the case there are multiple PPP peers,

Re: [networking-discuss] [driver-discuss] [brussels-dev] pausel bits setting within Solaris

2007-07-30 Thread Raymond LI - Sun Microsystems - Beijing China
Joost Mulders wrote: >> We want to leave ieee802.3 beneath the scene >> > I agree that drivers must maintain a "well defined" set of statistics. > ieee802.3(5) is a good starting point for now but the set probable will > need expansion in the future. For example, 10Gb is not in ieee802.3(5)

Re: [networking-discuss] [driver-discuss] [brussels-dev] pausel bits setting within Solaris

2007-07-30 Thread Joost Mulders
> We want to leave ieee802.3 beneath the scene I agree that drivers must maintain a "well defined" set of statistics. ieee802.3(5) is a good starting point for now but the set probable will need expansion in the future. For example, 10Gb is not in ieee802.3(5) and also the max size of jumbo fram

Re: [networking-discuss] problems with vlan and legacy devices

2007-07-30 Thread Cathy Zhou
Garrett D'Amore wrote: > Cathy Zhou wrote: >> Garrett D'Amore wrote: >>> One of the problems I've found recently is that some certain legacy >>> devices that should be able to support GLDv3 might not be able to >>> support full size VLAN frames. >>> >>> This creates a problem, as Nemo/GLDv3 does

Re: [networking-discuss] [brussels-dev] [driver-discuss] pausel bits setting within Solaris

2007-07-30 Thread Raymond LI - Sun Microsystems - Beijing China
Guys: Could we conclude we could implements pause control like below? We want to leave ieee802.3 beneath the scene while providing user with a UI which makes more sense. /* We use 0/1 to represent "off/on" respectively. */ Default: accept_pause = send_pause = 1; UI: accept_pause = 1, send_paus

Re: [networking-discuss] problems with vlan and legacy devices

2007-07-30 Thread Garrett D'Amore
Cathy Zhou wrote: > Garrett D'Amore wrote: >> One of the problems I've found recently is that some certain legacy >> devices that should be able to support GLDv3 might not be able to >> support full size VLAN frames. >> >> This creates a problem, as Nemo/GLDv3 does not provide a way for NICs >>