[dpdk-dev] queue to VF assigment in SR-IOV

2016-06-13 Thread Alexander Duyck
On Mon, Jun 13, 2016 at 4:56 AM, Mauricio V?squez wrote: > Hello Alexander, > > On Tue, Jun 7, 2016 at 11:31 PM, Alexander Duyck gmail.com> > wrote: >> >> On Tue, Jun 7, 2016 at 1:49 PM, Mauricio V?squez >> wrote: >> > Dear All, >> > >

[dpdk-dev] Having troubles binding an SR-IOV VF to uio_pci_generic on Amazon instance

2015-10-02 Thread Alexander Duyck
On 10/02/2015 07:00 AM, Michael S. Tsirkin wrote: > On Thu, Oct 01, 2015 at 02:02:24PM -0700, Alexander Duyck wrote: >> validation and translation would add 10s if not 100s of nanoseconds to the >> time needed to process each packet. In addition we are talking about doing >>

[dpdk-dev] [PATCH 1/2] ixgbe: fix VF statistic wraparound handling macro

2015-10-12 Thread Alexander Duyck
On 10/12/2015 06:33 AM, Harry van Haaren wrote: > Fix a misinterpretation of VF stats in ixgbe > > Signed-off-by: Harry van Haaren > --- > drivers/net/ixgbe/ixgbe_ethdev.c | 8 ++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > > diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c > b/driv

[dpdk-dev] IXGBE RX packet loss with 5+ cores

2015-10-13 Thread Alexander Duyck
On 10/13/2015 07:47 AM, Sanford, Robert wrote: [Robert:] 1. The 82599 device supports up to 128 queues. Why do we see trouble with as few as 5 queues? What could limit the system (and one port controlled by 5+ cores) from receiving at line-rate without loss? 2. As far

[dpdk-dev] Question about unsupported transceivers

2015-10-13 Thread Alexander Duyck
On 10/13/2015 11:57 AM, Alex Forster wrote: > I believe I've discovered my problem: > https://gist.github.com/AlexForster/0fb4699bcdf196cf5462 > > As mentioned previously, I have two X520-Q1 cards installed. It appears that > initialization of the first card obeys allow_unsupported_sfp=1, but >

[dpdk-dev] Question about unsupported transceivers

2015-10-15 Thread Alexander Duyck
On 10/15/2015 07:46 AM, Alex Forster wrote: > On 10/13/15, 4:34 PM, "Alexander Duyck" wrote: > >> If you are using Intel's out-of-tree ixgbe driver I believe the module >> parameters are comma separated with one index per port. So if you have &

[dpdk-dev] Question about unsupported transceivers

2015-10-15 Thread Alexander Duyck
On 10/15/2015 08:43 AM, Alex Forster wrote: > On 10/15/15, 11:30 AM, "Alexander Duyck" wrote: > >> On 10/15/2015 07:46 AM, Alex Forster wrote: >>> On 10/13/15, 4:34 PM, "Alexander Duyck" >>> wrote: >>> >>>> If you are usin

[dpdk-dev] Question about unsupported transceivers

2015-10-15 Thread Alexander Duyck
On 10/15/2015 10:13 AM, Alex Forster wrote: > On 10/15/15, 12:17 PM, "Alexander Duyck" wrote: > > >> On 10/15/2015 08:43 AM, Alex Forster wrote: >>> On 10/15/15, 11:30 AM, "Alexander Duyck" >>> wrote: >>> >>>> On 10/15

[dpdk-dev] Question about unsupported transceivers

2015-10-15 Thread Alexander Duyck
On 10/15/2015 10:13 AM, Alex Forster wrote: > On 10/15/15, 12:17 PM, "Alexander Duyck" wrote: > > >> On 10/15/2015 08:43 AM, Alex Forster wrote: >>> On 10/15/15, 11:30 AM, "Alexander Duyck" >>> wrote: >>> >>>> On 10/15

[dpdk-dev] Question about unsupported transceivers

2015-10-19 Thread Alexander Duyck
On 10/18/2015 06:06 PM, Alex Forster wrote: > On 10/15/15, 3:53 PM, "Alexander Duyck" wrote: > > >>>> It looks like you are probably seeing interfaces be unbound and then >>>> rebound. As such you are likely pushing things outside of the array >&

[dpdk-dev] queue to VF assigment in SR-IOV

2016-06-07 Thread Alexander Duyck
On Tue, Jun 7, 2016 at 1:49 PM, Mauricio V?squez wrote: > Dear All, > > I implemented a program that uses flow director to forward packets to a > specific virtual function, however I faced the problem that I did not know > which queue belongs to a VF. I found in [1] that in the case of Intel > 825

[dpdk-dev] [PATCH 0/2] uio_msi: device driver

2015-10-01 Thread Alexander Duyck
On 10/01/2015 07:57 AM, Stephen Hemminger wrote: > On Thu, 1 Oct 2015 13:59:02 +0300 > Avi Kivity wrote: > >> On 10/01/2015 01:28 AM, Stephen Hemminger wrote: >>> This is a new UIO device driver to allow supporting MSI-X and MSI devices >>> in userspace. It has been used in environments like VMwa

[dpdk-dev] Having troubles binding an SR-IOV VF to uio_pci_generic on Amazon instance

2015-10-01 Thread Alexander Duyck
On 10/01/2015 06:14 AM, Michael S. Tsirkin wrote: > On Thu, Oct 01, 2015 at 01:07:13PM +0100, Bruce Richardson wrote: This in itself is going to use up a good proportion of the processing time, as well as that we have to spend cycles copying the descriptors from one ring in mem

[dpdk-dev] Having troubles binding an SR-IOV VF to uio_pci_generic on Amazon instance

2015-10-01 Thread Alexander Duyck
On 10/01/2015 02:42 AM, Michael S. Tsirkin wrote: > On Thu, Oct 01, 2015 at 12:22:46PM +0300, Avi Kivity wrote: >> even when they are some users >> prefer to avoid the performance penalty. > I don't think there's a measureable penalty from passing through the > IOMMU, as long as mappings are mostly

[dpdk-dev] [PATCH 0/2] uio_msi: device driver

2015-10-01 Thread Alexander Duyck
On 10/01/2015 03:00 PM, Stephen Hemminger wrote: > On Thu, 1 Oct 2015 12:48:36 -0700 > Alexander Duyck wrote: > >> On 10/01/2015 07:57 AM, Stephen Hemminger wrote: >>> On Thu, 1 Oct 2015 13:59:02 +0300 >>> Avi Kivity wrote: >>> >>>> On 10/01

[dpdk-dev] [PATCH 2/2] uio: new driver to support PCI MSI-X

2015-10-01 Thread Alexander Duyck
On 09/30/2015 03:28 PM, Stephen Hemminger wrote: > This driver allows using PCI device with Message Signalled Interrupt > from userspace. The API is similar to the igb_uio driver used by the DPDK. > Via ioctl it provides a mechanism to map MSI-X interrupts into event > file descriptors similar to V

[dpdk-dev] [PATCH 0/2] uio_msi: device driver

2015-10-01 Thread Alexander Duyck
On 10/01/2015 04:39 PM, Stephen Hemminger wrote: > On Thu, 1 Oct 2015 16:03:06 -0700 > Alexander Duyck wrote: > >> On 10/01/2015 03:00 PM, Stephen Hemminger wrote: >>> On Thu, 1 Oct 2015 12:48:36 -0700 >>> Alexander Duyck wrote: >>> >>>> On

[dpdk-dev] [PATCH 2/2] uio: new driver to support PCI MSI-X

2015-10-01 Thread Alexander Duyck
On 10/01/2015 05:01 PM, Stephen Hemminger wrote: > On Thu, 1 Oct 2015 16:40:10 -0700 > Alexander Duyck wrote: > >> I agree with some other reviewers. Why call pci_enable_msix in open? >> It seems like it would make much more sense to do this on probe, and >> then di

[dpdk-dev] [PATCH 0/2] uio_msi: device driver

2015-10-01 Thread Alexander Duyck
On 10/01/2015 05:04 PM, Stephen Hemminger wrote: > On Thu, 1 Oct 2015 16:43:23 -0700 > Alexander Duyck wrote: > >> Yes, but in the case of something like a VF it is going to just make a >> bigger mess of things since INTx doesn't work. So what would you expect >>

[dpdk-dev] [PATCH 2/2] uio: new driver to support PCI MSI-X

2015-10-01 Thread Alexander Duyck
On 10/01/2015 05:04 PM, Stephen Hemminger wrote: > On Thu, 1 Oct 2015 16:40:10 -0700 > Alexander Duyck wrote: > >> Do you really need to map IORESOURCE bars? Most drivers I can think of >> don't use IO BARs anymore. Maybe we could look at just dropping the >> cod

[dpdk-dev] [PATCH] fm10k: add missing newline to debug log

2015-07-16 Thread Alexander Duyck
On 07/16/2015 10:26 AM, Stephen Hemminger wrote: > If FM10K_DEBUG_DRIVER is enabled, then the log messages about > function entry are missing newline causing extremely long lines. > > Signed-off-by: Stephen Hemminger > --- > drivers/net/fm10k/base/fm10k_osdep.h | 2 +- > 1 file changed, 1 inser

[dpdk-dev] Any chance someone could fix the SPF records for this mailing list?

2015-06-03 Thread Alexander Duyck
I have noticed a number of emails from this list are going to spam. It looks like it might be gmail filtering based on the fact that most of the list has a valid SPF based on an IPv4 address that reports out like below: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.co

[dpdk-dev] Rx_missed_errors drops with larger packet size

2016-05-20 Thread Alexander Duyck
On Fri, May 20, 2016 at 2:09 AM, SwamZ wrote: > Hi, > > > While doing performance testing with larger packet size (like 4000 bytes), > we are seeing rx_missed_errors on the interface. This issue is not seen > with packet size less than 2000. There were questions asked in this forum > on rx_missed_