>-----Original Message----- >From: Ben Greear [mailto:[email protected]] >Sent: Tuesday, February 21, 2012 10:09 AM >To: Wyborny, Carolyn >Cc: e1000-devel list >Subject: Re: [E1000-devel] Question on igb and rx-fcs. > >On 02/21/2012 09:51 AM, Wyborny, Carolyn wrote: >>> -----Original Message----- >>> From: Ben Greear [mailto:[email protected]] >>> Sent: Monday, February 20, 2012 3:09 PM >>> To: e1000-devel list >>> Subject: [E1000-devel] Question on igb and rx-fcs. >>> >>> I'm trying to write a patch to allow rx-fcs on the igb driver >>> (82580 chipset). >>> >>> I tried the patch below, but when I then enable rx-fcs, traffic >>> rx breaks and I see Rx-FIFO error counts increasing. I'm testing >>> with 1024 byte UDP payloads, at 56kpbs. >>> >>> First, if anyone sees an obvious problem with the patch, please >>> let me know...but more importantly, what developer's manual >>> is valid for the igb supported hardware? I found the '316080.pdf' >>> that seems valid for e1000e, but I'm not sure it works for igb >>> as well? >> [...] >> >> The hardware can behave differently for a given feature and the igb >drivers supports a different set of hardware than e1000e. For igb, we >support 82575 and greater (82576, 82580, i350). The best bet is the >Datasheet for the 825XX you're working with. Here's the datasheet for >82580. http://download.intel.com/design/network/datashts/321027.pdf. >I'll take a look at your patch and the datasheet as well and see if I >can find anything to help. > >Thanks for the datasheet pointer. > >I did a quick search for SECRC, and section 8.8.2.7 mentions the SECRC >bits are >ignored if some virtual machine logic is enabled. I'm not using any >virtual >machines, but perhaps that logic is enabled anyway? > [..] Yeah, it shouldn't be enabled though if you aren't configuring the virtualization nor using a virtualized os. Hmm.., seems that rx_fifo_errors is an accumulation stat and I think there's also a typo in that spec as it lists a stat that doesn't exist anywhere else in the document. I'll dig around a bit more on this, but basically, as you can probably see, you're dropping those packets. If you set the RCTL_SBP bit in the driver, you can accumulate the different errors and see exactly what is going wrong there. I could give you a patch to do that. Are you using upstream in kernel version or a standalone version of the igb driver?
Thanks, Carolyn Carolyn Wyborny Linux Development LAN Access Division Intel Corporation ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ E1000-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired
