On 11/2/2017 5:41 AM, Stephen Hemminger wrote:
On Thu, 2 Nov 2017 04:16:44 +0800
Jeff Guo wrote:
+
+static int
+dev_uev_parse(const char *buf, struct rte_eal_uevent *event)
+{
+ char action[RTE_EAL_UEVENT_MSG_LEN];
+ char subsystem[RTE_EAL_UEVENT_MSG_LEN];
+ char dev_path[
At the beginning of vring_translate, the code
if(!(dev->features & (1ULL << VIRTIO_F_IOMMU_PLATFORM))) already judges
if IOMMU_PLATFORM is supported. The function vhost_iova_to_vva always
repeats the logic, __vhost_iova_to_vva can be used directly to avoid it
here.
Signed-off-by: Zhiyong Yang
---
Without this patch, the number of queues per i40e VF is defined as 4
by CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VF=4 in config/common_base.
It is fixed value determined in building time and can't be changed
during run time.
With this patch, the number of queues per i40e VF can be determinated
during
On Thu, 2 Nov 2017 04:16:44 +0800
Jeff Guo wrote:
> +int
> +rte_dev_bind_driver(const char *dev_name, const char *drv_type) {
Bracket left after declaration.
> + snprintf(drv_override_path, sizeof(drv_override_path),
> + "/sys/bus/pci/devices/%s/driver_override", dev_name);
>
Add API to perform self test on the underlying event device driver.
Signed-off-by: Pavan Nikhilesh
Acked-by: Harry van Haaren
---
lib/librte_eventdev/rte_eventdev.c | 10 ++
lib/librte_eventdev/rte_eventdev.h | 12
lib/librte_eventdev/rte_eventdev_pmd.h
Modify test_eventdev_octeontx to be standalone selftest independent of
test framework.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/octeontx/octeontx_evdev_selftest.c | 427 +--
1 file changed, 234 insertions(+), 193 deletions(-)
diff --git a/drivers/event/octeontx/octeo
Adding common test assertion macros for unit testing.
Taken from test/test.h.
Signed-off-by: Pavan Nikhilesh
---
v3 Changes:
- add eventdev driver specific selftest to test/test
v2 Changes:
- remove duplications of test macros.
- add selftest to test/test.
- remove selftest devargs fr
Move octeontx eventdev specific test (test_eventdev_octeontx.c) to
driver/event/octeontx.
Signed-off-by: Pavan Nikhilesh
---
.../event/octeontx/octeontx_evdev_selftest.c | 0
test/test/Makefile | 1 -
2 files chang
Update octeontx eventdev ops to invoke selftest when application
invokes `rte_event_dev_selftest`.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/octeontx/Makefile | 3 ++-
drivers/event/octeontx/ssovf_evdev.c | 2 ++
drivers/event/octeontx/ssovf_evdev.h | 4
3 files changed, 8 inser
Add selftest as a device argument that can be enabled by suppling
'self_test=1' as a vdev parameter
--vdev="event_octeontx,self_test=1"
The selftest is run after vdev creation is successfully
complete.
Signed-off-by: Pavan Nikhilesh
---
drivers/event/octeontx/Makefile | 2 +-
dri
Move software eventdev specific test (test_eventdev_sw) to
driver/event/sw/.
Signed-off-by: Pavan Nikhilesh
Acked-by: Harry van Haaren
---
test/test/test_eventdev_sw.c => drivers/event/sw/sw_evdev_selftest.c | 0
test/test/Makefile | 1 -
2 file
Modify test_eventdev_sw to be standalone selftest independent of test
framework.
Signed-off-by: Pavan Nikhilesh
Acked-by: Harry van Haaren
---
drivers/event/sw/sw_evdev_selftest.c | 70 ++--
1 file changed, 36 insertions(+), 34 deletions(-)
diff --git a/drivers/
Update software eventdev ops to invoke selftest when application invokes
`rte_event_dev_selftest`.
Signed-off-by: Pavan Nikhilesh
Acked-by: Harry van Haaren
---
drivers/event/sw/Makefile | 2 ++
drivers/event/sw/sw_evdev.c | 2 ++
drivers/event/sw/sw_evdev.h | 1 +
3 files changed, 5 insertio
Update octeontx eventdev documentation to include new selftest feature.
Signed-off-by: Pavan Nikhilesh
Acked-by: Marko Kovacevic
---
doc/guides/eventdevs/octeontx.rst | 13 +
1 file changed, 13 insertions(+)
diff --git a/doc/guides/eventdevs/octeontx.rst
b/doc/guides/eventdevs/oct
Signed-off-by: Pavan Nikhilesh
---
test/test/test_eventdev.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/test/test/test_eventdev.c b/test/test/test_eventdev.c
index f8ee1bef6..7465251dc 100644
--- a/test/test/test_eventdev.c
+++ b/test/test/test_eventdev.c
@@ -1018
Hi Alex:
> -Original Message-
> From: Alex Rosenbaum [mailto:rosenbauma...@gmail.com]
> Sent: Saturday, December 23, 2017 6:27 AM
> To: Zhang, Qi Z
> Cc: adrien.mazarg...@6wind.com; DPDK ; Doherty, Declan
>
> Subject: Re: [dpdk-dev] [RFC v2 3/5] ether: Add flow timeout support
>
> On Fr
This patch moves the kernel modules code from EAL to a common place.
- Separate the kernel module code from user space code.
Signed-off-by: Hemant Agrawal
---
GNUmakefile | 2 +-
MAINTAINERS
EFX_RXQ_LIMIT is libefx-specifics and it should not be used
for other Rx datapaths implementations (e.g. EF10 native).
EF10 native Rx datapath has its own understanding of the maximum
RxQ fill level imposed by EvQ clear strategy and space reserved
for Rx error and flush events.
Signed-off-by: And
The minimum size of Rx/Tx descriptor rings supported by Solarflare HW is 512.
It adds inconvenience to run DPDK applications which typically use smaller
default values. Also smaller numbers of used descriptors is better for
performance.
The patch series adds possibility to use any number of Rx/Tx
Prepare to support more options for number of Tx descriptors.
libefx-based datapath is updated just for completeness to
make code more readable and less error-prone.
Signed-off-by: Andrew Rybchenko
Reviewed-by: Andy Moreton
---
drivers/net/sfc/sfc_dp_tx.h | 2 ++
drivers/net/sfc/sfc_ef10_tx
The number of Tx descriptors is not used as HW Tx ring size any more.
It simply defines maximum fill level.
Signed-off-by: Andrew Rybchenko
Reviewed-by: Andy Moreton
---
drivers/net/sfc/sfc_dp_tx.h | 8
drivers/net/sfc/sfc_ef10_tx.c | 29 ++---
drivers/net/sf
EFX_TXQ_LIMIT is libefx-specifics and it should not be used
for other Tx datapaths implementations (e.g. EF10 native).
EF10 native Tx datapath has its own understanding of the maximum
TxQ fill level imposed by EvQ clear strategy and space reserved
for Tx error and flush events.
Signed-off-by: And
Prepare to support more options for number of Rx descriptors.
libefx-based datapath is updated just for completeness to
make code more readable and less error-prone.
Signed-off-by: Andrew Rybchenko
Reviewed-by: Andy Moreton
---
drivers/net/sfc/sfc_dp_rx.h | 2 ++
drivers/net/sfc/sfc_ef10_rx.
The number of Rx descriptors is not used as HW Rx ring size any more.
It simply defines maximum fill level.
Signed-off-by: Andrew Rybchenko
Reviewed-by: Andy Moreton
---
drivers/net/sfc/sfc_dp_rx.h | 8
drivers/net/sfc/sfc_ef10_rx.c | 30 +++---
drivers/net/s
The trigger for PMD to use the application RSS configuration should be
based on the validity of rss_key and not the rss_key_len. Otherwise
segmentation fault can occur if application provide valid RSS key length
but without any RSS key.
Fixes: 29c1d8bb3e79 ("net/mlx5: handle a single RSS hash key
On Tue, Dec 26, 2017 at 5:28 AM, Zhang, Qi Z wrote:
>> On Fri, Dec 22, 2017 at 11:03 AM, Zhang, Qi Z wrote:
>> >> On Thu, Dec 21, 2017 at 4:35 AM, Qi Zhang wrote:
>> >> > Add new APIs to support flow timeout, application is able to 1.
>> >> > Setup the time duration of a flow, the flow is expect
26 matches
Mail list logo