Re: ether_input question

2007-03-16 Thread Aniruddha Bohra
Robert Watson wrote: On Fri, 16 Mar 2007, Aniruddha Bohra wrote: My question is : Does ether_input() assume it is the only thread executing the code? If it is the case, what is the reason for dropping the lock in the DEVICE_POLLING case? I can't speak to the details of the above, bu

ether_input question

2007-03-16 Thread Aniruddha Bohra
Hi, In two drivers, fxp and em, the assumptions about entering the ether_input routine are different. From em_rxeof: #ifdef DEVICE_POLLING EM_UNLOCK() (*ifp->if_input)() EM_UNLOCK() #else (*ifp->if_input)() #endif While in fxp: FXP_UNLOCK() (*ifp->if_input)() FXP_LOCK() My question is : Do

[PATCH] Removal of redundant entries from ifnet manpage

2007-03-12 Thread Aniruddha Bohra
Hi, The ifnet manpage contains entries for the following routines which do not exist in the ifnet struct. The attached patch removes these entries. if_done if_poll_recv if_poll_xmit if_poll_inttrn if_poll_slowinput Thanks Aniruddha Index: ifnet.9 =

Re: Van Jacobson's network stack restructure

2006-02-01 Thread Aniruddha Bohra
Greg 'groggy' Lehey wrote: Last week, at the Linux.conf.au in Dunedin, Van Jacobson presented some slides about work he has been doing rearchitecting the Linux network stack. He claims to have reduced the CPU usage by 80% and doubled network throughput (he expects more, but it was limited by me

tcp_usrreq bug ??

2002-12-03 Thread Aniruddha Bohra
Hello The following code snippet is from netinet/tcp_usrreq.c As in the comment (and presumably correct behaviour) a RST should be sent on close if the connection is embryonic. However, if (tp->t_state < TCPS_ESTABLISHED) tp = tcp_close(tp); does not do it. One can imagine a scenario when a

bge driver problems

2002-12-02 Thread Aniruddha Bohra
Hello I have been trying to get the 3Com 996 BT gigabit network interface (bge) to work on FreeBSD 4.3 Release. I got the driver from : http://www.freebsd.org/~wpaul/Broadcom/4.x/bcm570x_drv.tar.gz I have two machines with the interfaces connected via a crossover cable and have not been able t