2015-01-30 13:46, Jeff Shaw:
> On Fri, Jan 30, 2015 at 04:26:33PM -0500, Neil Horman wrote:
> > On Fri, Jan 30, 2015 at 01:07:16PM +0800, Chen Jing D(Mark) wrote:
> > > From: "Chen Jing D(Mark)"
> > > Jeff Shaw (18):
> > > fm10k: add base driver
[...]
> > >
2015-01-30 18:13, John McNamara:
> Refactored split cell in test_pipeline table to allow it to
> convert cleanly to PDF.
>
> Signed-off-by: John McNamara
The diff output is impossible to read.
You should explain what you changed and why. So it would give a reference
for future table writers.
2015-01-30 18:13, John McNamara:
> Add Python Sphinx config to allow conversion of guides
> to PDF format.
>
> Signed-off-by: John McNamara
> ---
> doc/guides/conf.py| 51
> ++---
> doc/guides/freebsd_gsg/conf.py| 41
Hi John,
2015-01-30 18:13, John McNamara:
> This patch adds support for creating PDF versions of the user guides.
>
> Specifically:
>
> * The Programmer's Guide
> * The Linux Getting Started Guide
> * The FreeBSD Getting Started Guide
> * The Sample Applications User Guide
>
On 2015/1/30 19:40, zhangsha (A) wrote:
> Hi ?all
>
> I am suffering from the problem mmap failed as followed when init dpdk eal.
>
> Fri Jan 30 09:03:29 2015:EAL: Setting up memory...
> Fri Jan 30 09:03:34 2015:EAL: map_all_hugepages(): mmap failed: Cannot
> allocate memory
> Fri Jan 30
On 2015/1/26 11:20, Huawei Xie wrote:
> In virtnet_send_command:
>
> /* Caller should know better */
> BUG_ON(!virtio_has_feature(vi->vdev, VIRTIO_NET_F_CTRL_VQ) ||
> (out + in > VIRTNET_SEND_COMMAND_SG_MAX));
>
> Signed-off-by: Huawei Xie
> ---
>
Sent from my iPhone
On Jan 30, 2015, at 9:49 AM, Bhavesh Davda wrote:
>> Did you know pktgen-dpdk?
>> http://dpdk.org/browse/apps/pktgen-dpdk/tree/README.md
>>
>> Do you think it could replace your application?
>
> [Bhavesh Davda] Yes, I regularly use pktgen-dpdk, and love the app (thanks
Hi ?all
I am suffering from the problem mmap failed as followed when init dpdk eal.
Fri Jan 30 09:03:29 2015:EAL: Setting up memory...
Fri Jan 30 09:03:34 2015:EAL: map_all_hugepages(): mmap failed: Cannot
allocate memory
Fri Jan 30 09:03:34 2015:EAL: Failed to mmap 2 MB hugepages
Fri Jan 30
> -Original Message-
> From: Richardson, Bruce
> Sent: Thursday, January 29, 2015 8:38 PM
> To: Liang, Cunming
> Cc: Thomas Monjalon; dev at dpdk.org
> Subject: Re: [dpdk-dev] [BUG] ixgbe vector cannot compile without bulk alloc
>
> On Thu, Jan 29, 2015 at 11:39:37PM +, Liang,
On 2015/01/30 15:36, Huawei Xie wrote:
> Signed-off-by: Huawei Xie
> ---
> lib/librte_vhost/vhost_cuse/virtio-net-cdev.c | 258
> ++
> 1 file changed, 258 insertions(+)
> create mode 100644 lib/librte_vhost/vhost_cuse/virtio-net-cdev.c
>
> diff --git
On 2015/01/30 15:36, Huawei Xie wrote:
> VIRTIO_NET_F_CTRL_RX is dependant on VIRTIO_NET_F_CTRL_VQ.
>
> Observed that virtio-net driver in guest would crash with only CTRL_RX
> enabled.
>
> In virtnet_send_command:
>
> /* Caller should know better */
>
On 2015/01/30 15:36, Huawei Xie wrote:
> vhost-user supports passing vring information to a seperate vhost enabled
> process, normally a user space vSwitch, through unix domain socket.
>
> In previous DPDK version, we implement a user space character device driver
> vhost-cuse in user space DPDK
On 2015/1/30 16:20, Xu, Qian Q wrote:
> Haifeng
> Could you give more information so that we can reproduce your issue? Thanks.
> 1. What's your dpdk package, based on which branch, with Huawei's
> vhost-user's patches?
Not with Huawei's patches.I implement a demo before Huawei's patches with
Refactored split cell in test_pipeline table to allow it to
convert cleanly to PDF.
Signed-off-by: John McNamara
---
doc/guides/sample_app_ug/test_pipeline.rst | 32 +++
1 files changed, 22 insertions(+), 10 deletions(-)
diff --git
Change encoding of (r) from Latin-1 to UTF8 to match the other
symbols in the doc and to allow it to convert cleanly to PDF.
Signed-off-by: John McNamara
---
doc/guides/rel_notes/supported_features.rst |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git
Add Python Sphinx config to allow conversion of guides
to PDF format.
Signed-off-by: John McNamara
---
doc/guides/conf.py| 51 ++---
doc/guides/freebsd_gsg/conf.py| 41 +
doc/guides/linux_gsg/conf.py | 41
Added make system support for building PDF versions of
the guides. Requires Python Sphinx and TexLive Full.
Signed-off-by: John McNamara
---
mk/rte.sdkdoc.mk | 33 -
mk/rte.sdkroot.mk |3 ++-
2 files changed, 34 insertions(+), 2 deletions(-)
diff --git
This patch adds support for creating PDF versions of the user guides.
Specifically:
* The Programmer's Guide
* The Linux Getting Started Guide
* The FreeBSD Getting Started Guide
* The Sample Applications User Guide
* The TestPMD User Guide
* The Release Notes
The local
2015-01-30 16:29, Bhavesh Davda:
> Hi Thomas,
>
> > Hi Bhavesh,
> >
> > 2014-11-18 10:32, Bhavesh Davda:
> > > Test application to transmit 32-packet bursts of 220-byte UDP packets
> > every
> > > 50 us, approximating 240,000 pps. We found it useful for testing
> > hypervisor
> > > performance
I agree in principle with this patchset. OVS links with DPDK and providing
stability in the ABI/API (and the Policy to manage this) makes deployment
easier for OVS when linking with shared dpdk libs. It should also be easy for
us to track changes in the API through the deprecation notices
The Link bonding library is incorrectly using receive packet type flags
in the transmit policy hashing functions, which would cause packets
generated locally to be incorrectly distributed across the slave
devices. This patch completely removes the dependency on the packet
type flags and uses the
I'm volonteer to maintain the following components of dpdk:
- mbuf packet api
- mempool library
- ring library
- build system
- kvargs
- command line library
Note: I've splitted rte_mempool and rte_malloc as these two libraries
are different enough.
Signed-off-by: Olivier Matz
---
MAINTAINERS
> Did you know pktgen-dpdk?
> http://dpdk.org/browse/apps/pktgen-dpdk/tree/README.md
>
> Do you think it could replace your application?
>
[Bhavesh Davda] Yes, I regularly use pktgen-dpdk, and love the app (thanks
Keith!) but I couldn't quite get it to do this simplistic job of generating a
Hi Thomas,
> Hi Bhavesh,
>
> 2014-11-18 10:32, Bhavesh Davda:
> > Test application to transmit 32-packet bursts of 220-byte UDP packets
> every
> > 50 us, approximating 240,000 pps. We found it useful for testing
> hypervisor
> > performance for a transmit-heavy but bursty workload in a VM with
On Fri, Jan 30, 2015 at 01:07:16PM +0800, Chen Jing D(Mark) wrote:
> From: "Chen Jing D(Mark)"
>
> The patch set add poll mode driver for the host interface of Intel
> Red Rock Canyon silicon, which integrates NIC and switch functionalities.
> The patch set include below features:
>
> 1. Basic
There was a request for an abi validation utiltyfor the ongoing ABI stability
work. As it turns out there is a abi compliance checker in development that
seems to be under active development and provides fairly detailed ABI compliance
reports. Its not yet intellegent enough to understand symbol
Signed-off-by: Huawei Xie
---
examples/vhost/main.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/vhost/main.c b/examples/vhost/main.c
index 04f0118..3a35359 100644
--- a/examples/vhost/main.c
+++ b/examples/vhost/main.c
@@ -1308,8 +1308,8 @@
Hi Helin,
On 01/29/2015 04:15 AM, Helin Zhang wrote:
> As there are only 6 bit flags in ol_flags for indicating packet types,
> which is not enough to describe all the possible packet types hardware
> can recognize. For example, i40e hardware can recognize more than 150
> packet types. Unified
The patch introduces following commands.
- port attach [ident]
- port detach [port_id]
- attach: attaching a port
- detach: detaching a port
- ident: pci address of physical device.
Or device name and paramerters of virtual device.
(ex. :02:00.0, eth_pcap0,iface=eth0)
-
This patch adds finalization code to free resources allocated by the
PMD.
v4:
- Change function name.
Signed-off-by: Tetsuya Mukawa
---
lib/librte_pmd_pcap/rte_eth_pcap.c | 40 ++
1 file changed, 40 insertions(+)
diff --git
The patch enables CONFIG_RTE_LIBRTE_EAL_HOTPLUG in Linux configuration.
Signed-off-by: Tetsuya Mukawa
---
config/common_linuxapp | 5 +
1 file changed, 5 insertions(+)
diff --git a/config/common_linuxapp b/config/common_linuxapp
index 2f9643b..27d05be 100644
--- a/config/common_linuxapp
These functions are used for attaching or detaching a port.
When rte_eal_dev_attach() is called, the function tries to realize the
device name as pci address. If this is done successfully,
rte_eal_dev_attach() will attach physical device port. If not, attaches
virtual devive port.
When
This new parameter is needed to keep device type like physical or virtual.
Port detaching processes are different between physical and virtual.
This paramerter lets detaching function know a device type of the port.
v4:
- Fix comments of rte_eth_dev_type.
Signed-off-by: Tetsuya Mukawa
---
- Add rte_eal_pci_close_one_dirver()
The function is used for closing the specified driver and device.
- Add pci_invoke_all_drivers()
The function is based on pci_probe_all_drivers. But it can not only
probe but also close drivers.
- Add pci_close_all_drivers()
The function tries to find a
The function removes the specified devargs entry from devargs_list.
Also the patch adds sanity checking to rte_eal_devargs_add().
v5:
- Change function definition of rte_eal_devargs_remove().
v4:
- Fix sanity check code.
Signed-off-by: Tetsuya Mukawa
---
The patch adds functions for unmapping igb_uio resources. The patch is only
for Linux and igb_uio environment. VFIO and BSD are not supported.
v5:
- Fix pci_unmap_device() to check pt_driver.
v4:
- Add paramerter checking.
- Add header file to determine if hotplug can be enabled.
Signed-off-by:
The patch adds following functions.
- rte_eth_dev_save()
The function is used for saving current rte_eth_dev structures.
- rte_eth_dev_get_changed_port()
The function receives the rte_eth_dev structures, then compare
these with current values to know which port is actually
attached or
The patch adds function pointer to rte_pci_driver and eth_driver
structure. These function pointers are used when ports are detached.
Also the patch adds rte_eth_dev_uninit(). So far, it's not called
by anywhere, but it will be called when port hotplug function is
implemented.
v4:
- Add
This patch adds rte_eth_dev_free(). The function is used for changing a
attached status of the device that has specified name.
v4:
- Add paramerter checking.
Signed-off-by: Tetsuya Mukawa
---
lib/librte_ether/rte_ethdev.c | 20
lib/librte_ether/rte_ethdev.h | 11
This patch replaces pci_addr_comparison() and memcmp() of pci addresses by
eal_compare_pci_addr().
v5:
- Fix pci_scan_one to handle pt_driver correctly.
v4:
- Fix calculation method of eal_compare_pci_addr().
- Add parameter checking.
Signed-off-by: Tetsuya Mukawa
---
To remove assumption, do like followings.
This patch adds "RTE_PCI_DRV_DETACHABLE" to drv_flags of rte_pci_driver
structure. The flags indicates the driver can detach devices at runtime.
Also remove assumption that port will not be detached.
To remove the assumption.
- Add 'attached' member to
From: Michael Qiu
With the driver type flag in struct rte_pci_dev, we do not need
to always map uio devices with vfio related function when
vfio enabled.
Signed-off-by: Michael Qiu
Signed-off-by: Tetsuya Mukawa
---
lib/librte_eal/linuxapp/eal/eal_pci.c | 30
From: Michael Qiu
Currently, dpdk has no ability to know which type of driver(
vfio-pci/igb_uio/uio_pci_generic) the device used. It only can
check whether vfio is enabled or not staticly.
It really useful to have the flag, becasue different type need to
handle
This patch series adds a dynamic port hotplug framework to DPDK.
With the patches, DPDK apps can attach or detach ports at runtime.
The basic concept of the port hotplug is like followings.
- DPDK apps must have responsibility to manage ports.
DPDK apps only know which ports are attached or
Hi Helin,
On 01/29/2015 04:16 AM, Helin Zhang wrote:
> To unify packet types among all PMDs, bit masks and relevant macros
> of packet type for ol_flags are replaced by unified packet type and
> relevant macros.
>
> Signed-off-by: Helin Zhang
> ---
> lib/librte_mbuf/rte_mbuf.c | 6 --
>
add mutext to protect fdset
Signed-off-by: Huawei Xie
---
lib/librte_vhost/vhost_user/fd_man.c | 39 +++-
lib/librte_vhost/vhost_user/fd_man.h | 2 ++
lib/librte_vhost/vhost_user/vhost-net-user.c | 19 +-
3 files changed, 48 insertions(+), 12
for vhost-cuse, ifname is the name of the tap device
for vhost-user, ifname is the name of the unix domain socket path
* provide a common set_ifname ops in virtio-net.c
* redefine the size of dev->ifname to fit both vhost-cuse and vhost-user
Signed-off-by: Huawei Xie
---
In rte_vhost_driver_register(), vhost unix domain socket listener fd is created
and added to the selected fdset.
In rte_vhost_driver_session_start(), fds in the fdset are checked for
processing.
If there is new connection on listener fd from qemu, connection fd accepted is
added to the selected
Signed-off-by: Huawei Xie
---
lib/librte_vhost/vhost_cuse/virtio-net-cdev.c | 12 ++--
lib/librte_vhost/virtio-net.h | 43 +++
2 files changed, 53 insertions(+), 2 deletions(-)
create mode 100644 lib/librte_vhost/virtio-net.h
diff --git
for more generic event driven processing, refer:
http://libevent.org/
Signed-off-by: Huawei Xie
---
lib/librte_vhost/vhost_user/fd_man.c | 207 +++
lib/librte_vhost/vhost_user/fd_man.h | 64 +++
2 files changed, 271 insertions(+)
create mode
set_memory_table message is processed in two places.
* cuse_set_memory_table in virtio-net-cdev.c
* set_memory_table in virtio-net.c
vhost-cuse or vhost-user receives set_memory_region message from qemu,
maps guest memory into current process, prepares valid memory regions,
and then passes valid
This functions accepts a virtual address and pid(qemu), and maps it into
current process(vhost)'s address space.
The memory behind the virtual address should be backed by a file(normally a
hugepage
file), and virtual address should be the starting address.
Signed-off-by: Huawei Xie
---
Signed-off-by: Huawei Xie
---
lib/librte_vhost/vhost_cuse/virtio-net-cdev.c | 258 ++
1 file changed, 258 insertions(+)
create mode 100644 lib/librte_vhost/vhost_cuse/virtio-net-cdev.c
diff --git a/lib/librte_vhost/vhost_cuse/virtio-net-cdev.c
eventfd copy is vhost-cuse specific.
vhost-user doesn't need eventfd kernel module to copy fds between processes.
fd is automatically installed into target process through unix domain socket.
Signed-off-by: Huawei Xie
---
lib/librte_vhost/Makefile| 2 +-
This file defines common operations provided by virtio-net(.c).
Signed-off-by: Huawei Xie
---
lib/librte_vhost/vhost-net-cdev.h| 113 ---
lib/librte_vhost/vhost-net.h | 113 +++
create vhost_cuse directory
move vhost-net-cdev.c into vhost_cuse directory
vhost-cuse driver will be splitted into two parts:
cuse driver specific message handling and common vhost message handling
logic.
cuse driver specific message handling is in vhost_cuse directory.
vhost ioctl
VIRTIO_NET_F_CTRL_RX is dependant on VIRTIO_NET_F_CTRL_VQ.
Observed that virtio-net driver in guest would crash with only CTRL_RX enabled.
In virtnet_send_command:
/* Caller should know better */
BUG_ON(!virtio_has_feature(vi->vdev, VIRTIO_NET_F_CTRL_VQ) ||
(out
vhost-user supports passing vring information to a seperate vhost enabled
process, normally a user space vSwitch, through unix domain socket.
In previous DPDK version, we implement a user space character device driver
vhost-cuse in user space DPDK process. vring informations are passed to the
Hi Helin,
On 01/29/2015 04:15 AM, Helin Zhang wrote:
> Currently only 6 bits which are stored in ol_flags are used to indicate
> the packet types. This is not enough, as some NIC hardware can recognize
> quite a lot of packet types, e.g i40e hardware can recognize more than 150
> packet types.
v2:
Remove 'extern "C"' declarations from bond private header files.
v1:
Add missing declarations to rte_bond_8023ad.h.
Signed-off-by: Pawel Wodkowski
---
lib/librte_pmd_bond/rte_eth_bond_8023ad.h | 8
lib/librte_pmd_bond/rte_eth_bond_private.h | 8
2 files changed, 8
This could be useful to have this values for debug purposes.
Suggested-by: Konstantin Ananyev
Signed-off-by: Olivier Matz
---
lib/librte_pmd_i40e/i40e_rxtx.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/lib/librte_pmd_i40e/i40e_rxtx.c
The l4_len has also to be copied in mbuf in case we are offloading outer
IP checksum. Currently, TSO + outer checksum is not supported by any
driver but it will soon be supported by i40e.
Pointed-out-by: Jijiang Liu
Signed-off-by: Olivier Matz
---
app/test-pmd/csumonly.c | 1 +
1 file changed,
Signed-off-by: Olivier Matz
---
app/test-pmd/cmdline.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index 70ab126..186da7b 100644
--- a/app/test-pmd/cmdline.c
+++ b/app/test-pmd/cmdline.c
@@ -2914,7 +2914,11 @@
From: Jijiang Liu
Advertise the DEV_TX_OFFLOAD_OUTER_IPV4_CKSUM flag in the PMD
features. It means that the i40e PMD supports the offload of outer IP
checksum when transmitting tunneling packet.
Signed-off-by: Jijiang Liu
Acked-by: Olivier Matz
---
From: Jijiang Liu
If the flag is advertised by a PMD, the NIC supports the outer IP
checksum TX offload of tunneling packets, therefore an application can
set the PKT_TX_OUTER_IP_CKSUM flag in mbufs when transmitting on this
port.
Signed-off-by: Jijiang Liu
Acked-by:
Add support for IP over IP tunnels.
Signed-off-by: Olivier Matz
---
app/test-pmd/cmdline.c | 2 +-
app/test-pmd/csumonly.c | 40 ++--
2 files changed, 35 insertions(+), 7 deletions(-)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index
Move code parsing vxlan into a function. It will ease the support
of GRE tunnels and IPIP tunnels in next commits.
Signed-off-by: Olivier Matz
---
app/test-pmd/csumonly.c | 68 +++--
1 file changed, 37 insertions(+), 31 deletions(-)
diff --git
To simplify the API of parse_* functions, store all the offload
information for the current packet in a structure.
No functional change.
Signed-off-by: Olivier Matz
---
app/test-pmd/csumonly.c | 222 +---
1 file changed, 115 insertions(+), 107
These functions may be used to parse encapsulated layers
when we will support IP over GRE tunnels.
No functional change.
Signed-off-by: Olivier Matz
---
app/test-pmd/csumonly.c | 51 +
1 file changed, 39 insertions(+), 12 deletions(-)
diff --git
The tx_checksum command concerns outer IP checksum, not VxLAN checksum.
Actually there is no checkum in VxLAN header, there is one checksum in
outer IP header, and one checksum in outer UDP header. This option only
controls the outer IP checksum.
Signed-off-by: Olivier Matz
---
Add a new command related to csum forward engine:
csum parse-tunnel (on|off) (tx_port_id)
If enabled, the tunnel packets received by the csum forward engine are
parsed and seen as "outer-headers/inner-headers/data".
If disabled, the parsing of the csum forward engine stops at the first
l4
No functional changes in this commit, we just move the code
that displays the csum forward engine configuration in a
function.
This makes the next commit easier to read as it will also
use this function.
Signed-off-by: Olivier Matz
---
app/test-pmd/cmdline.c | 82
Replace the "tx_checksum" command by "csum". It has several
advantages:
- it's more coherent with the forward engine name
- it's shorter
- the next commit will introduce a command that is related to
the csum forward engine, but about rx side.
Signed-off-by: Olivier Matz
---
Since previous commit, this flag is not used by any PMD, remove it from
mbuf API and from csumonly (testpmd). In csumonly, the
PKT_TX_OUTER_IP_CKSUM flag is already set for vxlan checksum, providing
enough information to the underlying driver.
Signed-off-by: Olivier Matz
---
The definition of the flag in rte_mbuf.h was:
TX packet is an UDP tunneled packet. It must be specified when using
outer checksum offload (PKT_TX_OUTER_IP_CKSUM)
This flag was used to tell the NIC that the offload type is UDP
(I40E_TXD_CTX_UDP_TUNNELING flag). In the datasheet, it says it's
>From i40e datasheet:
The IP header type and its offload. In case of tunneling, the IIPT
relates to the inner IP header. See also EIPT field for the outer
(External) IP header offload.
00 - non IP packet or packet type is not defined by software
01 - IPv6 packet
10 - IPv4 packet with
Based on http://dpdk.org/ml/archives/dev/2015-January/011127.html
Also adapt the csum forward engine code to the API.
Signed-off-by: Olivier Matz
---
app/test-pmd/csumonly.c| 6 +++---
lib/librte_mbuf/rte_mbuf.h | 43 ---
2 files changed, 39
This alias is only used in one place of i40e driver. Remove it
and only keep the legacy flag PKT_TX_IP_CSUM.
Signed-off-by: Olivier Matz
---
lib/librte_mbuf/rte_mbuf.h | 1 -
lib/librte_pmd_i40e/i40e_rxtx.c | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git
The goal of this series is to clarify and simplify the mbuf offload API.
- simplify the definitions of PKT_TX_IP_CKSUM and PKT_TX_IPV4, each
flag has now only one meaning. No impact on the code.
- add a feature flag for OUTER_IP_CHECKSUM (from Jijiang's patches)
- remove the
On Fri, Jan 30, 2015 at 04:26:33PM -0500, Neil Horman wrote:
> On Fri, Jan 30, 2015 at 01:07:16PM +0800, Chen Jing D(Mark) wrote:
> > From: "Chen Jing D(Mark)"
> >
> > The patch set add poll mode driver for the host interface of Intel
> > Red Rock Canyon silicon, which integrates NIC and switch
> From: Neil Horman [mailto:nhorman at tuxdriver.com]
> Sent: Thursday, January 29, 2015 7:46 PM
> To: Gonzalez Monroy, Sergio
> Cc: dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH 0/8] Improve build process
>
> On Thu, Jan 29, 2015 at 05:04:20PM +, Gonzalez Monroy, Sergio wrote:
> > > From:
On 30/01/15 13:21, Pawel Wodkowski wrote:
> v2:
> Remove 'extern "C"' declarations from bond private header files.
>
> v1:
> Add missing declarations to rte_bond_8023ad.h.
>
> Signed-off-by: Pawel Wodkowski
> ---
> lib/librte_pmd_bond/rte_eth_bond_8023ad.h | 8
>
On 2015/1/30 0:48, Srinivasreddy R wrote:
> EAL: 512 hugepages of size 2097152 reserved, but no mounted hugetlbfs found
> for that size
Maybe you haven't mount hugetlbfs.
--
Regards,
Haifeng
This patch introduces a new section in the programmers guide describing
the reorder library.
Signed-off-by: Sergio Gonzalez Monroy
---
doc/guides/prog_guide/index.rst | 1 +
doc/guides/prog_guide/reorder_lib.rst | 110 ++
2 files changed, 111
This new app makes use of the librte_reorder library.
It requires at least 3 lcores for RX, Workers (1 or more) and TX threads.
Communication between RX-Workers and Workers-TX is done by using rings.
The flow of mbufs is the following:
* RX thread gets mbufs from driver, set sequence number and
Adding new reorder unit test for the test app.
The command to run the unit test from the test shell is: reorder_autotest
Signed-off-by: Reshma Pattan
Signed-off-by: Sergio Gonzalez Monroy
---
app/test/Makefile | 2 +
app/test/test_reorder.c | 393
This library provides reordering capability for out of order mbufs based
on a sequence number in the mbuf structure.
Signed-off-by: Reshma Pattan
Signed-off-by: Richardson Bruce
Signed-off-by: Sergio Gonzalez Monroy
---
config/common_bsdapp | 5 +
This series introduces the new reorder library along with unit tests,
sample app and a new entry in the programmers guide describing the library.
The library provides reordering of mbufs based on their sequence number.
As mention in the patch describing the library, one use case is the
packet
On Fri, Jan 30, 2015 at 05:38:49PM +, Gonzalez Monroy, Sergio wrote:
> > From: Neil Horman [mailto:nhorman at tuxdriver.com]
> > Sent: Friday, January 30, 2015 2:05 PM
> > To: Gonzalez Monroy, Sergio
> > Cc: Thomas Monjalon; dev at dpdk.org
> > Subject: Re: [dpdk-dev] [PATCH 0/8] Improve build
From: Jeff Shaw
Signed-off-by: Jeff Shaw
Signed-off-by: Chen Jing D(Mark)
---
mk/rte.app.mk |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/mk/rte.app.mk b/mk/rte.app.mk
index 4294d9a..87d8763 100644
--- a/mk/rte.app.mk
+++ b/mk/rte.app.mk
From: Jeff Shaw
Signed-off-by: Jeff Shaw
Signed-off-by: Chen Jing D(Mark)
---
lib/Makefile |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/lib/Makefile b/lib/Makefile
index 0ffc982..b1f3860 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@
From: Jeff Shaw
1. Add 2 interrupt handling functions, one for PF and one for VF.
2. Enable interrupt after completing initialization of NIC.
Signed-off-by: Jeff Shaw
Signed-off-by: Chen Jing D(Mark)
---
lib/librte_pmd_fm10k/fm10k_ethdev.c | 268
From: Jeff Shaw
fm10k pmd driver will support both PF and VF device with single
copy of code. The reason is NIC maps registers with same
function in PF and VF to same PCI I/O address. Then, PF/VF drivers
use same address to access registers belonging to it, HW will
From: Jeff Shaw
Add fm10k_vlan_filter_set to set vlan.
Signed-off-by: Jeff Shaw
Signed-off-by: Chen Jing D(Mark)
---
lib/librte_pmd_fm10k/fm10k_ethdev.c | 14 ++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git
From: Jeff Shaw
1. Add fm10k_recv_scattered_pkts function to receive jumbo frame
and multi-segment packets.
2. Configure correct receive function in rx_init and dev_init.
Signed-off-by: Jeff Shaw
Signed-off-by: Chen Jing D(Mark)
---
lib/librte_pmd_fm10k/fm10k.h
From: Jeff Shaw
1. Configure RSS in fm10k_dev_rx_init function.
2. Add fm10k_rss_hash_update and fm10k_rss_hash_conf_get to get
and inquery RSS configuration.
Signed-off-by: Jeff Shaw
Signed-off-by: Chen Jing D(Mark)
---
lib/librte_pmd_fm10k/fm10k_ethdev.c | 156
From: Jeff Shaw
1. Add fm10k_recv_pkts and fm10k_xmit_pkts functions.
2. Link app function pointer to actual fm10k recv/xmit
functions.
Signed-off-by: Jeff Shaw
Signed-off-by: Chen Jing D(Mark)
---
lib/librte_pmd_fm10k/fm10k.h|7 +
From: Jeff Shaw
1. Add function to initialize single RX queue.
2. Add function to initialize single TX queue.
3. Add fm10k_dev_start, fm10k_dev_stop and fm10k_dev_close
functions.
Signed-off-by: Jeff Shaw
Signed-off-by: Chen Jing D(Mark)
---
From: Jeff Shaw
1. Add 4 functions fm10k_dev_rx_queue_start,
fm10k_dev_rx_queue_stop, fm10k_dev_tx_queue_start,
and fm10k_dev_tx_queue_stop.
2. verify Rx packet buffer alignment is valid.
Hardware requires specific alignment for Rx packet buffers. At
least
From: Jeff Shaw
Add fm10k_tx_queue_setup and fm10k_tx_queue_release functions.
Signed-off-by: Jeff Shaw
Signed-off-by: Chen Jing D(Mark)
---
lib/librte_pmd_fm10k/fm10k_ethdev.c | 203 +++
1 files changed, 203 insertions(+), 0
1 - 100 of 149 matches
Mail list logo