Hi John,
thanks very much for the big help :)
I'll try it tomorrow and if I run into any problems I'll contact you again.
Best regards,
Stefan.
Am 12.08.2015 um 19:09 schrieb Mcnamara, John:
>> -Original Message-
>> From: Stefan Binna [mailto:stefan.binna at salzburgresearch.at]
>>
Hi John,
thanks for the quick response.
I don't understand how to implement ieee1588fwd. Is there any manual,
sample application or similar available?
Or do I have to modify the testpmd.c file by myself? I don't really know
how to implement the code available in ieee1588fwd.c.
Thanks, Stefan.
Hi,
I'm currently trying to implement the ieee1588fwd.c function into my
testpmd programm. I'm using DPDK-2.0.0.
Is there any installation guide for ieee1588fwd implementation, i.e. any
source code where the function is already implemented?
I already changed the CONFIG_RTE_LIBRTE_IEEE1588=y
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Stefan Binna
> Sent: Wednesday, August 12, 2015 5:01 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] ieee1588fwd.c implementation
>
>
> I'm currently trying to implement the ieee1588fwd.c function into my
>
> > For x550 supports 2 new flow director modes, MAC VLAN and Cloud. The MAC
> > VLAN mode means the MAC and VLAN are monitored. The Cloud mode is for
> > VxLAN and NVGRE, and the tunnel type, TNI/VNI, inner MAC and inner VLAN
> > are monitored. So, there're a few new lookup fields for these 2 new
This patch allocates the core on the granularity of virtq instead of virtio
device.
This allows vhost having the capability of polling different virtq with
different core,
which shows better performance on vhost/virtio ports with more cores.
Add 2 API: rte_vhost_core_id_get and
Add per queue stats info
Signed-off-by: Changchun Ouyang
---
Changes in v3
- fix coding style and displaying format
- check stats_enable to alloc mem for queue pair
Changes in v2
- fix the stats issue in tx_local
- dynamically alloc mem for queue pair stats info
- fix checkpatch
Fix the max virtio queue pair read issue.
Control queue can't work for vhost-user mulitple queue mode,
so introduce a counter to void the dead loop when polling the control
queue(removed in v4).
Signed-off-by: Changchun Ouyang
---
Changes in v4:
- revert the workaround
- fix the max virtio
Sample vhost leverage the VMDq+RSS in HW to receive packets and distribute them
into different queue in the pool according to 5 tuples.
And enable multiple queues mode in vhost/virtio layer.
HW queue numbers in pool exactly same with the queue number in virtio device,
e.g. rxq = 4, the queue
Sample vhost need know the queue number user want to enable for each virtio
device,
so add the new option '--rxq' into it.
Signed-off-by: Changchun Ouyang
---
Changes in v3
- fix coding style
Changes in v2
- refine help info
- check if rxq = 0
- fix checkpatch errors
Support new protocol feature to communicate with qemu:
Add set and get protocol feature bits;
Add VRING_FLAG for mq feature to set vring flag, which
indicates the vq is enabled or disabled.
Reserve values as follows:
VHOST_USER_SEND_RARP = 17 (merge from qemu community)
VHOST_USER_SET_VRING_FLAG
This is added since v3.
Check the virtqueue address's validity.
Signed-off-by: Changchun Ouyang
---
Changes in v4:
- remove unnecessary code
lib/librte_vhost/vhost_user/vhost-net-user.c | 4 +++-
lib/librte_vhost/virtio-net.c| 10 ++
2 files changed, 13
QEMU sends separate commands orderly to set the memory layout for each queue
in one virtio device, accordingly vhost need keep memory layout information
for each queue of the virtio device.
This also need adjust the interface a bit for function gpa_to_vva by
introducing the queue index to specify
From: Changchun Ouyang
it is added in v4.
Signed-off-by: Changchun Ouyang
---
lib/librte_vhost/rte_vhost_version.map | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_vhost/rte_vhost_version.map
b/lib/librte_vhost/rte_vhost_version.map
Each virtio device could have multiple queues, say 2 or 4, at most 8.
Enabling this feature allows virtio device/port on guest has the ability to
use different vCPU to receive/transmit packets from/to each queue.
In multiple queues mode, virtio device readiness means all queues of
this virtio
In non-SRIOV environment, VMDq RSS could be enabled by MRQC register.
In theory, the queue number per pool could be 2 or 4, but only 2 queues are
available due to HW limitation, the same limit also exist in Linux ixgbe driver.
Signed-off-by: Changchun Ouyang
---
Changes in v2:
- fix checkpatch
This patch targets for R2.2, please ignore it in R2.1.
Send them out a bit earlier just for seeking more comments.
This patch set supports the multiple queues for each virtio device in vhost.
Currently the multiple queues feature is supported only for vhost-user, not yet
for vhost-cuse.
The new
In commit: 1129992baa61d72c5 checking for offset alignment was removed.
Unit tests wasn't updated to reflect that change. This patch changes
checks with unaligned offsets to make tests pass.
Signed-off-by: Maciej Gajdzica
---
app/test/test_table_tables.c | 10 +-
1 file changed, 5
test_table_ACL wasn't invoked when running table_autotest. Added this
test to table_tests array to make it run with other table tests.
Signed-off-by: Maciej Gajdzica
---
app/test/test_table_tables.c |3 +++
app/test/test_table_tables.h |2 +-
2 files changed, 4 insertions(+), 1
> -Original Message-
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> Sent: Wednesday, August 12, 2015 2:53 PM
> To: Gajdzica, MaciejX T
> Cc: dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH 1/1] test_table: added ACL table test to the
> list
>
> 2015-08-12 14:41,
2015-06-17 11:36, Jingjing Wu:
> It announces the planned ABI change to support flow director filtering in VF
> on v2.2.
>
> Signed-off-by: Jingjing Wu
Reworded and applied, thanks
When DPDK is being compiled in C++ project using g++ then
'invalid conversion from' error appears. Added explicit
typecast on function return to get rid of the error.
Signed-off-by: Sergey Balabanov
---
lib/librte_mbuf/rte_mbuf.h | 2 +-
lib/librte_mempool/rte_mempool.h | 4 ++--
2 files
On 08/12/2015 11:02 AM, Ouyang Changchun wrote:
> From: Changchun Ouyang
>
> it is added in v4.
>
> Signed-off-by: Changchun Ouyang
> ---
> lib/librte_vhost/rte_vhost_version.map | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/librte_vhost/rte_vhost_version.map
>
> > The patch announces the planned ABI changes for interrupt mode.
> >
> > Signed-off-by: Cunming Liang
> Acked-by: Helin Zhang
Applied, thanks
On 12/08/2015 10:02, Ouyang Changchun wrote:
> +#define VMDQ_RSS_RX_QUEUE_NUM_MAX 4
> +
> +static int
> +rte_eth_dev_check_vmdq_rss_rxq_num(__rte_unused uint8_t port_id, uint16_t
> nb_rx_q)
> +{
> + if (nb_rx_q > VMDQ_RSS_RX_QUEUE_NUM_MAX)
> + return -EINVAL;
> + return 0;
>
Hi,
This snippet of code is from test_mp_secondary.c
/* Run a test_pci call */
if (test_pci() != 0) {
printf("PCI scan failed in secondary\n");
if (getuid() == 0) /* pci scans can fail as non-root */ {
return -1;
}
} else
printf("PCI scan
> > One hierarchical level is enough for this table of content.
> >
> > Use generated release number.
> >
> > Signed-off-by: Thomas Monjalon
>
> Acked-by: John McNamara
Applied
> It announces the planned ABI changes for vhost-user multiple queues feature
> on v2.2.
>
> Signed-off-by: Changchun Ouyang
> ---
> +* The ABI changes are planned for struct virtio_net in order to support
> vhost-user multiple queues feature. The upcoming release 2.1 will not contain
> these
On 2015-08-12 05:34, Xie, Huawei wrote:
> On 8/8/2015 1:21 AM, Jan Kiszka wrote:
>> On VHOST_*_RESET_OWNER, we reinitialize the device but without telling
>> the application. That will cause crashes when it continues to invoke
>> vhost services on the device. Fix it by calling the destruction hook
> -Original Message-
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> Sent: Tuesday, August 11, 2015 11:59 PM
> To: Mcnamara, John
> Cc: dev at dpdk.org
> Subject: [PATCH] doc: simplify release notes cover
>
> One hierarchical level is enough for this table of content.
>
>
> -Original Message-
> From: Adrien Mazarguil [mailto:adrien.mazarguil at 6wind.com]
> Sent: Tuesday, August 11, 2015 3:43 PM
> To: Mcnamara, John
> Cc: dev at dpdk.org
> Subject: [PATCH 2/2] doc: add mlx4 release notes to DPDK 2.1.0
>
> Signed-off-by: Adrien Mazarguil
Acked-by: John
> -Original Message-
> From: Adrien Mazarguil [mailto:adrien.mazarguil at 6wind.com]
> Sent: Tuesday, August 11, 2015 3:43 PM
> To: Mcnamara, John
> Cc: dev at dpdk.org
> Subject: [PATCH 1/2] doc: add missing release notes for mlx4 availability
> in DPDK 2.0.0
>
> Signed-off-by: Adrien
On 8/8/2015 1:21 AM, Jan Kiszka wrote:
> On VHOST_*_RESET_OWNER, we reinitialize the device but without telling
> the application. That will cause crashes when it continues to invoke
> vhost services on the device. Fix it by calling the destruction hook if
> the device is still in use.
>
>
One hierarchical level is enough for this table of content.
Use generated release number.
Signed-off-by: Thomas Monjalon
---
doc/guides/rel_notes/index.rst | 2 +-
doc/guides/rel_notes/rel_description.rst | 5 ++---
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git
34 matches
Mail list logo