Re: What does adapter-stats.mpc[] report for ixgbe?

2012-05-08 Thread Vijay Singh
On Mon, May 7, 2012 at 10:16 PM, Jack Vogel jfvo...@gmail.com wrote: Juli is correct, the FIFO is not partitioned by the driver queues as they exist in the current driver, its only seperated into the 3 parts I mentioned. I am running ixgbe code from 8.1, and IXGBE_FDIR isn't defined, so is the

Re: What does adapter-stats.mpc[] report for ixgbe?

2012-05-08 Thread Jack Vogel
No, that's just standard setup stuff for MSIX. Jack On Tue, May 8, 2012 at 12:08 AM, Vijay Singh vijju.si...@gmail.com wrote: On Mon, May 7, 2012 at 10:16 PM, Jack Vogel jfvo...@gmail.com wrote: Juli is correct, the FIFO is not partitioned by the driver queues as they exist in the current

What does adapter-stats.mpc[] report for ixgbe?

2012-05-07 Thread Vijay Singh
Hi, a question for jfv@ or whoever else is familiar with the ixgbe driver - I am looking at a system where the adapter reports a large number of ierrors that I traced to this stat. What does this mean? Intuitively it seems like the receive ring isn't being drained fast enough but wanted to confirm

Re: What does adapter-stats.mpc[] report for ixgbe?

2012-05-07 Thread Jack Vogel
This is 'missed packet count', the index has actually been misinterpreted in the code for a while, it was mistakenly associated with queues, but its really per packet buffer, and there are only more than one when there are multiple traffic classes (ala DCB). Even so, only MPC(0) should get

Re: What does adapter-stats.mpc[] report for ixgbe?

2012-05-07 Thread Juli Mallett
While we're on the subject, I've had some confusion for some time now: On Mon, May 7, 2012 at 5:25 PM, Jack Vogel jfvo...@gmail.com wrote: Packets are missed when the receive FIFO has insufficient space to store the incoming packet. This means the on-card FIFO, i.e. the fixed-size FIFO that is

Re: What does adapter-stats.mpc[] report for ixgbe?

2012-05-07 Thread Jack Vogel
On Mon, May 7, 2012 at 5:31 PM, Juli Mallett jmall...@freebsd.org wrote: While we're on the subject, I've had some confusion for some time now: On Mon, May 7, 2012 at 5:25 PM, Jack Vogel jfvo...@gmail.com wrote: Packets are missed when the receive FIFO has insufficient space to store the

Re: What does adapter-stats.mpc[] report for ixgbe?

2012-05-07 Thread Vijay Singh
normal net traffic. But for now in FreeBSD its just one which is divided into 3 parts: TX, RX, and FDIR (flow director). Jack, does the sw driver control in any way the partitioning of the FIFO? I guess enabling 2 hw queues splits the FIFO in half. But otherwise does the driver control this in

Re: What does adapter-stats.mpc[] report for ixgbe?

2012-05-07 Thread Juli Mallett
On Mon, May 7, 2012 at 9:42 PM, Vijay Singh vijju.si...@gmail.com wrote: normal net traffic. But for now in FreeBSD its just one which is divided into 3 parts: TX, RX, and FDIR (flow director). Jack, does the sw driver control in any way the partitioning of the FIFO? I guess enabling 2 hw

Re: What does adapter-stats.mpc[] report for ixgbe?

2012-05-07 Thread Jack Vogel
Juli is correct, the FIFO is not partitioned by the driver queues as they exist in the current driver, its only seperated into the 3 parts I mentioned. Jack On Mon, May 7, 2012 at 9:55 PM, Juli Mallett jmall...@freebsd.org wrote: On Mon, May 7, 2012 at 9:42 PM, Vijay Singh