This vhost example demonstrates how to integrate user space vhost with DPDK
accelerated ethernet vSwitch.
1) rte_vhost_driver_register initialises vhost driver.
2) rte_vhost_driver_callback_register registers new_device/destroy_device
callbacks.
Those callbacks should be implemented in ether
main.c and main.h are refactored to become vhost lib in vhost lib patch, thus
are removed. Here they are copied back from old vhost example without any
modification.
Signed-off-by: Huawei Xie
---
examples/vhost/main.c | 3722 +
examples/vhost/main
Old vhost example consists of vhost cuse driver, virtio device management, and
VMDQ based packet switching logic.
vhost cuse driver and virtio device management are moved into vhost lib. This
patch modifies vhost example to use vhost lib API.
Huawei Xie (2):
copy main.c main.h from old vhost ex
Hi Neil,
2014-09-15 15:23, Neil Horman:
> The DPDK ABI develops and changes quickly, which makes it difficult for
> applications to keep up with the latest version of the library, especially
> when
> it (the DPDK) is built as a set of shared objects, as applications may be
> built
> against an o
2014-09-18 15:53, Richardson, Bruce:
> > > --- a/app/test-pmd/testpmd.c
> > > +++ b/app/test-pmd/testpmd.c
> > > @@ -225,7 +225,7 @@ struct rte_eth_thresh tx_thresh = {
> > > /*
> > > * Configurable value of RX free threshold.
> > > */
> > > -uint16_t rx_free_thresh = 0; /* Immediately free RX
2014-09-18 15:31, De Lara Guarch, Pablo:
> From: Neil Horman [mailto:nhorman at tuxdriver.com]
> > Thread safe hash tables seem to me like a configuration option rather than
> > a new
> > library. Instead of creating a whole new library (with a new API and ABI
> > to maintain, why not just add th
Hi Neil,
2014-09-18 11:03, Neil Horman:
> Thank you, I've reproduced the problem here, and you're right, it is a
> compiler bug, but I really hate the idea of just throwing braces around
> something to shut the compiler up, especially when the compiler has since
> been fixed. Looking at it a bit
On Thu, Sep 18, 2014 at 11:29:30AM -0400, Neil Horman wrote:
> On Thu, Sep 18, 2014 at 02:36:13PM +0100, Bruce Richardson wrote:
> > On Wed, Sep 17, 2014 at 01:59:36PM -0400, Neil Horman wrote:
> > > On Wed, Sep 17, 2014 at 03:35:19PM +, Richardson, Bruce wrote:
> > > >
> > > > > -Original
On Thu, Sep 18, 2014 at 11:03:12AM -0400, Neil Horman wrote:
> On Thu, Sep 18, 2014 at 12:35:21PM +, Richardson, Bruce wrote:
> > > -Original Message-
> > > From: Neil Horman [mailto:nhorman at tuxdriver.com]
> > > Sent: Thursday, September 18, 2014 1:25 PM
> > > To: Thomas Monjalon
> >
[+dev at dpdk.org]
Sure, I understand that.
The 7Gb/s performance with iperf that I was getting was with one end-host
using the KNI app and the other host running the traditional linux stack.
With both end hosts running the KNI app, I see about 2.75Gb/s which is
understandable because the TSO/LRO
> -Original Message-
> From: Neil Horman [mailto:nhorman at tuxdriver.com]
> Sent: Thursday, September 18, 2014 4:51 PM
> To: Thomas Monjalon
> Cc: Richardson, Bruce; dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH] ixgbe: fix compile error with gcc4.4 (used
> RHEL
> 6)
>
> On Thu, Sep 1
> -Original Message-
> From: Neil Horman [mailto:nhorman at tuxdriver.com]
> Sent: Wednesday, September 17, 2014 4:30 PM
> To: Richardson, Bruce
> Cc: dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH 3/5] testpmd: Change rxfreet default to 32
>
> On Wed, Sep 17, 2014 at 11:01:40AM +0100, B
Hi Neil,
> -Original Message-
> From: Neil Horman [mailto:nhorman at tuxdriver.com]
> Sent: Thursday, September 18, 2014 1:21 PM
> To: De Lara Guarch, Pablo
> Cc: dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH 0/3] New Thread Safe Hash Library
>
> On Thu, Sep 18, 2014 at 11:34:28AM +010
On Thu, 18 Sep 2014 11:34:28 +0100
Pablo de Lara wrote:
> This is an alternative hash implementation to the existing hash library.
> This patch set provides a thread safe hash implementation, it allows users
> to use multiple readers/writers working on a same hash table.
> Main differences betw
> > Signed-off-by: Matthew Hall
>
> Acked-by: Bruce Richardson
> > +/* Get global log level */
> > +uint32_t
> > +rte_get_log_level()
void is missing here
Applied with fix and commit log which was sent later.
Thanks
--
Thomas
I'll add it. Thanks
On Sep 18, 2014 3:17 PM, "Neil Horman" wrote:
> On Thu, Sep 18, 2014 at 07:13:43AM +0300, Vadim Suraev wrote:
> > Hi,
> > I've published the source code of Linux kernel IP stack ported to user
> space
> > and integrated with DPDK (1.6 currently).
> > I includes also some examp
On Thu, Sep 18, 2014 at 08:23:36PM +0200, Thomas Monjalon wrote:
> Hi Neil,
>
> 2014-09-15 15:23, Neil Horman:
> > The DPDK ABI develops and changes quickly, which makes it difficult for
> > applications to keep up with the latest version of the library, especially
> > when
> > it (the DPDK) is b
On Wed, Sep 17, 2014 at 01:59:36PM -0400, Neil Horman wrote:
> On Wed, Sep 17, 2014 at 03:35:19PM +, Richardson, Bruce wrote:
> >
> > > -Original Message-
> > > From: Neil Horman [mailto:nhorman at tuxdriver.com]
> > > Sent: Wednesday, September 17, 2014 4:21 PM
> > > To: Richardson, B
On Thu, Sep 18, 2014 at 04:01:32PM +, Richardson, Bruce wrote:
> > -Original Message-
> > From: Neil Horman [mailto:nhorman at tuxdriver.com]
> > Sent: Thursday, September 18, 2014 4:51 PM
> > To: Thomas Monjalon
> > Cc: Richardson, Bruce; dev at dpdk.org
> > Subject: Re: [dpdk-dev] [PA
On Thu, Sep 18, 2014 at 07:13:52PM +0200, Thomas Monjalon wrote:
> 2014-09-18 15:53, Richardson, Bruce:
> > > > --- a/app/test-pmd/testpmd.c
> > > > +++ b/app/test-pmd/testpmd.c
> > > > @@ -225,7 +225,7 @@ struct rte_eth_thresh tx_thresh = {
> > > > /*
> > > > * Configurable value of RX free thr
On Thu, Sep 18, 2014 at 03:53:33PM +, Richardson, Bruce wrote:
> > -Original Message-
> > From: Neil Horman [mailto:nhorman at tuxdriver.com]
> > Sent: Wednesday, September 17, 2014 4:30 PM
> > To: Richardson, Bruce
> > Cc: dev at dpdk.org
> > Subject: Re: [dpdk-dev] [PATCH 3/5] testpmd
On Thu, Sep 18, 2014 at 04:42:36PM +0100, Bruce Richardson wrote:
> On Thu, Sep 18, 2014 at 11:29:30AM -0400, Neil Horman wrote:
> > On Thu, Sep 18, 2014 at 02:36:13PM +0100, Bruce Richardson wrote:
> > > On Wed, Sep 17, 2014 at 01:59:36PM -0400, Neil Horman wrote:
> > > > On Wed, Sep 17, 2014 at 0
On Thu, Sep 18, 2014 at 03:29:11PM +0200, Thomas Monjalon wrote:
> void is missing here
Ah yes, sorry for missing it.
Thanks for correcting and applying, glad to have it available upstream.
Matthew.
> The refcnt field is contained within an anonymous union within the mbuf
> data structure, and gcc 4.4 gives an error about an unknown field unless
> the initialiser for the field is contained within extra braces.
>
> Signed-off-by: Bruce Richardson
Acked-by: Thomas Monjalon
Thanks Bruce, it
> -Original Message-
> From: Neil Horman [mailto:nhorman at tuxdriver.com]
> Sent: Thursday, September 18, 2014 1:25 PM
> To: Thomas Monjalon
> Cc: Richardson, Bruce; dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH] ixgbe: fix compile error with gcc4.4 (used
> RHEL
> 6)
>
> On Thu, Sep 1
On Thu, Sep 18, 2014 at 03:31:34PM +, De Lara Guarch, Pablo wrote:
> Hi Neil,
>
> > -Original Message-
> > From: Neil Horman [mailto:nhorman at tuxdriver.com]
> > Sent: Thursday, September 18, 2014 1:21 PM
> > To: De Lara Guarch, Pablo
> > Cc: dev at dpdk.org
> > Subject: Re: [dpdk-dev
On Thu, Sep 18, 2014 at 08:07:31AM +, Wodkowski, PawelX wrote:
> > > +int
> > > +bond_mode_8023ad_deactivate_slave(struct rte_eth_dev *bond_dev,
> > > + uint8_t slave_pos)
> > > +{
> > > + struct bond_dev_private *internals = bond_dev->data->dev_private;
> > > + struct mode8023ad_data *
The refcnt field is contained within an anonymous union within the mbuf
data structure, and gcc 4.4 gives an error about an unknown field unless
the initialiser for the field is contained within extra braces.
Signed-off-by: Bruce Richardson
---
lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c | 2 +-
1 fil
On Thu, Sep 18, 2014 at 05:38:58PM +0200, Thomas Monjalon wrote:
> Hi Neil,
>
> 2014-09-18 11:03, Neil Horman:
> > Thank you, I've reproduced the problem here, and you're right, it is a
> > compiler bug, but I really hate the idea of just throwing braces around
> > something to shut the compiler u
On Thu, Sep 18, 2014 at 04:16:00PM +0100, Bruce Richardson wrote:
> On Thu, Sep 18, 2014 at 11:03:12AM -0400, Neil Horman wrote:
> > On Thu, Sep 18, 2014 at 12:35:21PM +, Richardson, Bruce wrote:
> > > > -Original Message-
> > > > From: Neil Horman [mailto:nhorman at tuxdriver.com]
> >
Added 3 new unit tests:
- Functional unit test: Tests creation and handling of
a hash table with a single thread.
- Performance unit tests: Benchmark hash operations
add/delete/lookup, returning number of CPU cycles/operation.
- Multi thread unit tests: Checks there is no data corruption
d
Added new hash library, as an alternative to the old hash
implementation. This new library allows the user to have
multiple threads reading and writing on the same hash
table at the same time.
Signed-off-by: Pablo de Lara
---
config/common_bsdapp |6 +
config/common
rte_prefetchX functions included volatile void *p as parameter,
but the function does not modify it, so it should be const.
Signed-off-by: Pablo de Lara
---
lib/librte_eal/common/include/rte_prefetch.h | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/lib/librte
This is an alternative hash implementation to the existing hash library.
This patch set provides a thread safe hash implementation, it allows users
to use multiple readers/writers working on a same hash table.
Main differences between the previous and the new implementation are:
- Multiple reade
On Thu, Sep 18, 2014 at 02:36:13PM +0100, Bruce Richardson wrote:
> On Wed, Sep 17, 2014 at 01:59:36PM -0400, Neil Horman wrote:
> > On Wed, Sep 17, 2014 at 03:35:19PM +, Richardson, Bruce wrote:
> > >
> > > > -Original Message-
> > > > From: Neil Horman [mailto:nhorman at tuxdriver.co
On Thu, Sep 18, 2014 at 12:35:21PM +, Richardson, Bruce wrote:
> > -Original Message-
> > From: Neil Horman [mailto:nhorman at tuxdriver.com]
> > Sent: Thursday, September 18, 2014 1:25 PM
> > To: Thomas Monjalon
> > Cc: Richardson, Bruce; dev at dpdk.org
> > Subject: Re: [dpdk-dev] [PA
Hello Helin,
On Thu, Sep 18, 2014 at 4:39 AM, Zhang, Helin wrote:
> Hi David
>
>
>
> *From:* David Marchand [mailto:david.marchand at 6wind.com]
> *Sent:* Wednesday, September 17, 2014 10:03 PM
> *To:* Zhang, Helin
> *Cc:* dev at dpdk.org
> *Subject:* Re: [dpdk-dev] i40e: Steps and required con
Hello Neil,
On Wed, Sep 17, 2014 at 4:45 PM, Neil Horman wrote:
>
> This is a nit, but since you're working in this code anyway, would you mind
> fixing the long options parsing please? Instead of having a single case
> statement that just does a never ending if..else..if series of strcmps tha
On Thu, Sep 18, 2014 at 01:09:16PM +0200, Thomas Monjalon wrote:
> > The refcnt field is contained within an anonymous union within the mbuf
> > data structure, and gcc 4.4 gives an error about an unknown field unless
> > the initialiser for the field is contained within extra braces.
> >
> > Sign
On Thu, Sep 18, 2014 at 11:34:28AM +0100, Pablo de Lara wrote:
> This is an alternative hash implementation to the existing hash library.
> This patch set provides a thread safe hash implementation, it allows users
> to use multiple readers/writers working on a same hash table.
> Main differences
On Thu, Sep 18, 2014 at 07:13:43AM +0300, Vadim Suraev wrote:
> Hi,
> I've published the source code of Linux kernel IP stack ported to user space
> and integrated with DPDK (1.6 currently).
> I includes also some example applications & test scripts as well as
> documentation
> about what & how is
> > +int
> > +bond_mode_8023ad_deactivate_slave(struct rte_eth_dev *bond_dev,
> > + uint8_t slave_pos)
> > +{
> > + struct bond_dev_private *internals = bond_dev->data->dev_private;
> > + struct mode8023ad_data *data = &internals->mode4;
> > + struct port *port;
> > + uint8_t i;
>
Hi,
I've published the source code of Linux kernel IP stack ported to user space
and integrated with DPDK (1.6 currently).
I includes also some example applications & test scripts as well as
documentation
about what & how is done and how to use & adapt it.
The source:
git at github.com:vadimsu/ipau
On Thu, Sep 18, 2014 at 09:46:54AM +0200, David Marchand wrote:
> Hello Neil,
>
>
> On Wed, Sep 17, 2014 at 4:45 PM, Neil Horman wrote:
>
> >
> > This is a nit, but since you're working in this code anyway, would you mind
> > fixing the long options parsing please? Instead of having a single c
Hi David
From: David Marchand [mailto:david.march...@6wind.com]
Sent: Wednesday, September 17, 2014 10:03 PM
To: Zhang, Helin
Cc: dev at dpdk.org
Subject: Re: [dpdk-dev] i40e: Steps and required configurations of how to
achieve the best performance!
On Wed, Sep 17, 2014 at 10:50 AM, Zhang, Helin
Hi Malveeka
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Malveeka Tewari
> Sent: Thursday, September 18, 2014 6:51 AM
> To: dev at dpdk.org
> Subject: [dpdk-dev] Maximum possible throughput with the KNI DPDK
> Application
>
> Hi all
>
> I've been playing
2014-09-11 14:15, Bruce Richardson:
> This patch set continues on from the changes in part 1, and depends
> upon that patch set.
>
> This patch set reorders the fields in the mbuf structure and splits
> the structure across two cache lines, given lots of new space for new
> fields to be added. Thi
47 matches
Mail list logo