Hi Xueming,
Please see some comments below,
On Thu, Aug 24, 2017 at 10:03:40PM +0800, Xueming Li wrote:
> rte_eth_dev created by primary process were not available in secondary
> process, it was not possible to use the primary process local memory
> object from a secondary process.
>
> This patc
In function cmd_show_bonding_config_parsed() used number represent
the bond type,in order more detailed,add bond type description
otherwise we may confused about the number type.
And also,the primary port just use in mode active backup and tlb,
so,when the mode is active backup or tlb show the prim
This patch dynamically selects x86 EFD functions at run-time.
This patch uses function pointer and binds it to the relative
function based on CPU flags at constructor time.
Signed-off-by: Xiaoyun Li
---
lib/librte_efd/rte_efd_x86.h | 35 ---
1 file changed, 32 ins
This patch modifies assignment of alignment unit from build-time
to run-time based on CPU flags that machine supports.
Signed-off-by: Xiaoyun Li
---
test/test/test_memcpy_perf.c | 36 +++-
1 file changed, 23 insertions(+), 13 deletions(-)
diff --git a/test/test/t
This patch dynamically selects functions of memcpy at run-time based
on CPU flags that current machine supports. This patch uses function
pointers which are bind to the relative functions at constrctor time.
To make AVX512 instructions pass compilation, enable the switch in
makefile.
Signed-off-by
This patchset dynamically selects functions at run-time based on CPU flags
that current machine supports. This patchset modifies mempcy, memcpy perf
test and x86 EFD, using function pointers and bind them at constructor time.
Xiaoyun Li (3):
eal/x86: run-time dispatch over memcpy
app/test: run
> -Original Message-
> From: Stephen Hemminger [mailto:step...@networkplumber.org]
> Sent: Thursday, August 24, 2017 7:37 PM
> To: David Harton (dharton)
> Cc: tho...@monjalon.net; ferruh.yi...@intel.com;
> stephen.h...@broadcom.com; ajit.khapa...@broadcom.com; John Daley
> (johndale) ;
On Thu, 24 Aug 2017 19:18:51 -0400
David Harton wrote:
> @@ -2031,7 +2031,7 @@ struct avp_queue {
> mask = (ETH_VLAN_STRIP_MASK |
> ETH_VLAN_FILTER_MASK |
> ETH_VLAN_EXTEND_MASK);
> - avp_vlan_offload_set(eth_dev, mask);
> + (void)avp_vlan_offload_set(eth
Some devices may not support or fail setting VLAN offload
configuration based on dynamic circurmstances so the
vlan_offload_set_t vector is modified to return an int so
the caller can determine success or not.
rte_eth_dev_set_vlan_offload is updated to return the
value provided by the vector when
Thats great, what about the hash functions.
On 24 Aug 2017 10:54, "Andriy Berestovskyy" wrote:
> Hey Pragash,
> I am not the author of the code, but I guess it is done that way
> because modern compilers do recognize power of two constants and do
> substitute division and modulo operations with c
> -Original Message-
> From: Luca Boccassi [mailto:luca.bocca...@gmail.com]
> Sent: Tuesday, August 22, 2017 3:02 AM
> To: Wang, Yipeng1
> Cc: dev@dpdk.org
> Subject: Re: [dpdk-dev] [PATCH 1/7] member: implement main API
>
> On Mon, 2017-08-21 at 17:19 -0700, Yipeng Wang wrote:
> > Membe
This patch adds support for flow validate/create/destroy/flush ops.
Signed-off-by: Ajit Khaparde
---
drivers/net/bnxt/bnxt.h | 9 +
drivers/net/bnxt/bnxt_ethdev.c | 50 ++-
drivers/net/bnxt/bnxt_filter.c | 661 +++-
drivers/net/bnxt/bnxt_filter.h
Obtain the spinlock in HWRM_PREP()
Eliminate two unnecessary arguments in HWRM_PREP().
Unlock the spinlock before returning in HWRM_ERROR_CHECK()
Add new HWRM_UNLOCK() macro
Update usage of the thre macros.
Signed-off-by: Ajit Khaparde
---
drivers/net/bnxt/bnxt_hwrm.c | 413 +
add support for rx_descriptor_done dev_op
Signed-off-by: Ajit Khaparde
---
drivers/net/bnxt/bnxt_ethdev.c | 23 +++
1 file changed, 23 insertions(+)
diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c
index 1d2fd78..1b8e4a9 100644
--- a/drivers/net/bn
add support for tx_descriptor_status dev_op
Signed-off-by: Ajit Khaparde
---
drivers/net/bnxt/bnxt_ethdev.c | 26 ++
1 file changed, 26 insertions(+)
diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c
index 1b8e4a9..088cf6a 100644
--- a/drivers/n
Add new HWRM structures for exact match and ntuple filtering.
These will be used in the subsequent patches to add support for
filter_ctrl dev_op
Signed-off-by: Ajit Khaparde
---
drivers/net/bnxt/hsi_struct_def_dpdk.h | 984 +
1 file changed, 984 insertions(+)
dif
add support for rx_descriptor_status dev_op
Signed-off-by: Ajit Khaparde
---
drivers/net/bnxt/bnxt_ethdev.c | 26 ++
1 file changed, 26 insertions(+)
diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c
index 316a167..1d2fd78 100644
--- a/drivers/n
add support for rx_queue_count dev_op
Signed-off-by: Ajit Khaparde
---
drivers/net/bnxt/bnxt_ethdev.c | 23 +++
1 file changed, 23 insertions(+)
diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c
index 1302710..316a167 100644
--- a/drivers/net/bnxt/b
This patch adds support for xstats_get_by_id/xstats_get_names_by_id.
Signed-off-by: Ajit Khaparde
---
drivers/net/bnxt/bnxt_ethdev.c | 2 ++
drivers/net/bnxt/bnxt_stats.c | 44 ++
drivers/net/bnxt/bnxt_stats.h | 5 +
3 files changed, 51 insertions(+
This patchset adds:
- support for xstats get by id
- support for rx_queue_count
- support for rx_descriptor_status
- support for rx_descriptor_done
- support for tx_descriptor_status
- support for flow filter ops
- new HWRM structures which are used by the flow filtering functions
It
NFP PMF has now support for both, PF and VFs. This patch updates
the guide and give some information about implications.
Signed-off-by: Alejandro Lucero
---
doc/guides/nics/nfp.rst | 71 -
1 file changed, 52 insertions(+), 19 deletions(-)
diff --g
During initialization, mac address is read from configuration bar. This is
the default option when using VFs.
This patch adds support for reading the mac address using the NSPU
interface when PMD works with the PF.
Signed-off-by: Alejandro Lucero
---
drivers/net/nfp/nfp_net.c | 59 +
It is PMD task to configure the hardware port: link up when port started
and link down when port stopped. This is not required for VFs but it is
for PF ports.
A minor refactoring in PMD stop and close functions is done because the
Link down needs to happen just when device is stopped.
Signed-off-
NFP can support several physical ports per PF device. Depending on
firmware info, one or more eth_dev objects will need to be created.
This patch adds the call to create just one eth_dev by now with future
commits supporting the multiport option. Once the eth_dev has been
created, probe function i
Adding a new NSPU command for being able to read and write the ethernet
port table from/to the NFP. This will allow the PMD to put the Link up
or down when a port is started or stopped. Until now, this was performed
by the firmware independently of PMD functionality.
The ethernet port table has al
A NFP PF PCI device can have several physical ports, up to 8. Because
DPDK core creates one eth_dev per PCI device, nfp pf probe function
is used. Number of PF ports is obtained from firmware symbol using
NSPU API. Inside PF probe function an eth_dev per port is created and
nfp_net_init invoked for
NFP vNICs use a subset of PCI device BARs. vNIC rx/tx bars point to
NFP hardware queues unit. Unline vNIC config bar, the NFP address is
always the same so the NFP expansion bar configuration always uses
the same hardcoded physical address.
This patch adds a NSPU API function for getting vNIC rx/t
nfp_net_init is where a dpdk port related to a eth_dev is initialized.
NFP VF vNICs use VF PCI BARs as they come after SRIOV is enabled. But for
NFP PF vNIC just a subset of PF PCI BARs are used.
This patch adds support for mapping the right PCI BAR subsets for the PF
vNIC. It uses the NSPU API fu
NFP vNICs use a subset of PCI device BARs. vNIC config bar depends on
firmware symbol defining how to map it through a NFP expansion bar.
This patch adds a NSPU API function for getting a vNIC config bar
mapped through a expansion bar giving a firmware symbol. The PMD will
use the PCI bar offset r
Firmware has symbols helping to configure things like number of
PF ports, vNIC BARs addresses inside NFP memories, or ethernet
link state. Different firmware apps have different things to map
and likely different internal NFP addresses to use.
Host drivers can use the NSPU interface for getting sy
PMD will use this function for uploading the firmware. First, a
symbol resolution is done for finding out if there is a firmware
already there. If not, a NFP reset is called before using NSPU
fw upload code.
PMD PF probe function is now using this logic.
Signed-off-by: Alejandro Lucero
---
driv
A NFP PF PCI devices can have PCI ID 4000 or 6000.
Signed-off-by: Alejandro Lucero
---
drivers/net/nfp/nfp_net.c | 4
drivers/net/nfp/nfp_net_pmd.h | 1 +
2 files changed, 5 insertions(+)
diff --git a/drivers/net/nfp/nfp_net.c b/drivers/net/nfp/nfp_net.c
index e2fe83a..1890a4a 100644
-
NSPU interface declares a buffer controlled by the NFP NSP service
processor. It is possible to send commands to the NSP using the NSPU
and this buffer for data related to the command. A command can imply
buffer read, buffer write, both or none.
Initial command for resetting the firmware is added
Using NSPU interface for fw upload. Firmware file needs to be
installed in specific path inside system firmware directory.
NSPU buffer is used for writing the firmware before sending the
command.
Signed-off-by: Alejandro Lucero
---
drivers/net/nfp/nfp_nspu.c | 66 +++
Configuring the NFP PMD for using the PF requires access through the
NSPU interface for device configuration. This patch adds a specific probe
function for the PF which uses the NSPU interface. Just basic NSPU access
is done by now reading the NSPU ABI version.
No ethernet port is created yet.
Si
NFP PMD has just had support for SRIOV VFs until now. This patchset adds
support for the PF, but just for being used as another DPDK port. No VF
management is added by now.
NFP is a programmable device and it supports virtual NICs (vNICs) through
firmware implementation. Different firmware applica
Working with the PF requires access to the NFP for basic configuration.
NSP is the NFP Service Processor helping with hardware and firmware
configuration. NSPU is the NSP user space interface for working with the
NSP.
Configuration through NSPU allows to create PCI BAR windows for accessing
differ
Added loopback functionality use when the chip is a VF in order to
enable packet transmission between VFs and between VFs and PF.
Signed-off-by: Moti Haimovsky
---
drivers/net/mlx4/mlx4_prm.h | 2 +-
drivers/net/mlx4/mlx4_rxtx.c | 28 ++--
drivers/net/mlx4/mlx4_rxtx.h |
PMD now supports offloading the ip and tcp/udp checksum header calculation
(including tunneled packets) to the hardware.
Signed-off-by: Moti Haimovsky
---
drivers/net/mlx4/mlx4.c| 7 +++
drivers/net/mlx4/mlx4.h| 2 ++
drivers/net/mlx4/mlx4_ethdev.c | 6 ++
drivers/net/
PMD now take into consideration the amount of entries in the TxQ
a packet occupies when choosing weather to set the report-completion flag
to the chip or not.
Signed-off-by: Moti Haimovsky
---
drivers/net/mlx4/mlx4_rxtx.c | 30 +++---
drivers/net/mlx4/mlx4_rxtx.h | 2 +-
PRM now supports transmitting packets spanning over arbitrary
amount of buffers.
Signed-off-by: Moti Haimovsky
---
drivers/net/mlx4/mlx4_prm.h | 16 +---
drivers/net/mlx4/mlx4_rxtx.c | 213 +++
drivers/net/mlx4/mlx4_rxtx.h | 3 +-
drivers/net/mlx4/mlx4
PMD now sends the single-buffer packets directly to the device
bypassing the ibv Tx post and poll routines.
Signed-off-by: Moti Haimovsky
---
drivers/net/mlx4/mlx4_prm.h | 253 +
drivers/net/mlx4/mlx4_rxtx.c | 260 +++--
This series of patches implements the mlx4-pmd with Tx data path that directly
access the device queues for transmitting packets, bypassing the ibverbs Tx
data path altogether.
Using this scheme allows the PMD to work with upstream rdma-core package
instead of the Mellanox OFED one without sacrific
Add new structure rte_eth_raw_flow to the union rte_eth_fdir_flow
to support filter for raw flow type
Signed-off-by: Kirill Rybalchenko
---
lib/librte_ether/rte_eth_ctrl.h | 10 ++
1 file changed, 10 insertions(+)
diff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib/librte_ether/rte_eth_c
When addidng flow director filter for raw flow type, instead
of constructing packet use buffer with pre-constructed packet.
Signed-off-by: Kirill Rybalchenko
---
drivers/net/i40e/i40e_fdir.c | 27 +++
1 file changed, 19 insertions(+), 8 deletions(-)
diff --git a/drivers/
For complex packets use raw flow type with pre-constructed packet buffer
instead of creating a packet internally in PMD.
Kirill Rybalchenko (2):
ethdev: add support for raw flow type for flow director
net/i40e: add support for raw flow type for flow director
drivers/net/i40e/i40e_fdir.c|
Hi Ori,
On Thu, Aug 24, 2017 at 02:04:32PM +, Ori Kam wrote:
> Hi Nelio,
>
> Please see my comments in line.
>
> Ori
>
> > -Original Message-
> > From: Nélio Laranjeiro [mailto:nelio.laranje...@6wind.com]
> > Sent: Thursday, August 24, 2017 9:54 AM
> > To: Ori Kam
> > Cc: adrien.ma
On Thu, Aug 24, 2017 at 12:23:10PM +, Shachar Beiser wrote:
> This removes the dependency on specific Mellanox OFED libraries by
> using the upstream rdma-core and linux upstream community code.
>
> Minimal requirements: rdma-core v16 and Kernel Linux 4.14.
Is not it also suppose to keep w
Hey Pragash,
I am not the author of the code, but I guess it is done that way
because modern compilers do recognize power of two constants and do
substitute division and modulo operations with corresponding bit
manipulations.
Just try to compile a small program like the following:
volatile unsign
[Apologies for the late notice]
Below are the features that we're planning to submit for the 17.11 release:
- new ethdev Rx/Tx offloads API
- new IPsec inline offload API
- rework mlx drivers to support upstream ibverbs from
linux-rdma.org
- s
Hi Nelio
> -Original Message-
> From: Nélio Laranjeiro [mailto:nelio.laranje...@6wind.com]
> Sent: Thursday, August 24, 2017 10:38 AM
> To: Matan Azrad
> Cc: Adrien Mazarguil ; dev@dpdk.org
> Subject: Re: [PATCH 1/2] net/mlx5: support device removal event
>
> On Wed, Aug 23, 2017 at 07:4
Hi folks,
Resurrecting this old thread. I ran across this issue recently in DPDK
17.05, and it's also present in17.08. It appears no fix was committed.
I'm working on a solution, but if anyone has a fix in flight please let
me know.
Regards,
Roger
On 4/29/16 3:29 AM, Olivier Matz wrote:
This patch adds GSO support to the csum forwarding engine. Oversized
packets transmitted over a GSO-enabled port will undergo segmentation
(with the exception of packet-types unsupported by the GSO library).
GSO support is disabled by default.
GSO support may be toggled on a per-port basis, using
From: Mark Kavanagh
This patch adds GSO support for GRE-tunneled packets. Supported GRE
packets must contain an outer IPv4 header, and inner TCP/IPv4 headers.
They may also contain a single VLAN tag. GRE GSO assumes that all input
packets have correct checksums and doesn't update checksums for ou
This patch adds GSO support for TCP/IPv4 packets. Supported packets
may include a single VLAN tag. TCP/IPv4 GSO assumes that all input
packets have correct checksums, and doesn't update checksums for output
packets (the responsibility for this lies with the application).
Additionally, TCP/IPv4 GSO
From: Mark Kavanagh
This patch adds GSO support for VxLAN-encapsulated packets. Supported
VxLAN packets must have an outer IPv4 header (prepended by an optional
VLAN tag), and contain an inner TCP/IPv4 packet (with an optional inner
VLAN tag).
VxLAN GSO assumes that all input packets have correc
Generic Segmentation Offload (GSO) is a SW technique to split large
packets into small ones. Akin to TSO, GSO enables applications to
operate on large packets, thus reducing per-packet processing overhead.
To enable more flexibility to applications, DPDK GSO is implemented
as a standalone library.
Generic Segmentation Offload (GSO) is a SW technique to split large
packets into small ones. Akin to TSO, GSO enables applications to
operate on large packets, thus reducing per-packet processing overhead.
To enable more flexibility to applications, DPDK GSO is implemented
as a standalone library.
> -Original Message-
> From: Wiles, Keith
> Sent: Wednesday, August 23, 2017 4:05 PM
> To: Carrillo, Erik G
> Cc: rsanf...@akamai.com; dev@dpdk.org
> Subject: Re: [dpdk-dev] [PATCH 0/3] *** timer library enhancements ***
>
>
> > On Aug 23, 2017, at 2:28 PM, Carrillo, Erik G
> wrote:
>
On 8/23/2017 9:40 PM, Thomas Monjalon wrote:
> 21/08/2017 15:51, Ferruh Yigit:
>> Some of the "All rights reserved." note looks like duplicate, there is
>> one for each copyright note in the same line, and extra one after the
>> copyright notes. Sample is in below patch.
>>
>> Although this looks l
rte_eth_dev created by primary process were not available in secondary
process, it was not possible to use the primary process local memory
object from a secondary process.
This patch modify the reference of primary rte_eth_dev object, use
local rte_eth_dev secondary process instead.
Cc: Nelio La
PMD uses Verbs object which were not available in the shared memory, in
addition, due to IO pages, it was not possible to use the primary
process Tx queues from a secondary process.
This patch modify the location where Verbs objects are allocated (from
process memory address space to shared memory
Hi Nelio,
Please see my comments in line.
Ori
> -Original Message-
> From: Nélio Laranjeiro [mailto:nelio.laranje...@6wind.com]
> Sent: Thursday, August 24, 2017 9:54 AM
> To: Ori Kam
> Cc: adrien.mazar...@6wind.com; dev@dpdk.org
> Subject: Re: [RFC] net/mlx5: support count flow action
On Thu, Aug 24, 2017 at 10:46:33AM +0300, Raslan Darawsheh wrote:
> Expose a new capapilty of Rx hw timestamp and
> added new device args to enable it hw_timestamp.
> It will add the raw hw timestamp into the packets.
>
> Its expected that it will lower down the performance since using it
> will d
Signed-off-by: Cristian Dumitrescu
---
doc/guides/rel_notes/deprecation.rst | 8
1 file changed, 8 deletions(-)
diff --git a/doc/guides/rel_notes/deprecation.rst
b/doc/guides/rel_notes/deprecation.rst
index 3362f33..e181a61 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/gu
Signed-off-by: Cristian Dumitrescu
---
.../pipeline/pipeline_flow_classification.c| 9 ++--
.../pipeline/pipeline_flow_classification_be.c | 54 --
.../ip_pipeline/pipeline/pipeline_passthrough_be.c | 18
.../ip_pipeline/pipeline/pipeline_routing_be.c
Signed-off-by: Cristian Dumitrescu
---
test/test/test_table.c | 1 +
test/test/test_table.h | 3 +-
test/test/test_table_combined.c | 140 +
test/test/test_table_tables.c | 148 +---
4 files changed, 1
Signed-off-by: Cristian Dumitrescu
---
test/test-pipeline/main.h | 5 +-
test/test-pipeline/pipeline_hash.c | 107 +
2 files changed, 18 insertions(+), 94 deletions(-)
diff --git a/test/test-pipeline/main.h b/test/test-pipeline/main.h
index 3685849.
Main changes:
1. The key_mask parameter is added to all the hash tables that were
previously missing it, as well to the hash compute function. This was
first started in DPDK 2.0, but was only implemented for a couple of
hash tables. The benefit of this approach is that it allows for bette
On Thu, Aug 24, 2017 at 10:46:32AM +0300, Raslan Darawsheh wrote:
> Added new print in case a PMD exposes Rx timestamp.
> Also, added a print for timestamp value in rxonly mode
> in case the packet was timestamped.
>
> Signed-off-by: Raslan Darawsheh
> ---
> app/test-pmd/config.c | 3 +++
> app/
Everytime the rte_sched_port_update_subport_stats_on_drop or
rte_sched_port_update_queue_stats_on_drop functions are called the
n_pkts_dropped counter is incremented.
The n_pkts_red_dropped counter is only incremented when the function
argument red is non-zero.
Packets that are RED-dropped are no
On Thu, Aug 24, 2017 at 10:46:31AM +0300, Raslan Darawsheh wrote:
> Added new capability to the list of rx offloads for hw timestamp
>
> The PMDs how expose this capability will always have it enabled.
Not sure this comment is accurate, Rx offloads are application request, PMD
does not have to en
On 8/24/2017 1:23 PM, Shachar Beiser wrote:
> This removes the dependency on specific Mellanox OFED libraries by
> using the upstream rdma-core and linux upstream community code.
>
> Minimal requirements: rdma-core v16 and Kernel Linux 4.14.
4.14?
Is 4.13 released?
>
> Signed-off-by: Shacha
This commit adds a section to the docs listing the mempool
device PMDs available.
It then adds the octeontx fpavf mempool PMD to the listed mempool
devices.
Signed-off-by: Santosh Shukla
Signed-off-by: Jerin Jacob
---
MAINTAINERS | 6 ++
doc/guides/index.rst|
Adding global api to translate handle to pool,
needed by octeontx pmd.
Signed-off-by: Santosh Shukla
Signed-off-by: Jerin Jacob
---
drivers/mempool/octeontx/octeontx_fpavf.c | 9 +
drivers/mempool/octeontx/octeontx_fpavf.h | 2 ++
drivers/mempool/octeontx
Add support for update range ops in mempool driver.
Allow more than one HW pool when using OcteonTx mempool driver:
By storing each pool information to the list and find appropriate
list element by matching the rte_mempool pointers.
Signed-off-by: Santosh Shukla
Signed-off-by: Jerin Jacob
---
Allow mempool HW manager to advertise his pool capability.
Signed-off-by: Santosh Shukla
Signed-off-by: Jerin Jacob
---
drivers/mempool/octeontx/rte_mempool_octeontx.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/drivers/mempool/octeontx/rte_mempool_octeontx.c
Signed-off-by: Santosh Shukla
Signed-off-by: Jerin Jacob
---
drivers/mempool/octeontx/octeontx_fpavf.c | 22 ++
drivers/mempool/octeontx/octeontx_fpavf.h | 2 ++
drivers/mempool/octeontx/rte_mempool_octeontx.c | 12 +++-
3 files changed, 35 insertions(+),
Signed-off-by: Santosh Shukla
Signed-off-by: Jerin Jacob
---
drivers/mempool/octeontx/Makefile | 13 +
drivers/mempool/octeontx/rte_mempool_octeontx.c | 65 -
2 files changed, 76 insertions(+), 2 deletions(-)
diff --git a/drivers/mempool/octeontx/Makefi
Upon pool free request from application, Octeon FPA free
does following:
- Uses mbox to reset fpapf pool setup.
- frees fpavf resources.
Signed-off-by: Santosh Shukla
Signed-off-by: Jerin Jacob
---
drivers/mempool/octeontx/octeontx_fpavf.c | 107
drivers/mempool/o
Upon pool allocation request by application, Octeontx FPA alloc
does following:
- Gets free pool from pci fpavf array.
- Uses mbox to communicate fpapf driver about,
* gpool-id
* pool block_sz
* alignemnt
- Programs fpavf pool boundary.
Signed-off-by: Santosh Shukla
Signed-off-by: Jerin Jac
A mempool device is set of PCIe vfs.
On Octeontx HW, each mempool devices are enumerated as
separate SRIOV VF PCIe device.
In order to expose as a mempool device:
On PCIe probe, the driver stores the information associated with the
PCIe device and later upon application pool request
(e.g. rte_memp
Signed-off-by: Santosh Shukla
Signed-off-by: Jerin Jacob
---
config/common_base | 6 +++
drivers/Makefile | 5 +-
drivers/mempool/Makefile | 2 +
drivers/mempool/octeontx/Makefile | 60
add HW constants of octeontx fpa mempool device.
Signed-off-by: Santosh Shukla
Signed-off-by: Jerin Jacob
---
drivers/mempool/octeontx/octeontx_fpavf.h | 71 +++
1 file changed, 71 insertions(+)
create mode 100644 drivers/mempool/octeontx/octeontx_fpavf.h
diff --gi
Patch implements the HW mempool offload driver for packets buffer.
This HW mempool offload driver has dependency on:
- IOVA infrastrucure [1].
- Dynamically configure mempool handle (ie.. --mbuf-pool-ops eal arg) [2].
- Infrastructure to support octeontx HW mempool manager [3].
Mempool driver bas
Function i40e_vsi_config_vlan_stripping doesn't strip vlan tag for vf.
The patch should fix the problem.
Signed-off-by: Zang MingJie
---
drivers/net/i40e/i40e_ethdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethde
On Wed, Aug 23, 2017 at 10:33:58AM +0300, Shahaf Shuler wrote:
> Mellanox NICs has a limitation on the number of mbuf segments a multi
> segment mbuf can have. The max number depends on the Tx offloads requested.
>
> The current code not enforce such limitation, which might cause
> malformed WQEs
On Wed, Aug 23, 2017 at 10:33:57AM +0300, Shahaf Shuler wrote:
> vPMD Tx function assumes that after the scatter of the
> multi-segment packets the next packet will be a single segment packet.
>
> This is not current as the function can return due to lack of resources
> without sending all of the
On Wed, Aug 23, 2017 at 10:10:58AM +0300, Shahaf Shuler wrote:
> Extend debug logs verbosity by printing the full completion with error
> along with the entire txq in case of error. For the Rx case no logs were
> added since such errors are counted and recovered by the Rx data path.
>
> Such print
This removes the dependency on specific Mellanox OFED libraries by
using the upstream rdma-core and linux upstream community code.
Minimal requirements: rdma-core v16 and Kernel Linux 4.14.
Signed-off-by: Shachar Beiser
---
doc/guides/nics/mlx5.rst | 29 +-
drivers/net/mlx5/Make
On 8/23/2017 4:09 PM, Nélio Laranjeiro wrote:
> On Mon, Aug 14, 2017 at 02:32:24PM +0300, Matan Azrad wrote:
>> The corrupted code didn't unlock the spinlock in xstats
>> get and reset functions error flow.
>>
>> Hence, if these errors happaned, the device spinlock was
>> left locked and many mlx5
This application shows a simple usage of the
rte_flow API for hardware filtering offloading.
In this demo we are filtering specific IP to
specific target queue, while sending all the
rest of the packets to other queue.
Included in this commit is a simple python
script file for sending custom pack
Hi,
I make a new patch for this issue becase the previous patch has delete
when the version 17.08 release.
The website is http://www.dpdk.org/dev/patchwork/patch/27851/,Thank
you.
Thomas Monjalon 写于 2017/08/24 04:22:17:
> 发件人: Thomas Monjalon
> 收件人: xie.rongqi...@zte.com.cn, Declan
In function cmd_show_bonding_config_parsed() used number represent
the bond type,in order more detailed,add bond type description
otherwise we may confused about the number type.
And also,the primary port just use in mode active backup and tlb,
so,when the mode is active backup or tlb show the prim
Also, document the new pmd-cyclecount-specific flag.
Signed-off-by: Burakov, Anatoly
---
doc/guides/rel_notes/release_17_11.rst | 6 ++
doc/guides/tools/cryptoperf.rst| 10 +-
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/doc/guides/rel_notes/release_17_11.r
From: "Burakov, Anatoly"
This patchset adds a new "PMD cyclecount" test mode for test-crypto-perf
application. This mode is intended to measure hardware acceleration
cost (in terms of cycle count) more accurately than throughput test.
The general idea is the following:
- Measure build-alloc-free
This patch adds a new benchmarking mode, which is intended for
microbenchmarking individual parts of the cryptodev framework,
specifically crypto ops alloc-build-free, cryptodev PMD enqueue
and cryptodev PMD dequeue.
It works by first benchmarking crypto operation alloc-build-free
loop (no enqueue
Signed-off-by: Burakov, Anatoly
---
doc/guides/tools/cryptoperf.rst | 4
1 file changed, 4 insertions(+)
diff --git a/doc/guides/tools/cryptoperf.rst b/doc/guides/tools/cryptoperf.rst
index 457f817..985848b 100644
--- a/doc/guides/tools/cryptoperf.rst
+++ b/doc/guides/tools/cryptoperf.rst
@
This parameter makes number of cryptodev descriptors adjustable
and defaults to earlier hardcoded default of 2048.
Signed-off-by: Burakov, Anatoly
---
app/test-crypto-perf/cperf_options.h | 2 ++
app/test-crypto-perf/cperf_options_parsing.c | 21 +
app/test-crypto-pe
On 8/24/2017 10:55 AM, Luca Boccassi wrote:
> On Thu, 2017-08-24 at 10:35 +0100, Ferruh Yigit wrote:
>> On 8/22/2017 11:02 AM, Luca Boccassi wrote:
>>> On Mon, 2017-08-21 at 17:19 -0700, Yipeng Wang wrote:
Membership library is an extension and generalization of a
traditional
filter
1 - 100 of 118 matches
Mail list logo