Test commands are added to support selecting input set, or adding
new input set per different pctype.
Signed-off-by: Helin Zhang
Signed-off-by: Andrey Chilikin
---
app/test-pmd/cmdline.c | 218
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 33
The default input set of fields of a received packet are loaded from
firmware, which cannot be modified even users want to use different
fields for RSS or flow director. Here adds more flexibilities of
selecting packet fields for hash calculation or flow director for
users.
Signed-off-by: Helin
By default, only 3 bytes of GRE key will be used for hash or FD calculation.
Here adds selecting 3 or 4 bytes of GRE key for those purpose.
Note that these patches are based on another patch set of
"[PATCH v9 0/2] i40e: RSS/FD granularity configuration".
v2 changes:
Updated with RSS/FD
By default, only first 3 bytes of GRE key will be used for hash or
FD calculation. With these changes, it can select 3 or 4 bytes of
GRE key for hash or FD calculation.
Signed-off-by: Helin Zhang
Signed-off-by: Andrey Chilikin
---
doc/guides/rel_notes/release_2_2.rst | 2 +
Test commands are added to support selecting differnt length of GRE key.
Signed-off-by: Helin Zhang
Signed-off-by: Andrey Chilikin
---
app/test-pmd/cmdline.c | 52 +
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 11 ++
2 files changed, 63
2015-11-04 00:07, Helin Zhang:
> The default input set of fields of a received packet are loaded from firmware,
> which cannot be modified even users want to use different fields for RSS or
> flow director. Here adds more flexibilities of selecting or adding packet
> fields for hash calculation or
2015-11-04 00:28, Helin Zhang:
> By default, only 3 bytes of GRE key will be used for hash or FD calculation.
> Here adds selecting 3 or 4 bytes of GRE key for those purpose.
> Note that these patches are based on another patch set of
> "[PATCH v9 0/2] i40e: RSS/FD granularity configuration".
> > When creating a ring, a memzone is created to allocate it in memory,
> > but the ring could not be freed, as memzones could not be.
> >
> > Since memzones can be freed now, then rings can be as well,
> > taking into account if they were initialized using pre-allocated memory
> > (in which
2015-10-27 11:38, Bruce Richardson:
> On Fri, Oct 02, 2015 at 05:07:13PM +0100, Pablo de Lara wrote:
> > Since freeing a ring is now possible, then when freeing
> > a hash table, its internal ring can be freed as well.
> > Therefore when a new table, with the same name as a previously
> > freed
> > If using multiple cores on a system with hardware transactional memory
> > support, thread scaling does not work, as there was a single point in the
> > hash library which is a bottleneck for all threads, which is the
> > "free_slots" ring, which stores all the indices of the free slots in the
2015-09-28 11:29, Bruce Richardson:
> On Thu, Sep 17, 2015 at 11:30:48AM +0100, Pablo de Lara wrote:
> > If user has not added an all zero key in the hash table,
> > and tries to look it up, it results in an incorrect hit,
> > as dummy slot in the key table has all zero as well.
> >
> > Fixes:
2015-11-03 10:26, Bruce Richardson:
> On Tue, Nov 03, 2015 at 10:17:39AM +0800, Na Na wrote:
> > Fixes two issues in the delete_depth_small() function.
> >
> Series Acked-by: Bruce Richardson
Applied, thanks
2015-10-28 23:23, Sergio Gonzalez Monroy:
> On 28/10/2015 22:04, Shesha Sreenivasamurthy wrote:
> > When an application using huge-pages crash or exists, the hugetlbfs
> > backing files are not cleaned up. This is a patch to clean those files.
> > There are multi-process DPDK applications that may
Hi David,
On 11/2/2015 11:53 PM, David Marchand wrote:
> Hello,
>
> On Fri, Oct 30, 2015 at 6:27 AM, Cunming Liang
> wrote:
> [snip]
>
>> diff --git a/lib/librte_eal/linuxapp/eal/include/exec-env/rte_interrupts.h
>> b/lib/librte_eal/linuxapp/eal/include/exec-env/rte_interrupts.h
>> index
2015-11-03 12:00, Bruce Richardson:
> Move the function ptr and port id checking macros to the header file, so
> that they can be used in the static inline functions there. In doxygen
> comments, mark them as for internal use only.
[...]
> +/**
> + * @internal
> + * Macro to print a message if in
Hi David,
On 11/2/2015 11:59 PM, David Marchand wrote:
> On Fri, Oct 30, 2015 at 6:27 AM, Cunming Liang
> wrote:
>
>> VFIO allows multiple MSI-X vector, others doesn't, but maybe will allow it
>> in the future.
>> Device drivers need to be aware of the capability.
>> It's better to avoid
2015-10-12 14:25, Ferruh Yigit:
> On Mon, Oct 12, 2015 at 01:52:56PM +0100, Pablo de Lara wrote:
> > Kernel 4.2 has introduced two new parameters in
> > function ndo_bridge_netlink and therefore,
> > DPDK does not build with it.
> >
> > This patchset adds the necessary checks and
> > rename a
Hi David,
On 11/3/2015 12:06 AM, David Marchand wrote:
> On Fri, Oct 30, 2015 at 6:27 AM, Cunming Liang
> wrote:
>
>> As ixgbe vf doesn't support lsc, the patch removes those unused code.
>> In addition, it does some tiny cleanup.
>>
> Please, can you describe this tiny cleanup ?
> Did it
2015-10-28 08:52, Remy Horton:
> +/**
> + * @file keepalive.h
> + * DPDK RTE LCore Keepalive Monitor.
> + *
> + **/
The filename is rte_keepalive.h (seen with doxygen).
Dear Wiles, Keith , Van Haaren, Harry, Polehn, Mike A, Stephen Hemminger,
Kyle Larose, and DPDK experts.
I really appreciate for your precious answers and advices.
I will find and study the corresponding codes and CRC checking.
Last night, I tried to estimate bps and pps by using the
2015-10-28 08:52, Remy Horton:
> Adds functions for detecting and reporting the live-ness of LCores,
> the primary requirement of which is minimal overheads for the
> core(s) being checked. Core failures are notified via an application
> defined callback.
>
> Signed-off-by: Remy Horton
> ---
>
Hi,
> -Original Message-
> From: David Marchand [mailto:david.marchand at 6wind.com]
> Sent: Tuesday, November 3, 2015 10:25 PM
> To: dev at dpdk.org
> Cc: Lu, Wenzhuo; Julien Meunier
> Subject: [PATCH v2] igbvf: fix vlan filtering
>
> From: Julien Meunier
>
> Once posted through
Hi Zhongliang,
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Zhongliang Shu
> Sent: Wednesday, November 4, 2015 7:07 AM
> To: dev at dpdk.org
> Subject: [dpdk-dev] DPDK2.1 VF and NIC X552 PF - ixgbe SRIOV works?
>
> Hi, Guys:
> I have developed a VM to
This patch extends commands to support filtering in VFs of flow director.
Signed-off-by: Jingjing Wu
---
app/test-pmd/cmdline.c | 41 ++---
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 15 ++-
2 files changed, 46 insertions(+), 10
This patch extends struct rte_eth_fdir_flow_ext to support flow
director in VFs.
Signed-off-by: Jingjing Wu
---
doc/guides/rel_notes/deprecation.rst | 4
doc/guides/rel_notes/release_2_2.rst | 3 +++
lib/librte_ether/rte_eth_ctrl.h | 2 ++
3 files changed, 5 insertions(+), 4
This patch set extends flow director to VF filtering in i40e driver.
v2 change:
- rework the doc, including release notes and testpmd guide
v3 change:
- rebase doc update to the same commit with code change
v4 change:
- remove the fix of disable interrupt on queues when stop device
from
This patch extends flow director to filtering in VFs.
Signed-off-by: Jingjing Wu
---
doc/guides/rel_notes/release_2_2.rst | 2 ++
drivers/net/i40e/i40e_fdir.c | 15 ---
2 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/doc/guides/rel_notes/release_2_2.rst
On Tue, Nov 03, 2015 at 05:12:21PM +, Ananyev, Konstantin wrote:
>
>
> > -Original Message-
> > From: Jerin Jacob [mailto:jerin.jacob at caviumnetworks.com]
> > Sent: Tuesday, November 03, 2015 4:53 PM
> > To: Ananyev, Konstantin
> > Cc: dev at dpdk.org
> > Subject: Re: [dpdk-dev]
Hi, Thomas
> -Original Message-
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> Sent: Tuesday, November 03, 2015 7:35 AM
> To: Sun, Xutao
> Cc: dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v5] i40e: Fix the statistics issue of i40e
>
> 2015-10-30 16:20, Xutao Sun:
> >
v3 change:
- rename MISC_VEC_ID and RX_VEC_START
- add bsdapp dummy
- split cleanup and fix patches
- merge doc update along with code change
v2 change:
- rework to depend on one previous patch
patch http://dpdk.org/dev/patchwork/patch/7504/
- always set DIS_AUTOMASK_* bit in PF
During VFIO_DEVICE_SET_IRQS, the previous order is {Q0_fd, ... Qn_fd, misc_fd}.
The vector number of misc is indeterminable which is ugly to some NIC(e.g.
i40e, fm10k).
The patch adjusts the order in {misc_fd, Q0_fd, ... Qn_fd}, always reserve the
first vector to misc interrupt.
v3 changes:
-
According to the VFIO interrupt mapping, the interrupt vector id for rxq starts
from RX_VEC_START.
It doesn't impact the UIO cases.
v3 changes:
- macro renaming according to the EAL change
Signed-off-by: Cunming Liang
---
drivers/net/ixgbe/ixgbe_ethdev.c | 22 ++
According to the VFIO interrupt mapping, the interrupt vector id for rxq starts
from RX_VEC_START.
It doesn't impact the UIO cases.
v3 change:
- macro renaming according to the EAL change
Signed-off-by: Cunming Liang
---
drivers/net/e1000/e1000_ethdev.h | 3 +++
The patch adds condition check to avoid enable nothing.
In disable state, both max_intr and nb_efd are zero.
Signed-off-by: Cunming Liang
---
lib/librte_eal/bsdapp/eal/include/exec-env/rte_interrupts.h | 3 ++-
lib/librte_eal/linuxapp/eal/eal_interrupts.c | 8 +++-
Signed-off-by: Cunming Liang
---
drivers/net/e1000/igb_ethdev.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.c
index 1332974..76d2acc 100644
--- a/drivers/net/e1000/igb_ethdev.c
+++
VFIO allows multiple MSI-X vector, others doesn't, but maybe will allow it in
the future.
Device drivers need to be aware of the capability.
It's better to avoid condition check on interrupt type(VFIO) everywhere, instead
a capability api is more flexible for the condition change.
v3 change:
-
When ixgbe runs as a PF, mbox interrupt is prerequisite to make VF start
normally.
And PF sometimes won't 'dev_start', so the mbox interrupt register during
'dev_init' is required.
The patch rolls back the interrupt register for mbox,lsc to the 'dev_init'.
As UIO doesn't support multiple vector,
The intr_vec is free in dev_stop. It's not necessary to check in dev_close.
Signed-off-by: Cunming Liang
---
drivers/net/ixgbe/ixgbe_ethdev.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index 6b075f6..d5556cc
As ixgbe vf doesn't support lsc, the patch removes those unused code.
In addition, it does some tiny cleanup.
Signed-off-by: Cunming Liang
---
drivers/net/ixgbe/ixgbe_ethdev.c | 62 +---
1 file changed, 1 insertion(+), 61 deletions(-)
diff --git
When igb runs as a PF, mbox interrupt is prerequisite to make VF start normally.
And PF sometimes won't 'dev_start', so the mbox interrupt register during
'dev_init' is required.
The patch rolls back the interrupt register for mbox,lsc to the 'dev_init'.
As UIO doesn't support multiple vector,
Signed-off-by: Cunming Liang
---
drivers/net/ixgbe/ixgbe_ethdev.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index 153ba98..f1a738c 100644
--- a/drivers/net/ixgbe/ixgbe_ethdev.c
+++
The patch enables rx interrupt support on i40e VF and some necessary change on
PF IOV mode to support VF.
On PF side, running in IOV mode via uio won't allow rx interrupt which is
exclusive with mbox interrupt
in single vector competition.
On VF side, one single vector is shared for all the rx
The patch enables rx interrupt support on i40e PF non-IOV mode.
Per queue rx interrupt works on vfio, however on uio, all rx queues share one
interrupt vector.
v3 change:
- macro change according the EAL
- add doc update follow on the code change
v2 change:
- add write flush
-
The fm10k vector driver is specific for x86 platform which can't compile
on IBM POWER for lacking of tmmintrin.h header file. This patch turns
off fm10k driver compilation on IBM POWER to prevent compile issue.
Signed-off-by: Chao Zhu
---
config/defconfig_ppc_64-power8-linuxapp-gcc |1 +
1
Ping?
(CC:ing Stephen Hemminger as well)
// Simon
On 2015-10-28 10:56, Simon Kagstrom wrote:
> Otherwise mbufs will leak when the port is destroyed. The
> rte_sched_port_qbase() and rte_sched_port_qsize() functions are used
> in free now, so move them up.
>
> Signed-off-by: Simon Kagstrom
>
On Tue, Nov 3, 2015 at 2:50 PM, Thomas Monjalon
wrote:
> After more thoughts, we do not need such function to query a capability.
> The Bernard's patch add a bit-field to expose such capabilities.
> So this patchset is rejected, sorry.
>
As discussed offline, as long as those capabilities do
Ping?
// Simon
On 2015-10-20 15:20, Simon Kagstrom wrote:
> The tx_rate unit is Mbps.
>
> Gleaned from the ixgbe implementation, the 82599 datasheet and the use
> in test-pmd.
>
> Signed-off-by: Simon Kagstrom
> ---
> lib/librte_ether/rte_ethdev.h | 2 +-
> 1 file changed, 1 insertion(+), 1
Ping?
(Also including Stephen, Patrice and Pawel which has had comments on an
earlier iteration of this patch).
// Simon
On 2015-08-20 08:51, Simon Kagstrom wrote:
> /proc/version_signature is the version for the host machine, but in
> e.g., chroots, this does not necessarily match that DPDK is
On 2015/11/4 14:14, Chao Zhu wrote:
> The fm10k vector driver is specific for x86 platform which can't compile
> on IBM POWER for lacking of tmmintrin.h header file. This patch turns
> off fm10k driver compilation on IBM POWER to prevent compile issue.
>
> Signed-off-by: Chao Zhu
Acked-by:
> -Original Message-
> From: Simon Kagstrom [mailto:simon.kagstrom at netinsight.net]
> Sent: Thursday, August 20, 2015 2:51 PM
> To: Zhang, Helin; thomas.monjalon at 6wind.com; dev at dpdk.org
> Subject: [PATCH v2] kni: Use utsrelease.h to determine Ubuntu kernel version
>
>
Adds vhost TX offload support.
The patch set add the negotiation between us-vhost and virtio-net for vhost TX
offload(checksum and TSO), and add the TX offload support in the libs and
change vhost sample and csum application to test these changes.
v3 change:
rebase latest codes.
v2 change:
Fill virtio device info for TX offload.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtio_ethdev.c | 10 ++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/drivers/net/virtio/virtio_ethdev.c
b/drivers/net/virtio/virtio_ethdev.c
index cb5dfee..b831c02 100644
---
The virtual addr for virtio net header need to be recorded.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtqueue.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/virtio/virtqueue.h b/drivers/net/virtio/virtqueue.h
index 7789411..530f840 100644
---
Record virtual address of virtio net header.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtio_ethdev.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/drivers/net/virtio/virtio_ethdev.c
b/drivers/net/virtio/virtio_ethdev.c
index 465d3cd..cb5dfee 100644
---
Enqueue vhost TX checksum and TSO4/6 offload in virtio-net lib.
Signed-off-by: Jijiang Liu
---
lib/librte_vhost/virtio-net.c |6 +-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/lib/librte_vhost/virtio-net.c b/lib/librte_vhost/virtio-net.c
index 14278de..81bd309 100644
Add vhost TX checksum and TSO capabilities in virtio-net lib.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtio_ethdev.h |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/drivers/net/virtio/virtio_ethdev.h
b/drivers/net/virtio/virtio_ethdev.h
index
Enqueue vhost TX checksum and TSO4/6 offload in virtio-net lib.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtio_rxtx.c | 61 ++
1 files changed, 61 insertions(+), 0 deletions(-)
diff --git a/drivers/net/virtio/virtio_rxtx.c
Dequeue vhost TX offload in vhost lib.
Signed-off-by: Jijiang Liu
---
lib/librte_vhost/vhost_rxtx.c | 108 -
1 files changed, 107 insertions(+), 1 deletions(-)
diff --git a/lib/librte_vhost/vhost_rxtx.c b/lib/librte_vhost/vhost_rxtx.c
index
Change the vhost sample to support and test TX offload.
Signed-off-by: Jijiang Liu
---
examples/vhost/main.c | 128 ++---
1 files changed, 111 insertions(+), 17 deletions(-)
diff --git a/examples/vhost/main.c b/examples/vhost/main.c
index
v4 change:
- remove redundancy condition check on PF
v3 changes:
- rename MISC_VEC_ID and RX_VEC_START
- add bsdapp dummy
- split cleanup and fix patches
- merge doc update along with code change
v2 changes:
- rework to depend on one previous patch
patch
During VFIO_DEVICE_SET_IRQS, the previous order is {Q0_fd, ... Qn_fd, misc_fd}.
The vector number of misc is indeterminable which is ugly to some NIC(e.g.
i40e, fm10k).
The patch adjusts the order in {misc_fd, Q0_fd, ... Qn_fd}, always reserve the
first vector to misc interrupt.
v3 changes:
-
According to the VFIO interrupt mapping, the interrupt vector id for rxq starts
from RX_VEC_START.
It doesn't impact the UIO cases.
v3 changes:
- macro renaming according to the EAL change
Signed-off-by: Cunming Liang
---
drivers/net/ixgbe/ixgbe_ethdev.c | 22 ++
According to the VFIO interrupt mapping, the interrupt vector id for rxq starts
from RX_VEC_START.
It doesn't impact the UIO cases.
v3 change:
- macro renaming according to the EAL change
Signed-off-by: Cunming Liang
---
drivers/net/e1000/e1000_ethdev.h | 3 +++
The patch adds condition check to avoid enable nothing.
In disable state, both max_intr and nb_efd are zero.
Signed-off-by: Cunming Liang
---
lib/librte_eal/bsdapp/eal/include/exec-env/rte_interrupts.h | 3 ++-
lib/librte_eal/linuxapp/eal/eal_interrupts.c | 8 +++-
Signed-off-by: Cunming Liang
---
drivers/net/ixgbe/ixgbe_ethdev.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index 153ba98..f1a738c 100644
--- a/drivers/net/ixgbe/ixgbe_ethdev.c
+++
Signed-off-by: Cunming Liang
---
drivers/net/e1000/igb_ethdev.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.c
index 1332974..76d2acc 100644
--- a/drivers/net/e1000/igb_ethdev.c
+++
VFIO allows multiple MSI-X vector, others doesn't, but maybe will allow it in
the future.
Device drivers need to be aware of the capability.
It's better to avoid condition check on interrupt type(VFIO) everywhere, instead
a capability api is more flexible for the condition change.
v3 change:
-
When ixgbe runs as a PF, mbox interrupt is prerequisite to make VF start
normally.
And PF sometimes won't 'dev_start', so the mbox interrupt register during
'dev_init' is required.
The patch rolls back the interrupt register for mbox,lsc to the 'dev_init'.
As UIO doesn't support multiple vector,
The intr_vec is free in dev_stop. It's not necessary to check in dev_close.
Signed-off-by: Cunming Liang
---
drivers/net/ixgbe/ixgbe_ethdev.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index c322168..948a84f
As ixgbe vf doesn't support lsc, the patch removes those unused code.
In addition, it does some tiny cleanup.
Signed-off-by: Cunming Liang
---
drivers/net/ixgbe/ixgbe_ethdev.c | 62 +---
1 file changed, 1 insertion(+), 61 deletions(-)
diff --git
The patch enables rx interrupt support on i40e PF non-IOV mode.
Per queue rx interrupt works on vfio, however on uio, all rx queues share one
interrupt vector.
v4 change:
- remove redundancy condition check
v3 change:
- macro change according the EAL
- add doc update follow on the code
When igb runs as a PF, mbox interrupt is prerequisite to make VF start normally.
And PF sometimes won't 'dev_start', so the mbox interrupt register during
'dev_init' is required.
The patch rolls back the interrupt register for mbox,lsc to the 'dev_init'.
As UIO doesn't support multiple vector,
The patch enables rx interrupt support on i40e VF and some necessary change on
PF IOV mode to support VF.
On PF side, running in IOV mode via uio won't allow rx interrupt which is
exclusive with mbox interrupt
in single vector competition.
On VF side, one single vector is shared for all the rx
Hi Harry,
first of all thank you for your effort.
I have done some test with the current master (which includes you
patch). It improves the situation but does not fix it entirely. The
rx-error which showed up immediately after starting the interface is
gone since this was probably caused by
The old statistics on i40e only counted the packets on ports.
So the discarding packets on VSI were not counted.
This patch is to make statistics for packets both on ports and VSI.
Also update release notes.
Signed-off-by: Xutao Sun
---
v2:
- reword comments
v3:
- update release notes
v4:
-
> > 2015-10-30 16:20, Xutao Sun:
> > > The old statistics on i40e only counted the packets on ports.
> > > So the discarding packets on VSI were not counted.
> > > This patch is to make statistics for packets both on ports and VSI.
> >
> > Please, could you rebase on top of Harry's patches for
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Wenzhuo Lu
> Sent: Monday, November 2, 2015 6:14 AM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH] doc: update release notes for e1000 base code
> update
>
> Signed-off-by: Wenzhuo Lu
There are a few
Add a sample application that acts as a PTP slave using the DPDK IEEE1588
functions.
Also add some additional IEEE1588 support functions to enable getting,
setting and adjusting the device time.
V3->V4:
Doc:
- Update documentation for ptpclient
- fix: put information about ptpaplication in
Add additional functions to support the existing IEEE1588
functionality.
* rte_eth_timesync_settime(), function to set the device clock time.
* rte_eth_timesync_gettime, function to get the device clock time.
* rte_eth_timesync_adjust, function to adjust the device clock time.
Signed-off-by:
This patch add common functions and structures used for PTP processing.
Signed-off-by: Daniel Mrzyglod
---
lib/librte_net/Makefile | 2 +-
lib/librte_net/rte_ptp.h | 105 +++
2 files changed, 106 insertions(+), 1 deletion(-)
create mode 100644
Add additional functions to support the existing IEEE1588
functionality and to enable getting, setting and adjusting
the device time.
Signed-off-by: Daniel Mrzyglod
Signed-off-by: Pablo de Lara
---
drivers/net/ixgbe/ixgbe_ethdev.c | 272 +--
From: Pablo de Lara
Add additional functions to support the existing IEEE1588
functionality and to enable getting, setting and adjusting
the device time.
Signed-off-by: Pablo de Lara
Signed-off-by: Daniel Mrzyglod
---
drivers/net/e1000/e1000_ethdev.h | 3 +
> From: Sun, Xutao
> Sent: Wednesday, November 4, 2015 9:21 AM
> To: dev at dpdk.org
> Cc: Zhang, Helin; Van Haaren, Harry; Sun, Xutao
> Subject: [PATCH v6] i40e: Fix the statistics issue of i40e
>
> The old statistics on i40e only counted the packets on ports.
> So the discarding packets on VSI
From: Pablo de Lara
Add additional functions to support the existing IEEE1588
functionality and to enable getting, setting and adjusting
the device time.
Signed-off-by: Pablo de Lara
Signed-off-by: Daniel Mrzyglod
---
drivers/net/i40e/i40e_ethdev.c | 192
Add a sample application that acts as a PTP slave using the
DPDK ieee1588 functions.
Signed-off-by: Daniel Mrzyglod
---
MAINTAINERS | 3 +
doc/guides/rel_notes/release_2_2.rst | 5 +
examples/Makefile| 1 +
examples/ptpclient/Makefile
It includes:
- Add the ptpclient picture with svg format.
- Add the ptpclient.rst file
- Change the index.rst file for the above pictures index.
Signed-off-by: Daniel Mrzyglod
---
doc/guides/sample_app_ug/img/ptpclient.svg | 520 +
Hi Helin,
I have been doing some tests with the current DPDK master to see if the
issues we had with performance and statistics have improved.
In our own applications we usually disable flow control using the
following code:
struct rte_eth_fc_conf fc_conf = { .mode = RTE_FC_NONE };
int ret =
On Wed, Nov 04, 2015 at 02:19:36AM +0100, Thomas Monjalon wrote:
> 2015-11-03 12:00, Bruce Richardson:
> > Move the function ptr and port id checking macros to the header file, so
> > that they can be used in the static inline functions there. In doxygen
> > comments, mark them as for internal use
2015-08-20 08:51, Simon Kagstrom:
> /proc/version_signature is the version for the host machine, but in
> e.g., chroots, this does not necessarily match that DPDK is built
> for. DPDK will then build for the wrong kernel version - that of the
> server, and not that installed in the (build) chroot.
Please ignore this version of patch set, I will re-send it out.thanks
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jijiang Liu
> Sent: Wednesday, November 4, 2015 4:35 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH v3 0/8] add vhost TX offload
Adds vhost TX offload support.
The patch set add the negotiation between us-vhost and virtio-net for vhost TX
offload(checksum and TSO), and add the TX offload support in the libs and
change vhost sample and csum application to test these changes.
v3 change:
rebase latest codes.
v2 change:
Record virtual address of virtio net header.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtio_ethdev.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/drivers/net/virtio/virtio_ethdev.c
b/drivers/net/virtio/virtio_ethdev.c
index 465d3cd..cb5dfee 100644
---
Fill virtio device info for TX offload.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtio_ethdev.c | 10 ++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/drivers/net/virtio/virtio_ethdev.c
b/drivers/net/virtio/virtio_ethdev.c
index cb5dfee..b831c02 100644
---
Enqueue vhost TX checksum and TSO4/6 offload in virtio-net lib.
Signed-off-by: Jijiang Liu
---
lib/librte_vhost/virtio-net.c |6 +-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/lib/librte_vhost/virtio-net.c b/lib/librte_vhost/virtio-net.c
index 14278de..81bd309 100644
Enqueue vhost TX checksum and TSO4/6 offload in virtio-net lib.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtio_rxtx.c | 61 ++
1 files changed, 61 insertions(+), 0 deletions(-)
diff --git a/drivers/net/virtio/virtio_rxtx.c
Dequeue vhost TX offload in vhost lib.
Signed-off-by: Jijiang Liu
---
lib/librte_vhost/vhost_rxtx.c | 108 -
1 files changed, 107 insertions(+), 1 deletions(-)
diff --git a/lib/librte_vhost/vhost_rxtx.c b/lib/librte_vhost/vhost_rxtx.c
index
The virtual addr for virtio net header need to be recorded.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtqueue.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/virtio/virtqueue.h b/drivers/net/virtio/virtqueue.h
index 689c321..5b43eeb 100644
---
Add vhost TX checksum and TSO capabilities in virtio-net lib.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtio_ethdev.h |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/drivers/net/virtio/virtio_ethdev.h
b/drivers/net/virtio/virtio_ethdev.h
index
Change the vhost sample to support and test TX offload.
Signed-off-by: Jijiang Liu
---
examples/vhost/main.c | 128 ++---
1 files changed, 111 insertions(+), 17 deletions(-)
diff --git a/examples/vhost/main.c b/examples/vhost/main.c
index
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jijiang Liu
> Sent: Wednesday, November 4, 2015 6:54 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH v3 0/8] add vhost TX offload support
>
> Adds vhost TX offload support.
>
> The patch set add the
1 - 100 of 158 matches
Mail list logo