Using device.hints to determine network device unit number

2009-01-13 Thread Yehonatan Yossef
Hi, I would like to determine the unit number of my network cards, make the device on pci0:16 appear always as mtnic0 and pci0:9 appear always as mtnic1. # pciconf -l | grep mtnic mtn...@pci0:19:0:0: class=0x02 card=0x001715b3 chip=0x636815b3 rev=0xa0 hdr=0x00 mtn...@pci0:16:0:0: c

Detecting network memory leaks using netstat -m

2008-12-14 Thread Yehonatan Yossef
Hi All, I'm trying to find out whether my ethernet driver is leaking. I just found out about netstat -m, but I don't understand some of it's output. Can somebody explain me what is "mbuf+clusters out of packet secondary zone in use" ? My output shows it raised significantly during equilibrium aft

RE: OS throws away large packets

2008-04-29 Thread Yehonatan Yossef
> >>> Hi all, > >>> > >>> I'm trying to implement Large Recieve Offload for an > >>> > >> Ethernet driver > >> > >>> on FreeBSD 6.3, but all my >MTU packets are being thrown > by the OS. > >>> I'm using mbuf chains in this imlpementation, each mbuf is > >>> > >> a cluster > >>

RE: OS throws away large packets

2008-04-29 Thread Yehonatan Yossef
> -Original Message- > From: Tom Judge [mailto:[EMAIL PROTECTED] > Sent: Monday, April 28, 2008 8:21 PM > To: Mr Y > Cc: freebsd-questions@freebsd.org; [EMAIL PROTECTED] > Subject: Re: OS throws away large packets > > Mr Y wrote: > > Hi all, > > > > I'm trying to implement Large Recie

kldload: unexpected relocation type 10

2008-03-16 Thread Yehonatan Yossef
I'm getting tons of this message when loading my module: kldload: unexpected relocation type 10 I'm using a simple Makefile including a slightly modified bsd.kmod.mk (I've removed the -strip-debug flag) ___ freebsd-questions@freebsd.org mailing list ht

Makefile execution on 6.3

2008-03-04 Thread Yehonatan Yossef
mpiling and since then I only get: `mtnic_ver.h' is up to date. Is there any configuration I accidently changed for 'make' to make it create $KMOD? Thanks Yehonatan Yossef Mellanox Technologies Office: +972-4-9097200 ext. 301 Cell: +972-54-2345031 ([EMAIL PROTECTED]) _

RE: Capturing dmesg upon system crash on 6.3

2008-02-26 Thread Yehonatan Yossef
> > > > > > I'm facing a system reboot upon loading of the driver, and > > > > > > > > > > I could use > > > > > > > > > > > a tool for capturing dmesg upon system crash (such as > > > > > > netconsole > > > > > > > > > on Linux). > > > > > > > > > > Your kernel isn't setup for driver development:

RE: Capturing dmesg upon system crash on 6.3

2008-02-25 Thread Yehonatan Yossef
> On Monday 25 February 2008 13:32:01 Yehonatan Yossef wrote: > > > > I'm facing a system reboot upon loading of the driver, and > > > > > > I could use > > > > > > > a tool for capturing dmesg upon system crash (such as > netconso

RE: Capturing dmesg upon system crash on 6.3

2008-02-25 Thread Yehonatan Yossef
em. I'm currently porting Mellanox ethernet driver, InfiniBand will be probably next. Mail me outside this list if you're interested in InfiniBand. Yehonatan Yossef Mellanox Technologies INC Office: +972-4-9097200 ext. 301 Cell: +972-54-2345031 ([EMAIL PROTECTED]) > -Original Messa

RE: Capturing dmesg upon system crash on 6.3

2008-02-25 Thread Yehonatan Yossef
> > I'm facing a system reboot upon loading of the driver, and > I could use > > a tool for capturing dmesg upon system crash (such as netconsole on > > Linux). > > Your kernel isn't setup for driver development: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-ha > ndbook/kernelde

Capturing dmesg upon system crash on 6.3

2008-02-25 Thread Yehonatan Yossef
Sorry for sending this to three mailing lists, but I don't really know which one is active and relevant to this question. Cheers, Yehonatan Yossef Mellanox Technologies INC Office: +972-4-9097200 ext. 301 Cell: +972-54-2345031 ([EMAIL PROTECTED] )