----- Original Message ----- >Date: Mon, 7 Sep 2009 01:42:57 -0700 (PDT) >From: Somnath kotur <[email protected]> >To: [email protected] >Subject: [driver-discuss] Generic linked list implementation in kernel > > >Hi All, > Is there a generic linked list implementation in Solaris 10 U7 alon g with usage examples in the kernel ala linux? I see that even the e1000g driv er seems to use it's own linked list implementation.,just wanted to know is th ere any particular reason for this? I see a <sys/list.h> and a list.c but now many users of this ? Pls correct me if i am wrong and /or point me to it's usa ge /semantics? > >Thanks >Som
In solaris, kernel functions which drivers can use, are officially documented. They are called as DDI/DKI interface and stable, which means the specification won't be changed. They are listed by man -s 9f intro. I think the generic linked list operations are not included in DDI/DKI. So, solaris device drivers should not use functions defined in <sys/list.h>. -masa > > > >----- Original Message ---- >From: Masa Murayama <[email protected]> >To: Vishal Ahuja <[email protected]> >Cc: [email protected] >Sent: Saturday, September 5, 2009 3:03:43 PM >Subject: Re: [driver-discuss] e1000g receive interrupt coalescing > >----- Original Message ----- >>From: Vishal Ahuja <[email protected]> >>Date: Fri, 4 Sep 2009 10:25:28 -0700 >>To: [email protected] >>Subject: [driver-discuss] e1000g receive interrupt coalescing >> >> >>Sorry, if this message is a duplicate. I posted once without joining the >>list, so I am not sure if that was received by everyone. >> >>I am trying to figure out the distribution of the number of packets that the >>receive interrupt processes. With each interrupt, the NIC would transfer a >>number of packets together, and that number would depend on: >>- intr_throttling_rate, or >>- the combination of rx_intr_delay and rx_intr_abs_delay >> >>Can someone please give me some further pointers. >> >>Thanks, >>Vish > >You can get 8254x datasheet which intel published. >Please search 8254x_GBe_SDM.pdf in the net. > >-masa >> >>----- inline ----- >>_______________________________________________ >>driver-discuss mailing list >>[email protected] >>http://mail.opensolaris.org/mailman/listinfo/driver-discuss > >_______________________________________________ >driver-discuss mailing list >[email protected] >http://mail.opensolaris.org/mailman/listinfo/driver-discuss > > > > >_______________________________________________ >driver-discuss mailing list >[email protected] >http://mail.opensolaris.org/mailman/listinfo/driver-discuss _______________________________________________ driver-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/driver-discuss
