Hi Deepak,
> -Original Message-
> From: Jain, Deepak K
> Sent: Thursday, September 15, 2016 3:04 AM
> To: dev at dpdk.org
> Cc: De Lara Guarch, Pablo; Jain, Deepak K
> Subject: [PATCH v3 2/3] crypto/qat: add Kasumi support in Intel(R) QAT
> driver
>
> This patch add kasumi support in Inte
Hi Deepak,
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Deepak Kumar Jain
> Sent: Thursday, September 15, 2016 3:06 AM
> To: dev at dpdk.org
> Cc: Jain, Deepak K
> Subject: [dpdk-dev] [PATCH v3 3/3] app/test: add Kasumi tests in QAT test
> suite
>
> This
In the rte_pktmbuf_pool_create, if the default external mempool is
not available, the implementation can default to "ring_mp_mc", which
is an software implementation.
Signed-off-by: Hemant Agrawal
---
Changes in V3:
* adding warning message to say that falling back to default sw pool
---
lib/lib
External offloaded mempool may not be available always. This check enables
run time verification of the presence of external mempool before the
mempool ops are installed.
An application built with a specific external mempool may work fine
on host. But, may not work on VM, specificaly if non-hw spe
Add support for RHEL 7.3, which uses kernel 3.10,
but backported features from newer kernels.
Signed-off-by: Pablo de Lara
---
Changes in v2:
- Simplified conditional logic
lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git
> -Original Message-
> From: Jain, Deepak K
> Sent: Friday, September 16, 2016 1:57 AM
> To: dev at dpdk.org
> Cc: De Lara Guarch, Pablo; Jain, Deepak K
> Subject: [PATCH v4 0/2] add NULL crypto support in Intel QAT driver
>
> This patchset adds support of NULL crypto in Intel(R) QuickAs
> -Original Message-
> From: Jain, Deepak K
> Sent: Friday, September 16, 2016 3:50 AM
> To: dev at dpdk.org
> Cc: De Lara Guarch, Pablo; Jain, Deepak K
> Subject: [PATCH] crypto/null: fix key size increment value
>
> This patch fixes the values of increment in key size.
>
> Fixes:
On 9/16/2016 6:04 PM, Lu, Patrick wrote:
> Hi,
>
> I'm trying to include some hand written assembly (compiled by yasm) in my
> DPDK program. I couldn't find any example linking the DPDK C code with
> pre-compiled .o file. I've searched the mk/ and found OBJS-y seems the right
> variable to incl
-Original Message-
From: Yigit, Ferruh
Sent: Friday, September 16, 2016 11:05 AM
To: Lu, Patrick ; dev at dpdk.org
Subject: Re: [dpdk-dev] How to include pre-build object file (.o) in DPDK
makefile?
On 9/16/2016 6:04 PM, Lu, Patrick wrote:
> Hi,
>
> I'm trying to include some hand writt
Signed-off-by: Ferruh Yigit
---
lib/librte_eal/linuxapp/kni/compat.h| 12
lib/librte_eal/linuxapp/kni/kni_vhost.c | 16 +---
2 files changed, 17 insertions(+), 11 deletions(-)
diff --git a/lib/librte_eal/linuxapp/kni/compat.h
b/lib/librte_eal/linuxapp/kni/compat.h
i
Signed-off-by: Ferruh Yigit
---
lib/librte_eal/linuxapp/kni/kni_dev.h | 8
lib/librte_eal/linuxapp/kni/kni_fifo.h | 22 +++---
lib/librte_eal/linuxapp/kni/kni_misc.c | 17 +++--
lib/librte_eal/linuxapp/kni/kni_net.c | 24
lib/li
Remove some function entrance logs and changed log level of some logs.
Signed-off-by: Ferruh Yigit
---
lib/librte_eal/linuxapp/kni/kni_misc.c | 9 ++---
lib/librte_eal/linuxapp/kni/kni_net.c | 6 ++
2 files changed, 4 insertions(+), 11 deletions(-)
diff --git a/lib/librte_eal/linuxapp/
Since switched to kernel dynamic debugging it is possible to remove
compile time debug log configuration.
Signed-off-by: Ferruh Yigit
---
config/common_base | 3 ---
lib/librte_eal/linuxapp/kni/kni_dev.h | 18 -
lib/librte_eal/linuxapp/kni/kni_misc.c | 8 +++
Function implementations kept same.
Signed-off-by: Ferruh Yigit
---
lib/librte_eal/linuxapp/kni/kni_misc.c | 301 -
lib/librte_eal/linuxapp/kni/kni_net.c | 293
2 files changed, 287 insertions(+), 307 deletions(-)
diff --git a/li
Signed-off-by: Ferruh Yigit
---
lib/librte_eal/linuxapp/kni/kni_net.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/lib/librte_eal/linuxapp/kni/kni_net.c
b/lib/librte_eal/linuxapp/kni/kni_net.c
index 1dca5f0..9585879 100644
--- a/lib/librte_eal/linuxapp/kni/kni_net.c
+
Switch to dynamic logging functions. Depending kernel configuration this
may cause previously visible logs disappear.
How to enable dynamic logging:
https://www.kernel.org/doc/Documentation/dynamic-debug-howto.txt
Signed-off-by: Ferruh Yigit
---
lib/librte_eal/linuxapp/kni/kni_dev.h | 13
Signed-off-by: Ferruh Yigit
---
lib/librte_eal/linuxapp/kni/compat.h | 4
lib/librte_eal/linuxapp/kni/kni_misc.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/lib/librte_eal/linuxapp/kni/compat.h
b/lib/librte_eal/linuxapp/kni/compat.h
index d79d626..9ae50a7 100644
Signed-off-by: Ferruh Yigit
---
lib/librte_eal/linuxapp/kni/kni_net.c | 6 +++---
lib/librte_eal/linuxapp/kni/kni_vhost.c | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/librte_eal/linuxapp/kni/kni_net.c
b/lib/librte_eal/linuxapp/kni/kni_net.c
index 81d139e..a6458fa
Signed-off-by: Ferruh Yigit
---
lib/librte_eal/linuxapp/kni/compat.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_eal/linuxapp/kni/compat.h
b/lib/librte_eal/linuxapp/kni/compat.h
index 962a4e7..d79d626 100644
--- a/lib/librte_eal/linuxapp/kni/compat.h
+++ b/lib/
Signed-off-by: Ferruh Yigit
---
lib/librte_eal/linuxapp/kni/kni_vhost.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/lib/librte_eal/linuxapp/kni/kni_vhost.c
b/lib/librte_eal/linuxapp/kni/kni_vhost.c
index bef4889..eacfe3f 100644
--- a/lib/librte_eal/linuxapp/kni
Signed-off-by: Ferruh Yigit
---
lib/librte_eal/linuxapp/kni/kni_vhost.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/lib/librte_eal/linuxapp/kni/kni_vhost.c
b/lib/librte_eal/linuxapp/kni/kni_vhost.c
index ec39538..bef4889 100644
--- a/lib/librte_eal/linuxapp/kni/kni
Signed-off-by: Ferruh Yigit
---
lib/librte_eal/linuxapp/kni/kni_vhost.c | 26 +++---
1 file changed, 11 insertions(+), 15 deletions(-)
diff --git a/lib/librte_eal/linuxapp/kni/kni_vhost.c
b/lib/librte_eal/linuxapp/kni/kni_vhost.c
index f1345c3..ec39538 100644
--- a/lib/librt
Signed-off-by: Ferruh Yigit
---
lib/librte_eal/linuxapp/kni/kni_net.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/lib/librte_eal/linuxapp/kni/kni_net.c
b/lib/librte_eal/linuxapp/kni/kni_net.c
index f4afd83..81d139e 100644
--- a/lib/librte_eal/linuxapp/kni/kni_net.c
+++ b/lib/librte_eal/li
Signed-off-by: Ferruh Yigit
---
lib/librte_eal/linuxapp/kni/kni_dev.h | 4 ++--
lib/librte_eal/linuxapp/kni/kni_fifo.h | 22 +++---
lib/librte_eal/linuxapp/kni/kni_net.c | 22 +++---
lib/librte_eal/linuxapp/kni/kni_vhost.c | 12 ++--
4 files changed,
Signed-off-by: Ferruh Yigit
---
lib/librte_eal/linuxapp/kni/kni_dev.h | 11 +++---
lib/librte_eal/linuxapp/kni/kni_ethtool.c | 39 +++-
lib/librte_eal/linuxapp/kni/kni_fifo.h| 2 +-
lib/librte_eal/linuxapp/kni/kni_misc.c| 18 +-
lib/librte_eal/linuxapp/kni/kni
Signed-off-by: Ferruh Yigit
---
lib/librte_eal/linuxapp/kni/kni_misc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_eal/linuxapp/kni/kni_misc.c
b/lib/librte_eal/linuxapp/kni/kni_misc.c
index cbb934d..4e09da4 100644
--- a/lib/librte_eal/linuxapp/kni/kni_misc.c
++
Signed-off-by: Ferruh Yigit
---
lib/librte_eal/linuxapp/kni/kni_misc.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/librte_eal/linuxapp/kni/kni_misc.c
b/lib/librte_eal/linuxapp/kni/kni_misc.c
index f52ef68..cbb934d 100644
--- a/lib/librte_eal/linuxapp/kni/kni_mis
Signed-off-by: Ferruh Yigit
---
v2:
keep variable externs in .c file
---
lib/librte_eal/linuxapp/kni/kni_dev.h | 11 +++
lib/librte_eal/linuxapp/kni/kni_misc.c | 14 ++
lib/librte_eal/linuxapp/kni/kni_vhost.c | 11 +--
3 files changed, 14 insertions(+), 22 deletion
KNI checkpatch cleanup, mostly non-functional but cosmetic modifications.
Only functional change is related logging, switched to kernel dynamic
logging and compile time KNI debug options removed, some log message
levels updated.
v2:
keep variable externs in .c file
Ferruh Yigit (19):
kni: move
Hello Jan,
On Friday 16 September 2016 05:06 PM, Jan Viktorin wrote:
> Hello Shreyansh,
>
> there was an objection to reverse this option from negative
> to positive semantics:
>
> http://dpdk.org/ml/archives/dev/2016-May/038953.html
Ok. I wasn't aware of this. Sounds reasonable as SoC is experim
Compile error:
CC [M] .../build/lib/librte_eal/linuxapp/kni/igb_main.o
.../build/lib/librte_eal/linuxapp/kni/igb_main.c:
In function ?igb_check_swap_media?:
.../build/lib/librte_eal/linuxapp/kni/igb_main.c:1556:7:
error: variable ?link? set but not used [-Werror=unused-but-set-variable]
bool l
Hi,
I'm trying to include some hand written assembly (compiled by yasm) in my DPDK
program. I couldn't find any example linking the DPDK C code with pre-compiled
.o file. I've searched the mk/ and found OBJS-y seems the right variable to
include .o file, but when generating the final executable
Sorry dropped the ml.
On Fri, Sep 16, 2016 at 4:21 PM, David Marchand
wrote:
> Commenting in the cover letter because these are details and it is
> easier to track down what is missing before push for Thomas.
>
>
>> driver: init/uninit common wrappers for PCI drivers
>
> In this patch subject,
On Thu, Sep 15, 2016 at 4:22 PM, Olivier Matz wrote:
> Add a new macro DRIVER_REGISTER_KMOD_DEP() that allows a driver to
> declare the list of kernel modules required to run properly.
>
> Today, most PCI drivers require uio/vfio.
>
> Signed-off-by: Olivier Matz
Thanks Olivier, this looks good t
CC stable at dpdk.org
2016-09-08 10:29, Weiliang Luo:
> When using rte_mempool_create(), the mempool handler is selected
> depending on the flags given by the user:
> - multi-consumer / multi-producer
> - multi-consumer / single-producer
> - single-consumer / multi-producer
> - single-cons
Hi Ferruh,
> From: Ferruh Yigit [mailto:ferruh.yigit at intel.com]
> Sent: Friday, September 16, 2016 5:49 AM
>
> Hi Rasesh,
>
> On 8/27/2016 7:26 AM, Rasesh Mody wrote:
> > This patch updates the base driver and incorporates neccessary changes
> > required to bring in the new firmware 8.10.9.0.
2016-09-02 17:53, Bruce Richardson:
> On Thu, Sep 01, 2016 at 01:31:47AM +, Jianfeng Tan wrote:
It would help the discussion to have a problem statement here.
> > This patch uses pthread_getaffinity_np() to narrow down detected
> > cores before parsing coremask (-c), corelist (-l), and corema
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Deepak Kumar Jain
> Sent: Friday, September 16, 2016 11:50 AM
> To: dev at dpdk.org
> Cc: De Lara Guarch, Pablo ; Jain, Deepak K
>
> Subject: [dpdk-dev] [PATCH] crypto/null: fix key size increment value
>
> T
> -Original Message-
> From: Trahe, Fiona
> Sent: Friday, September 16, 2016 3:37 PM
> To: dev at dpdk.org
> Cc: De Lara Guarch, Pablo ; Trahe, Fiona
>
> Subject: [PATCH] app/test: improve error message in crypto test code
>
> Resending patch as first send got to mailing list but didn't
Resending patch as first send got to mailing list but didn't get to pachwork
Improve error message if crypto PMD build is not enabled in config file
Signed-off-by: Fiona Trahe
---
app/test/test_cryptodev.c | 37 +
app/test/test_cryptodev_perf.c | 23 +++
Thanks Reshma for the comments, the issue is a day one bug. I will correct the
fixes line and submit v2 of the patch.
-Original Message-
From: Pattan, Reshma [mailto:reshma.pat...@intel.com]
Sent: Thursday, September 15, 2016 5:28 AM
To: Karmarkar Suyash
Cc: dev at dpdk.org; thomas.mo
2016-08-04 14:50, Igor Ryzhov:
> The rte_eal_pci_probe_one function could return false positive result if
> no driver is found for the device.
>
> Signed-off-by: Igor Ryzhov
[...]
> --- a/lib/librte_eal/common/eal_common_pci.c
> +++ b/lib/librte_eal/common/eal_common_pci.c
> @@ -344,7 +344,7 @@ r
3DES support added to QuickAssist PMD
With CTR and CBC mode.
Both cipher-only and chained with HMAC_SHAx
This patch depends on following patch :
crypto/qat: enable support of Kasumi F8 in QAT cryptodev
http://dpdk.org/dev/patchwork/patch/15813/
Signed-off-by: Fiona Trahe
---
doc/guides/cryp
Cleanup of unused code.
Rename and simplify a badly named struct element, was aes, but
used for all types of ciphers
Print correct error msg (Unsupported rather than Undefined)
for all ciphers not supported by qat PMD.
Signed-off-by: Fiona Trahe
---
drivers/crypto/qat/qat_adf/icp_qat_hw.h
resend of v3 patchset as first send didn't get to patchwork, just to mailing
list.
Some preparatory cleanup done in QAT PMD for adding 3DES
3DES support added to QuickAssist PMD With CTR and CBC mode.
Both cipher-only and chained with HMAC_SHAx
3DES test code is included in the libcrypto patch
add test for vf vlan anti spoof
add test for vf mac anti spoof
add test for vf ping
add test for vf vlan strip
add test for vf vlan insert
add test for tx loopback
add test for all queues drop enable bit
add test for vf split drop enable bit
add test for vf mac address
add new API's to the testpmd
Add new functions to configure and manage VF's on an Intel 82559 NIC.
add ixgbe_vf_ping function.
add ixgbe_set_vf_vlan_anti_spoof function.
add ixgbe_set_vf_mac_anti_spoof function.
Signed-off-by: azelezniak
add ixgbe_set_vf_vlan_insert function.
add ixgbe_set_tx_loopback function.
add ixgbe_s
Add new API functions to configure and manage VF's on a NIC.
add rte_eth_dev_vf_ping function.
add rte_eth_dev_set_vf_vlan_anti_spoof function.
add rte_eth_dev_set_vf_mac_anti_spoof function.
add rte_eth_dev_set_vf_vlan_strip function.
Signed-off-by: azelezniak
add rte_eth_dev_set_vf_vlan_inser
This patchset contains new DPDK API's requested by AT&T for use
with the Virtual Function Daemon (VFD).
The need to configure and manage VF's on a NIC has grown to the
point where AT&T have devloped a DPDK based tool, VFD, to do this.
This patch set adds API extensions to DPDK VF configuration.
On 08/25/2016 00:59, Nikita Kozlov wrote:
> This serie of pathes focus on improving the speed of deleting rules in lpm6.
>
> It also contains some other improvement like having a dynamic number of
> rules in lpm6 and increasing the lpm6 nexthop size to 16bit for matching
> the nexthop size in lpm4.
2016-08-10 16:52, Robin Jarry:
> There is no need for the page files to be readable (and executable) by
> other users. This can be exploited by non-privileged users to access the
> working memory of a DPDK app.
>
> Open the files with 0600.
>
> Signed-off-by: Robin Jarry
Applied, thanks
I thou
Regards,
Keith
> On Sep 16, 2016, at 2:36 AM, Panu Matilainen wrote:
>
> On 09/15/2016 05:10 PM, Keith Wiles wrote:
>> Signed-off-by: Keith Wiles
>> ---
>> config/common_linuxapp | 3 +++
>> drivers/net/Makefile | 1 +
>> mk/rte.app.mk | 1 +
>> 3 files changed, 5 insertions(+)
>>
>>
On Fri, 9 Sep 2016 14:13:50 +0530
Shreyansh Jain wrote:
> Each SoC PMD registers a set of callback for scanning its own bus/infra and
> matching devices to drivers when probe is called.
> This patch introduces the infra for calls to SoC scan on rte_eal_soc_init()
> and match on rte_eal_soc_probe(
On Fri, 16 Sep 2016 09:59:40 +0530
Shreyansh Jain wrote:
> From: David Marchand
>
> This information is not used and just adds noise.
>
> Signed-off-by: David Marchand
> Signed-off-by: Shreyansh Jain
Reviewed-by: Jan Viktorin
Hi Rasesh,
On 8/27/2016 7:26 AM, Rasesh Mody wrote:
> This patch updates the base driver and incorporates neccessary changes
> required to bring in the new firmware 8.10.9.0.
>
> In addition, it would allow driver to add new functionalities that might
> be needed in future.
>
> Signed-off-by: Ra
On Fri, 16 Sep 2016 09:59:37 +0530
Shreyansh Jain wrote:
> From: David Marchand
>
> rte_eal_dev_init is declared in both eal_private.h and rte_dev.h since its
> introduction.
> This function has been exported in ABI, so remove it from eal_private.h
>
> Fixes: e57f20e05177 ("eal: make vdev init
Hello Shreyansh,
there was an objection to reverse this option from negative
to positive semantics:
http://dpdk.org/ml/archives/dev/2016-May/038953.html
As SoC infrastructure would to be experimental for some time,
I think it is a good idea to disable it as default.
Regards
Jan
On Fri, 9 Sep 2
Virtio interfaces should also support setting of mtu, as in case of cloud
it is expected to have the consistent mtu across the infrastructure that
the dhcp server sends and not hardcoded to 1500(default).
In case when GRE/VXLAN tunneling is used, it adds overheads to the total
size of 1518, and in
From: Fiona Trahe
Improve error message if crypto PMD build is not enabled in config file
Signed-off-by: Fiona Trahe
---
app/test/test_cryptodev.c | 37 +
app/test/test_cryptodev_perf.c | 23 +++
2 files changed, 60 insertions(+)
di
Add KNI PMD which wraps librte_kni for ease of use.
KNI PMD can be used as any regular PMD to send / receive packets to the
Linux networking stack.
Signed-off-by: Ferruh Yigit
---
v2:
* updated driver name eth_kni -> net_kni
---
config/common_base | 1 +
config/common_li
With an app using hotplug feature, when a device is unplugged without
unregistering makes the interrupt handling unstable.
Fixes: 6c53f87b3497 ("nfp: add link status interrupt")
Signed-off-by: Alejandro Lucero
---
drivers/net/nfp/nfp_net.c | 5 +
1 file changed, 5 insertions(+)
diff --git
Fixes: defb9a5dd156 ("nfp: introduce driver initialization")
Signed-off-by: Alejandro Lucero
---
drivers/net/nfp/nfp_net.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/nfp/nfp_net.c b/drivers/net/nfp/nfp_net.c
index 1948a12..d79f0a1 100644
--- a/drivers/net
Signed-off-by: Alejandro Lucero
---
drivers/net/nfp/nfp_net.c | 28
1 file changed, 16 insertions(+), 12 deletions(-)
diff --git a/drivers/net/nfp/nfp_net.c b/drivers/net/nfp/nfp_net.c
index 82e3e4e..1948a12 100644
--- a/drivers/net/nfp/nfp_net.c
+++ b/drivers/net/nf
add test for vf vlan anti spoof
add test for vf mac anti spoof
add test for vf ping
add test for vf vlan strip
add test for vf vlan insert
add test for tx loopback
add test for all queues drop enable bit
add test for vf split drop enable bit
add test for vf mac address
add new API's to the testpmd
Add new functions to configure and manage VF's on an Intel 82559 NIC.
add ixgbe_vf_ping function.
add ixgbe_set_vf_vlan_anti_spoof function.
add ixgbe_set_vf_mac_anti_spoof function.
Signed-off-by: azelezniak
add ixgbe_set_vf_vlan_insert function.
add ixgbe_set_tx_loopback function.
add ixgbe_s
Add new API functions to configure and manage VF's on a NIC.
add rte_eth_dev_vf_ping function.
add rte_eth_dev_set_vf_vlan_anti_spoof function.
add rte_eth_dev_set_vf_mac_anti_spoof function.
add rte_eth_dev_set_vf_vlan_strip function.
Signed-off-by: azelezniak
add rte_eth_dev_set_vf_vlan_inser
This patchset contains new DPDK API's requested by AT&T for use
with the Virtual Function Daemon (VFD).
The need to configure and manage VF's on a NIC has grown to the
point where AT&T have devloped a DPDK based tool, VFD, to do this.
This patch set adds API extensions to DPDK VF configuration.
For Periodic timers ,if the lag gets introduced, the current code
added additional delay when the next peridoc timer was initialized
by not taking into account the delay added, with this fix the code
would start the next occurrence of timer keeping in account the
lag added.Corrected the behavio
For Periodic timers ,if the lag gets introduced, the current code
added additional delay when the next peridoc timer was initialized
by not taking into account the delay added, with this fix the code
would start the next occurrence of timer keeping in account the
lag added.Corrected the behavio
2016-08-24 22:37, Mcnamara, John:
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pablo de Lara
> >
> > ...
> >
> > -$RTE_TARGET/app/testpmd -c '0xf' -n 4 --vdev
> > 'eth_pcap0,rx_pcap=/path/to/ file_rx.pcap,tx_pcap=/path/to/file_tx.pcap' --
> > --port-topology=chained
> > +$RTE
This patch fixes the values of increment in key size.
Fixes: 94b0ad8e0a ("null_crypto_pmd: PMD to support null crypto
operations")
Signed-off-by: Deepak Kumar Jain
---
drivers/crypto/null/null_crypto_pmd_ops.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/
The rte_eth_tap.c PMD creates a device using TUN/TAP interfaces
on the local host. The PMD allows for DPDK and the host to
communicate using a raw device interface on the host and in
the DPDK application. The device created is a Tap device with
a L2 packet header.
v2 - merge all of the patches int
On 09/15/2016 05:10 PM, Keith Wiles wrote:
> Signed-off-by: Keith Wiles
> ---
> config/common_linuxapp | 3 +++
> drivers/net/Makefile | 1 +
> mk/rte.app.mk | 1 +
> 3 files changed, 5 insertions(+)
>
> diff --git a/config/common_linuxapp b/config/common_linuxapp
> index 2483dfa..704c
On 09/15/2016 05:09 PM, Thomas Monjalon wrote:
> 2016-09-15 15:09, Jan Viktorin:
>> On Thu, 15 Sep 2016 14:00:25 +0100
>> "Hunt, David" wrote:
>>
new file mode 100644
index 000..56135ed
--- /dev/null
+++ b/lib/librte_eal/common/eal_common_soc.c
@@ -0,0 +1,56 @@
+/
Hi David,
On Monday 12 September 2016 12:46 PM, David Marchand wrote:
> On Wed, Sep 7, 2016 at 4:08 PM, Shreyansh Jain
> wrote:
>> Simplify crypto and ethdev pci drivers init by using newly introduced
>> init macros and helpers.
>> Those drivers then don't need to register as "rte_driver"s anymo
On Thursday 08 September 2016 07:55 PM, Ferruh Yigit wrote:
> On 9/7/2016 3:08 PM, Shreyansh Jain wrote:
>> Remove the 'name' member from rte_pci_driver and move to generic rte_driver.
>>
>> Most of the PMD drivers were initially using DRIVER_REGISTER_PCI(..)
>> as well as assigning a name to eth_d
On 09/15/2016 05:05 PM, Thomas Monjalon wrote:
> 2016-09-15 14:02, Hunt, David:
>> On 9/9/2016 9:43 AM, Shreyansh Jain wrote:
>>> +static inline
>>> +struct rte_intr_handle *eth_dev_get_intr_handle(struct rte_eth_dev *dev)
>>> +{
>>> + if (dev->pci_dev) {
>>> + return &dev->pci_dev->int
2016-09-16 00:25, Pablo de Lara:
> From 16.07, I will be the maintainer of the crypto subtree.
>
> This will include:
> - app/test/test_cryptodev*
> - doc/guides/cryptodevs/
> - drivers/crypto/
> - examples/l2fwd-crypto/
> - examples/ipsec-secgw/
> - lib/librte_cryptodev/
>
> Signed-off-by: Pablo
Hi Hemant,
On 15/9/2016 6:13 PM, Hemant Agrawal wrote:
> External offloaded mempool may not be available always. This check enables
> run time verification of the presence of external mempool before the
> mempool ops are installed.
>
> An application built with a specific external mempool may work
2016-08-31 10:34, Amine Kherbouche:
> This patch removes all unused headers.
>
> Signed-off-by: Amine Kherbouche
[...]
> --- a/examples/performance-thread/common/lthread_int.h
> +++ b/examples/performance-thread/common/lthread_int.h
> @@ -72,7 +72,6 @@
> #include
> #include
> #include
> -#
From: Jan Viktorin
Now that rte_device is available, drivers can start using its members
(numa, name) as well as link themselves into another rte_device list.
As of now no one is using this list, but can be used for moving over all
devices (pdev/vdev/Xdev) and perform bulk actions (like cleanup)
From: Jan Viktorin
Signed-off-by: Jan Viktorin
Signed-off-by: Shreyansh Jain
---
lib/librte_eal/common/eal_common_dev.c | 13 +
lib/librte_eal/common/include/rte_dev.h | 31 +++
2 files changed, 44 insertions(+)
diff --git a/lib/librte_eal/common/eal_c
From: Jan Viktorin
To register both vdev and pci drivers into the list of all rte_driver,
we have to call rte_eal_driver_register explicitly.
Signed-off-by: Jan Viktorin
Signed-off-by: Shreyansh Jain
---
lib/librte_eal/common/eal_common_pci.c | 2 ++
lib/librte_eal/common/eal_common_vdev.c |
From: Jan Viktorin
Remove the 'name' member from rte_pci_driver and move to generic
rte_driver.
Most of the PMD drivers were initially using DRIVER_REGISTER_PCI(..)
as well as assigning a name to eth_driver.pci_drv.name member.
In this patch, only the original DRIVER_REGISTER_PCI(..) name has
be
From: Jan Viktorin
There is no need to have a custom memory resource representation for
each infrastructure (PCI, ...) as it would always have the same members.
Signed-off-by: Jan Viktorin
Signed-off-by: Shreyansh Jain
---
drivers/net/szedata2/rte_eth_szedata2.c | 4 ++--
lib/librte_eal/comm
From: Jan Viktorin
Further refactoring and generalization of PCI infrastructure will
require access to the rte_dev.h contents.
Signed-off-by: Jan Viktorin
Signed-off-by: Shreyansh Jain
---
lib/librte_eal/common/include/rte_pci.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/librte_e
From: Jan Viktorin
- All devices register themselfs by calling a kind of DRIVER_REGISTER_XXX.
The PMD_REGISTER_DRIVER is not used anymore.
- PMD_VDEV type is also not being used - can be removed from all VDEVs.
Note: PMD_REGISTER_DRIVER usage by PMDINFO tool and its documentation has
not
From: Jan Viktorin
All PMD_VDEV drivers can now use rte_vdev_driver instead of the
rte_driver (which is embedded in the rte_vdev_driver).
Signed-off-by: Jan Viktorin
Signed-off-by: Shreyansh Jain
---
drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 10 ++
drivers/crypto/aesni_mb/rte_aesni
From: Jan Viktorin
- Remove checks for VDEV from rte_eal_vdev_(init/uninint) as all devices
are inherently virtual here.
- PDEVs perform PCI specific inits - rte_eal_dev_init() need not call
rte_driver->init();
Signed-off-by: Jan Viktorin
[Shreyansh: Reword commit log]
Signed-off-by: Shreya
From: Jan Viktorin
Move all PMD_VDEV-specific code into a separate module and header
file to not polute the generic code anymore. There is now a list
of virtual devices available.
The rte_vdev_driver integrates the original rte_driver inside
(C inheritance). The rte_driver will be however change
From: David Marchand
Now that hotplug has been moved to eal, there is no reason to keep the
device type in this layer.
Signed-off-by: David Marchand
Signed-off-by: Shreyansh Jain
---
app/test/virtual_pmd.c| 2 +-
drivers/net/af_packet/rte_eth_af_packet.c | 2 +-
drivers/
From: David Marchand
Remove bus logic from ethdev hotplug by using eal for this.
Current api is preserved:
- the last port that has been created is tracked to return it to the
application when attaching,
- the internal device name is reused when detaching.
We can not get rid of ethdev hotplug
From: David Marchand
Hotplug invocations, which deals with devices, should come from the layer
that already handles them, i.e. EAL.
For both attach and detach operations, 'name' is used to select the bus
that will handle the request.
Signed-off-by: David Marchand
Signed-off-by: Shreyansh Jain
From: David Marchand
No need to scan all devices, we only need to update the device being
attached.
Signed-off-by: David Marchand
Signed-off-by: Shreyansh Jain
---
lib/librte_eal/common/eal_common_pci.c | 12 +---
lib/librte_ether/rte_ethdev.c | 3 ---
2 files changed, 9 ins
From: David Marchand
- Move rte_eth_dev_create_unique_device_name() from ether/rte_ethdev.c to
common/include/rte_pci.h as rte_eal_pci_device_name(). Being a common
method, can be used across crypto/net PCI PMDs.
- Remove crypto specific routine and fallback to common name function.
- Introdu
From: David Marchand
Now that all pdev are pci drivers, we don't need to register crypto and
ethdev drivers through a dedicated channel.
Signed-off-by: David Marchand
Signed-off-by: Shreyansh Jain
---
lib/librte_cryptodev/rte_cryptodev.c | 23
lib/librte_cryptod
From: David Marchand
Simplify crypto and ethdev pci drivers init by using newly introduced
init macros and helpers.
Those drivers then don't need to register as "rte_driver"s anymore.
Exceptions:
- virtio and mlx* use RTE_INIT directly as they have custom initialization
steps.
- VDEV devices a
From: David Marchand
crypto and ethdev drivers aligned to PCI probe/remove. These wrappers are
mapped directly to PCI resources.
Existing handlers for init/uninit can be easily reused for this.
Signed-off-by: David Marchand
Signed-off-by: Shreyansh Jain
---
lib/librte_cryptodev/rte_cryptodev.
From: David Marchand
Introduce a RTE_INIT macro used to mark an init function as a constructor.
Current eal macros have been converted to use this (no functional impact).
DRIVER_REGISTER_PCI is added as a helper for pci drivers.
Suggested-by: Jan Viktorin
Signed-off-by: David Marchand
[Shreyan
From: David Marchand
Pure coding style, but it might make it easier later if we want to move
fields in rte_cryptodev_driver and eth_driver structures.
Signed-off-by: David Marchand
Signed-off-by: Shreyansh Jain
---
drivers/crypto/qat/rte_qat_cryptodev.c | 2 +-
drivers/net/ena/ena_ethdev.c
1 - 100 of 127 matches
Mail list logo