[dpdk-dev] [PATCH v2 5/5] Revert "bonding: use existing enslaved device queues"

2016-11-24 Thread Jan Blunck
&& (ops_index < RTE_MEMPOOL_MAX_OPS_IDX)" failed Cc: Signed-off-by: Ilya Maximets Acked-by: Declan Doherty Acked-by: Declan Doherty Acked-by: Jan Blunck --- drivers/net/bonding/rte_eth_bond_pmd.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/net/bonding

[dpdk-dev] [PATCH v2 4/5] net/bonding: Force reconfiguration of removed slave interfaces

2016-11-24 Thread Jan Blunck
After a slave interface is removed from a bond group it still has the configuration of the bond interface. Lets enforce that the slave interface is reconfigured after removal by resetting it. Signed-off-by: Jan Blunck --- drivers/net/bonding/rte_eth_bond_pmd.c | 3 +++ 1 file changed, 3

[dpdk-dev] [PATCH v2 3/5] ethdev: Add DPDK internal _rte_eth_dev_reset()

2016-11-24 Thread Jan Blunck
This is a helper for DPDK internal users to force a reconfiguration of a device. Signed-off-by: Jan Blunck --- lib/librte_ether/rte_ethdev.c | 16 lib/librte_ether/rte_ethdev.h | 13 + lib/librte_ether/rte_ether_version.map | 6 ++ 3 files

[dpdk-dev] [PATCH v2 2/5] ethdev: Free rx/tx_queues after releasing all queues

2016-11-24 Thread Jan Blunck
If all queues are released lets also free up the dev->data->rx/tx_queues to be able to properly reinitialize. Signed-off-by: Jan Blunck --- lib/librte_ether/rte_ethdev.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c

[dpdk-dev] [PATCH v2 1/5] ethdev: Call rx/tx_queue_release before rx/tx_queue_setup

2016-11-24 Thread Jan Blunck
If a queue has been setup before lets release it before we setup. Otherwise we might leak resources. Signed-off-by: Jan Blunck --- lib/librte_ether/rte_ethdev.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c

[dpdk-dev] [PATCH v2 0/5] bonding: setup all queues of slave devices

2016-11-24 Thread Jan Blunck
already initialized queues before they are setup again. Therefore the driver call sequence is as if the number of queues is temporarily reduced before the queues are setup again. Ilya Maximets (1): Revert "bonding: use existing enslaved device queues" Jan Blunck (4): ethde

[dpdk-dev] [PATCH 4/4] bond: Force reconfiguration of removed slave interfaces

2016-11-23 Thread Jan Blunck
After a slave interface is removed from a bond group it still has the configuration of the bond interface. Lets enforce that the slave interface is reconfigured after removal by resetting it. Signed-off-by: Jan Blunck --- drivers/net/bonding/rte_eth_bond_pmd.c | 3 +++ 1 file changed, 3

[dpdk-dev] [PATCH 3/4] ethdev: Add DPDK internal _rte_eth_dev_reset()

2016-11-23 Thread Jan Blunck
This is a helper for DPDK internal users to force a reconfiguration of a device. Signed-off-by: Jan Blunck --- lib/librte_ether/rte_ethdev.c | 15 +++ lib/librte_ether/rte_ethdev.h | 13 + lib/librte_ether/rte_ether_version.map | 6 ++ 3 files

[dpdk-dev] [PATCH 2/4] ethdev: Free rx/tx_queues after releasing all queues

2016-11-23 Thread Jan Blunck
If all queues are released lets also free up the dev->data->rx/tx_queues to be able to properly reinitialize. Signed-off-by: Jan Blunck --- lib/librte_ether/rte_ethdev.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c

[dpdk-dev] [PATCH 1/4] ethdev: Call rx/tx_queue_release before rx/tx_queue_setup

2016-11-23 Thread Jan Blunck
If a queue has been setup before lets release it before we setup. Otherwise we might leak resources. Signed-off-by: Jan Blunck --- lib/librte_ether/rte_ethdev.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c

[dpdk-dev] [PATCH 2/7] eal: Helper to convert to struct rte_pci_device

2016-11-21 Thread Jan Blunck
On Sun, Nov 20, 2016 at 4:20 PM, David Marchand wrote: > Hello Jan, > > On Sun, Nov 20, 2016 at 11:05 AM, Jan Blunck wrote: >> Signed-off-by: Jan Blunck >> --- >> lib/librte_eal/common/include/rte_pci.h | 2 ++ >> 1 file changed, 2 insertions(+) >> >&g

[dpdk-dev] [PATCH v2 8/8] ethdev: Decouple interrupt handling from PCI device

2016-11-21 Thread Jan Blunck
The struct rte_intr_handle is an abstraction layer for different types of interrupt mechanisms. It is embedded in the low-level device (e.g. PCI). On allocation of a struct rte_eth_dev a reference to the intr_handle should be stored for devices supporting interrupts. Signed-off-by: Jan Blunck

[dpdk-dev] [PATCH v2 7/8] ethdev: Move filling of rte_eth_dev_info->pci_dev to dev_infos_get()

2016-11-21 Thread Jan Blunck
Only the device itself can decide its PCI or not. Signed-off-by: Jan Blunck --- drivers/net/bnx2x/bnx2x_ethdev.c| 1 + drivers/net/bnxt/bnxt_ethdev.c | 2 ++ drivers/net/cxgbe/cxgbe_ethdev.c| 2 ++ drivers/net/e1000/em_ethdev.c | 1 + drivers/net/e1000

[dpdk-dev] [PATCH v2 6/8] virtio: Don't depend on struct rte_eth_dev's pci_dev

2016-11-21 Thread Jan Blunck
We don't need to depend on rte_eth_dev->pci_dev to differentiate between the virtio_user and the virtio_pci case. Instead we can use the private virtio_hw struct to get that information. Signed-off-by: Jan Blunck --- drivers/net/virtio/virtio_ethdev.c | 21 ++--- 1 file chan

[dpdk-dev] [PATCH v2 5/8] virtio: Add vtpci_intr_handle() helper to get rte_intr_handle

2016-11-21 Thread Jan Blunck
This adds a helper to get the rte_intr_handle from the virtio_hw. This is safe to do since the usage of the helper is guarded by RTE_ETH_DEV_INTR_LSC which is only set if we found a PCI device during initialization. Signed-off-by: Jan Blunck --- drivers/net/virtio/virtio_ethdev.c | 12

[dpdk-dev] [PATCH v2 3/8] drivers: Use ETH_DEV_PCI_DEV() helper

2016-11-21 Thread Jan Blunck
The drivers should not directly access the rte_eth_dev->pci_dev but use a macro instead. This is a preparation for replacing the pci_dev with a struct rte_device member in the future. Signed-off-by: Jan Blunck --- drivers/net/bnxt/bnxt_ethdev.c | 19 ++- drivers/net/b

[dpdk-dev] [PATCH v2 2/8] ethdev: Helper to convert to struct rte_pci_device

2016-11-21 Thread Jan Blunck
Signed-off-by: Jan Blunck --- lib/librte_ether/rte_ethdev.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h index 9678179..3adbb2b 100644 --- a/lib/librte_ether/rte_ethdev.h +++ b/lib/librte_ether/rte_ethdev.h @@ -1644,6

[dpdk-dev] [PATCH v2 1/8] eal: define container_of macro

2016-11-21 Thread Jan Blunck
This macro is based on Jan Viktorin's original patch but also checks the type of the passed pointer against the type of the member. Signed-off-by: Jan Viktorin Signed-off-by: Shreyansh Jain [jblunck at infradead.org: add type checking and __extension__] Signed-off-by: Jan Blunck --- lib

[dpdk-dev] [RFC PATCH 0/6] Restructure EAL device model for bus support

2016-11-21 Thread Jan Blunck
On Mon, Nov 21, 2016 at 10:08 AM, Thomas Monjalon wrote: > 2016-11-20 16:30, David Marchand: >> For a first patchset, I would see: >> - introduce the rte_bus object. In rte_eal_init, for each bus, we call >> the scan method. Then, for each bus, we find the appropriate >> rte_driver using the bus

[dpdk-dev] [PATCH 7/7] ethdev: Move filling of rte_eth_dev_info->pci_dev to dev_infos_get()

2016-11-20 Thread Jan Blunck
Only the device itself can decide its PCI or not. Signed-off-by: Jan Blunck --- drivers/net/bnx2x/bnx2x_ethdev.c| 1 + drivers/net/bnxt/bnxt_ethdev.c | 2 ++ drivers/net/cxgbe/cxgbe_ethdev.c| 2 ++ drivers/net/e1000/em_ethdev.c | 1 + drivers/net/e1000

[dpdk-dev] [PATCH 5/7] virtio: Add vtpci_intr_handle() helper to get rte_intr_handle

2016-11-20 Thread Jan Blunck
This adds a helper to get the rte_intr_handle from the virtio_hw. This is safe to do since the usage of the helper is guarded by RTE_ETH_DEV_INTR_LSC which is only set if we found a PCI device during initialization. Signed-off-by: Jan Blunck --- drivers/net/virtio/virtio_ethdev.c | 12

[dpdk-dev] [PATCH 4/7] virtio: Don't fill dev_info->driver_name

2016-11-20 Thread Jan Blunck
This is overwritten in rte_eth_dev_info_get(). Signed-off-by: Jan Blunck --- drivers/net/virtio/virtio_ethdev.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/net/virtio/virtio_ethdev.c b/drivers/net/virtio/virtio_ethdev.c index 079fd6c..741688e 100644 --- a/drivers/net/virtio

[dpdk-dev] [PATCH 3/7] drivers: Use ETH_DEV_PCI_DEV() helper

2016-11-20 Thread Jan Blunck
The drivers should not directly access the rte_eth_dev->pci_dev but use a macro instead. This is a preparation for replacing the pci_dev with a struct rte_device member in the future. Signed-off-by: Jan Blunck --- drivers/net/bnxt/bnxt_ethdev.c | 19 ++- drivers/net/b

[dpdk-dev] [PATCH 2/7] eal: Helper to convert to struct rte_pci_device

2016-11-20 Thread Jan Blunck
Signed-off-by: Jan Blunck --- lib/librte_eal/common/include/rte_pci.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/librte_eal/common/include/rte_pci.h b/lib/librte_eal/common/include/rte_pci.h index 9ce8847..0376160 100644 --- a/lib/librte_eal/common/include/rte_pci.h +++ b/lib

[dpdk-dev] [PATCH v2 2/2] Move non-PCI related eth_dev initialization to rte_eth_dev_allocate()

2016-11-17 Thread Jan Blunck
This moves the non-PCI related initialization of the link state interrupt callback list and the setting of the default MTU to rte_eth_dev_allocate() so that drivers only need to set non-default values. Signed-off-by: Jan Blunck --- app/test/virtual_pmd.c | 2 -- drivers/net

[dpdk-dev] [PATCH v2 1/2] Clear eth_dev->data in rte_eth_dev_allocate()

2016-11-17 Thread Jan Blunck
Lets clear the eth_dev->data when allocating a new rte_eth_dev so that drivers only need to set non-zero values. Signed-off-by: Jan Blunck --- drivers/net/bonding/rte_eth_bond_api.c | 7 --- drivers/net/mlx4/mlx4.c| 1 - drivers/net/mlx5/mlx5.c| 1 - driv

[dpdk-dev] [RFC PATCH 0/6] Restructure EAL device model for bus support

2016-11-17 Thread Jan Blunck
On Thu, Nov 17, 2016 at 2:08 PM, Shreyansh Jain wrote: > On Thursday 17 November 2016 05:25 PM, Jan Blunck wrote: >> >> On Thu, Nov 17, 2016 at 6:29 AM, Shreyansh Jain >> wrote: >>> >>> DPDK has been inherently a PCI inclined framework. Because of this,

[dpdk-dev] [PATCH 2/2] Move non-PCI related eth_dev initialization to rte_eth_dev_allocate()

2016-11-17 Thread Jan Blunck
On Thu, Nov 17, 2016 at 4:46 PM, Ferruh Yigit wrote: > On 11/17/2016 2:24 PM, Jan Blunck wrote: >> This moves the non-PCI related initialization of the link state interrupt >> callback list and the setting of the default MTU to rte_eth_dev_allocate() >> so that drivers

[dpdk-dev] [RFC PATCH 2/6] eal: introduce bus-device-driver structure

2016-11-17 Thread Jan Blunck
On Thu, Nov 17, 2016 at 2:00 PM, Shreyansh Jain wrote: > > On Thursday 17 November 2016 04:49 PM, Jan Blunck wrote: >> >> On Thu, Nov 17, 2016 at 6:30 AM, Shreyansh Jain >> wrote: >>> >>> A device is connected to a bus and services by a driver associa

[dpdk-dev] [PATCH 2/2] Move non-PCI related eth_dev initialization to rte_eth_dev_allocate()

2016-11-17 Thread Jan Blunck
This moves the non-PCI related initialization of the link state interrupt callback list and the setting of the default MTU to rte_eth_dev_allocate() so that drivers only need to set non-default values. Signed-off-by: Jan Blunck --- drivers/net/bonding/rte_eth_bond_api.c | 2 -- drivers/net

[dpdk-dev] [PATCH 1/2] Clear eth_dev->data in rte_eth_dev_allocate()

2016-11-17 Thread Jan Blunck
Lets clear the eth_dev->data when allocating a new rte_eth_dev so that drivers only need to set non-zero values. Signed-off-by: Jan Blunck --- drivers/net/mlx4/mlx4.c | 1 - drivers/net/mlx5/mlx5.c | 1 - lib/librte_ether/rte_ethdev.c | 2 +- 3 files changed, 1 insertion(+)

[dpdk-dev] [RFC PATCH 6/6] eal: removing eth_driver

2016-11-17 Thread Jan Blunck
On Thu, Nov 17, 2016 at 6:30 AM, Shreyansh Jain wrote: > This patch demonstrates how eth_driver can be replaced with appropriate > changes for rte_xxx_driver from the PMD itself. It uses ixgbe_ethernet as > an example. > > A large set of changes exists in the rte_ethdev.c - primarily because too

[dpdk-dev] [RFC PATCH 1/6] eal: define container macro

2016-11-17 Thread Jan Blunck
On Thu, Nov 17, 2016 at 6:30 AM, Shreyansh Jain wrote: > From: Jan Viktorin > > Signed-off-by: Jan Viktorin > Signed-off-by: Shreyansh Jain > --- > lib/librte_eal/common/include/rte_common.h | 18 ++ > 1 file changed, 18 insertions(+) > > diff --git

[dpdk-dev] [RFC PATCH 0/6] Restructure EAL device model for bus support

2016-11-17 Thread Jan Blunck
On Thu, Nov 17, 2016 at 6:29 AM, Shreyansh Jain wrote: > DPDK has been inherently a PCI inclined framework. Because of this, the > design of device tree (or list) within DPDK is also PCI inclined. A non-PCI > device doesn't have a way of being expressed without using hooks started from > EAL to

[dpdk-dev] [RFC PATCH 2/6] eal: introduce bus-device-driver structure

2016-11-17 Thread Jan Blunck
On Thu, Nov 17, 2016 at 6:30 AM, Shreyansh Jain wrote: > A device is connected to a bus and services by a driver associated with > the bus. It is responsibility of the bus to identify the devices (scan) > and then assign each device to a matching driver. > > A PMD would allocate a rte_xxx_driver

[dpdk-dev] [PATCH v2 3/3] drivers: register aliases for renamed cryptodev drivers

2016-10-24 Thread Jan Blunck
This registers the legacy names of the driver being renamed in commit 2f45703c17ac ("drivers: make driver names consistent"). Signed-off-by: Jan Blunck Tested-by: Pablo de Lara --- drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 1 + drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 1

[dpdk-dev] [PATCH v2 2/3] drivers: register aliases for renamed VDEV drivers

2016-10-24 Thread Jan Blunck
This registers the legacy names of the driver being renamed in commit 2f45703c17ac ("drivers: make driver names consistent"). Signed-off-by: Jan Blunck --- drivers/net/af_packet/rte_eth_af_packet.c | 1 + drivers/net/bonding/rte_eth_bond_pmd.c| 1 + drivers/net/mpipe/mpip

[dpdk-dev] [PATCH v2 1/3] drivers: add name alias registration for rte_driver

2016-10-24 Thread Jan Blunck
This adds infrastructure for drivers to allow being requested by an alias so that a renamed driver can still get loaded by its legacy name. Signed-off-by: Jan Blunck Reviewed-by: Maxime Coquelin Tested-by: Pablo de Lara --- lib/librte_eal/common/eal_common_vdev.c | 8 lib/librte_eal

[dpdk-dev] [PATCH] Revert "bonding: use existing enslaved device queues"

2016-10-24 Thread Jan Blunck
On Wed, Oct 19, 2016 at 5:47 AM, Ilya Maximets wrote: > On 18.10.2016 18:19, Jan Blunck wrote: >> On Tue, Oct 18, 2016 at 2:49 PM, Ilya Maximets >> wrote: >>> On 18.10.2016 15:28, Jan Blunck wrote: >>>> If the application already configured queues th

[dpdk-dev] [PATCH] Revert "bonding: use existing enslaved device queues"

2016-10-24 Thread Jan Blunck
On Mon, Oct 24, 2016 at 7:02 AM, Declan Doherty wrote: > On 14/10/16 00:37, Eric Kinzie wrote: >> >> On Wed Oct 12 16:24:21 +0100 2016, Bruce Richardson wrote: >>> >>> On Wed, Oct 12, 2016 at 04:24:54PM +0300, Ilya Maximets wrote: On 07.10.2016 05:02, Eric Kinzie wrote: > > On

[dpdk-dev] [PATCH] drivers: register aliases for renamed cryptodev drivers

2016-10-21 Thread Jan Blunck
This registers the legacy names of the driver being renamed in commit 2f45703c17acb943aaded9f79676fd56a72542b2. Signed-off-by: Jan Blunck --- drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 1 + drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 1 + drivers/crypto/kasumi/rte_kasumi_pmd.c | 1

[dpdk-dev] [PATCH 1/3] mbuf: embedding timestamp into the packet

2016-10-20 Thread Jan Blunck
On Thu, Oct 20, 2016 at 4:03 AM, Oleg Kuporosov wrote: > Hello Konstantin, > >> >> My vote also would be to have timestamp in the second cache line. >> About moving seqn to the 2-nd cache line too - that's probably a fair point. > > It may impact throughput till ~6% for applications required such

[dpdk-dev] [PATCH 2/2] drivers: register aliases for renamed VDEV drivers

2016-10-20 Thread Jan Blunck
This registers the legacy names of the driver being renamed in commit 2f45703c17acb943aaded9f79676fd56a72542b2. Signed-off-by: Jan Blunck --- drivers/net/af_packet/rte_eth_af_packet.c | 1 + drivers/net/bonding/rte_eth_bond_pmd.c| 1 + drivers/net/mpipe/mpipe_tilegx.c | 2

[dpdk-dev] [PATCH 1/2] drivers: add name alias registration for rte_driver

2016-10-20 Thread Jan Blunck
This adds infrastructure for drivers to allow being requested by an alias so that a renamed driver can still get loaded by its legacy name. Signed-off-by: Jan Blunck --- lib/librte_eal/common/eal_common_vdev.c | 8 lib/librte_eal/common/include/rte_dev.h | 1 + lib/librte_eal/common

[dpdk-dev] [PATCH] drivers: make driver names consistent

2016-10-18 Thread Jan Blunck
On Tue, Oct 18, 2016 at 3:42 PM, Thomas Monjalon wrote: > 2016-10-18 21:06, Yuanhan Liu: >> On Tue, Oct 18, 2016 at 02:50:16PM +0200, Jan Blunck wrote: >> > >From my understanding this is a massive API breakage. This forces all >> > existing users of the virtual PM

[dpdk-dev] [PATCH] Revert "bonding: use existing enslaved device queues"

2016-10-18 Thread Jan Blunck
On Tue, Oct 18, 2016 at 2:49 PM, Ilya Maximets wrote: > On 18.10.2016 15:28, Jan Blunck wrote: >> If the application already configured queues the PMD should not >> silently claim ownership and reset them. >> >> What exactly is the problem when changing MTU? This wo

[dpdk-dev] [PATCH] drivers: make driver names consistent

2016-10-18 Thread Jan Blunck
>From my understanding this is a massive API breakage. This forces all existing users of the virtual PMDs to change with zero benefit. Even if that isn't enough it also makes it impossible to switch between releases by recompiling. Can we please revert these changes and work on some aliasing

[dpdk-dev] [PATCH] Revert "bonding: use existing enslaved device queues"

2016-10-18 Thread Jan Blunck
If the application already configured queues the PMD should not silently claim ownership and reset them. What exactly is the problem when changing MTU? This works fine from what I can tell. Cheers, Jan On Wed, Sep 7, 2016 at 2:28 PM, Ilya Maximets wrote: > This reverts commit

[dpdk-dev] DPDK on Xen maintenance

2016-07-13 Thread Jan Blunck
On Di, 2016-07-12 at 11:34 +0200, Thomas Monjalon wrote: > Hi all, > > We are facing some issues with Xen dom0. > Some were fixed in RC2: > https://urldefense.proofpoint.com/v2/url?u=http-3A__dpdk.org_ml > _archives_dev_2016- > 2DJuly_043760.html=CwICAg=IL_XqQWOjubgfqINi2jTzg=eGq7Pg5OSP440n

[dpdk-dev] [PATCH v3 1/3] xen: Add UIO kernel driver

2016-03-22 Thread Jan Blunck
On Tue, Mar 22, 2016 at 12:27 PM, Thomas Monjalon wrote: > 2016-03-22 12:04, Jan Blunck: >> On Tue, Mar 22, 2016 at 11:42 AM, Thomas Monjalon >> wrote: >> > 2016-03-22 10:55, Jan Blunck: >> >> New UIO helper kernel driver for Xen netfront UIO poll mode driver

[dpdk-dev] [PATCH v3 1/3] xen: Add UIO kernel driver

2016-03-22 Thread Jan Blunck
On Tue, Mar 22, 2016 at 11:42 AM, Thomas Monjalon wrote: > 2016-03-22 10:55, Jan Blunck: >> New UIO helper kernel driver for Xen netfront UIO poll mode driver. >> >> Signed-off-by: Stephen Hemminger >> Signed-off-by: Jan Blunck > > Is it contributed upstr

[dpdk-dev] [PATCH v3 2/3] xen: Add netfront poll mode driver

2016-03-22 Thread Jan Blunck
On Tue, Mar 22, 2016 at 11:07 AM, David Marchand wrote: > Hello, > > On Tue, Mar 22, 2016 at 10:55 AM, Jan Blunck wrote: >> +static struct eth_dev_ops xen_eth_dev_ops = { >> + /*dev*/ >> + .dev_configure= xen_dev_configure, >> + .dev

[dpdk-dev] [PATCH v3 3/3] xen: Add documentation

2016-03-22 Thread Jan Blunck
Add basic documentation for Xen Netfront PMD compilation and testpmd invocation. Signed-off-by: Jan Blunck --- doc/guides/nics/overview.rst | 28 ++-- doc/guides/nics/xen.rst | 101 +++ 2 files changed, 115 insertions(+), 14 deletions

[dpdk-dev] [PATCH v3 2/3] xen: Add netfront poll mode driver

2016-03-22 Thread Jan Blunck
This implements a poll mode driver that has the same functionality as the Xen netfront driver in the Linux kernel. Signed-off-by: Stephen Hemminger Signed-off-by: Jan Blunck --- config/common_base | 6 + drivers/net/Makefile | 1 + drivers/net/xen/Makefile

[dpdk-dev] [PATCH v3 1/3] xen: Add UIO kernel driver

2016-03-22 Thread Jan Blunck
New UIO helper kernel driver for Xen netfront UIO poll mode driver. Signed-off-by: Stephen Hemminger Signed-off-by: Jan Blunck --- lib/librte_eal/linuxapp/Makefile | 1 + lib/librte_eal/linuxapp/xen_uio/Makefile | 56 ++ lib/librte_eal/linuxapp/xen_uio/compat.h | 47 ++ lib

[dpdk-dev] [PATCH v3 0/3] xen: netfront poll mode driver

2016-03-22 Thread Jan Blunck
v3 changes: - removed fake PCI interface - removed struct virt_eth_driver - check for UIO name and version - added basic documentation Jan Blunck (3): xen: Add UIO kernel driver xen: Add netfront poll mode driver xen: Add documentation config/common_base| 6

[dpdk-dev] [PATCH v3 8/8] mk: Add rule for installing runtime files

2015-10-12 Thread Jan Blunck
On Fri, Oct 2, 2015 at 12:15 PM, Panu Matilainen wrote: > On 10/01/2015 03:11 AM, Mario Carrillo wrote: >> >> Add hierarchy-file support to the DPDK libraries, modules, >> binary files, nic bind files and documentation, >> when invoking "make install-fhs" (filesystem hierarchy standard) >>

[dpdk-dev] [PATCH] Make bond_ethdev_stop iterate only over active slaves

2015-06-24 Thread Jan Blunck
!= NULL" failed Signed-off-by: Jan Blunck --- drivers/net/bonding/rte_eth_bond_pmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/net/bonding/rte_eth_bond_pmd.c index 5a2fbef..1fd1321 100644 --- a/driver

[dpdk-dev] [PATCH] log: Properly reset log_history_size in rte_log_dump_history()

2015-06-01 Thread Jan Blunck
On Mon, Jun 1, 2015 at 10:31 AM, Olivier MATZ wrote: > Hi Jan, > > On 05/29/2015 12:34 PM, Jan Blunck wrote: > > In rte_log_dump_history() the log_history list is reinitialized without > > resetting the log_history_size. In the next call to > rte_log_add_in_history()

[dpdk-dev] [PATCH v2] log: Properly reset log_history_size in rte_log_dump_history()

2015-06-01 Thread Jan Blunck
ion fault. rte_log_add_in_history ( buf=buf at entry=0x7f02035cd000 "DATAPLANE: 9:dp0s7 link RTM_NEWLINK [dp0s7] <UP,BROADCAST,RUNNING,MULTICAST,LOWER_UP>\nCAST,LOWER_UP>\n", size=size at entry=86) at /usr/src/packages/BUILD/lib/librte_eal/common/eal_common_log.c:122 Sig

[dpdk-dev] [PATCH] log: Properly reset log_history_size in rte_log_dump_history()

2015-05-29 Thread Jan Blunck
ion fault. rte_log_add_in_history ( buf=buf at entry=0x7f02035cd000 "DATAPLANE: 9:dp0s7 link RTM_NEWLINK [dp0s7] <UP,BROADCAST,RUNNING,MULTICAST,LOWER_UP>\nCAST,LOWER_UP>\n", size=size at entry=86) at /usr/src/packages/BUILD/lib/librte_eal/common/eal_common_log.c:122 Sig