Ensure that all cnxk mempool aura bitmap accesses are synchronized.
Signed-off-by: Ashwin Sekhar T K
---
drivers/common/cnxk/roc_idev.c | 1 +
drivers/common/cnxk/roc_idev_priv.h | 1 +
drivers/common/cnxk/roc_npa.c | 29 -
drivers/common/cnxk/roc_npa.h
When counting the batch allocated pointers in cnxk mempool driver,
currently it always waits for in-flight batch operations to finish.
Add a provision to make this waiting optional.
Signed-off-by: Ashwin Sekhar T K
---
drivers/common/cnxk/roc_npa.h| 7 +--
drivers/mempool/cnxk
Enable compilation for non x86 architectures by conditionally
compiling x86 specific code.
Signed-off-by: Ashwin Sekhar T K
---
drivers/crypto/ipsec_mb/ipsec_mb_private.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/crypto/ipsec_mb/ipsec_mb_private.c
b/drivers/crypto/ipsec_mb
Extend openssl crypto PMD to support CMAC operations.
Signed-off-by: Ashwin Sekhar T K
---
drivers/crypto/openssl/openssl_pmd_private.h | 9 ++
drivers/crypto/openssl/rte_openssl_pmd.c | 88
drivers/crypto/openssl/rte_openssl_pmd_ops.c | 20 +
3 files changed, 117
In scenarios where rte_mempool_free() is called immediately
after rte_mempool_create_empty(), the NPA pool will not be
created. In such cases the free path should not call
roc_npa_pool_destroy().
Signed-off-by: Ashwin Sekhar T K
---
drivers/mempool/cnxk/cnxk_mempool_ops.c | 8
1 file
In scenarios where rte_mempool_free() is called immediately
after rte_mempool_create_empty(), the NPA pool will not be
created. In such cases the free path should not call
roc_npa_pool_destroy().
Signed-off-by: Ashwin Sekhar T K
---
drivers/mempool/cnxk/cnxk_mempool_ops.c | 8
1 file
In scenarios where rte_mempool_free() is called immediately
after rte_mempool_create_empty(), the NPA pool will not be
created. In such cases the free path should not call
roc_npa_pool_destroy().
Fixes: bbf19e89b87c ("mempool/cnxk: add generic operations")
Signed-off-by: Ashwin
Add support for creating packets with segments from different
pools. This is enabled by using the SG2 descriptors. SG2
descriptors are only used when the segment is to be freed
by the HW.
Signed-off-by: Ashwin Sekhar T K
---
drivers/net/cnxk/cn10k_tx.h | 161
Add a separate routine to handle no-fast-free offload
in vector Tx path for multisegmented packets.
Signed-off-by: Ashwin Sekhar T K
---
drivers/net/cnxk/cn10k_tx.h | 124 +---
1 file changed, 59 insertions(+), 65 deletions(-)
diff --git a/drivers/net/cnxk
When SG2 descriptors are used and more than 5 segments
are present, in certain combination of segments the
number of descriptors required will be greater than
16.
In debug builds, add an assert to capture this scenario.
Signed-off-by: Ashwin Sekhar T K
---
drivers/net/cnxk/cn10k_tx.h | 20
Enable support for arm64 architecture in ipsec_mb. x86
specific code is conditionally compiled only for x86
architecture builds. Other architectures will be unsupported.
Signed-off-by: Ashwin Sekhar T K
---
drivers/crypto/ipsec_mb/ipsec_mb_private.c | 7 +++
drivers/crypto/ipsec_mb
Add support for aes cmac operations.
v2:
* Added support for openssl 3.0
Ashwin Sekhar T K (1):
crypto/openssl: support aes cmac operations
drivers/crypto/openssl/openssl_pmd_private.h | 14 ++
drivers/crypto/openssl/rte_openssl_pmd.c | 142 ++-
drivers/crypto/openssl
Extend openssl crypto PMD to support AES CMAC operations.
Signed-off-by: Ashwin Sekhar T K
---
drivers/crypto/openssl/openssl_pmd_private.h | 14 ++
drivers/crypto/openssl/rte_openssl_pmd.c | 142 ++-
drivers/crypto/openssl/rte_openssl_pmd_ops.c | 20 +++
3 files changed
Add support for aes cmac operations.
v2:
* Added support for openssl 3.0
v3:
* Fixed checkpatch warnings.
Ashwin Sekhar T K (1):
crypto/openssl: support aes cmac operations
drivers/crypto/openssl/openssl_pmd_private.h | 14 ++
drivers/crypto/openssl/rte_openssl_pmd.c | 142
Extend openssl crypto PMD to support AES CMAC operations.
Signed-off-by: Ashwin Sekhar T K
---
drivers/crypto/openssl/openssl_pmd_private.h | 14 ++
drivers/crypto/openssl/rte_openssl_pmd.c | 142 ++-
drivers/crypto/openssl/rte_openssl_pmd_ops.c | 20 +++
3 files changed
Add support for aes cmac operations.
v2:
* Added support for openssl 3.0
v3:
* Fixed checkpatch warnings.
v4:
* Fixed more checkpatch warnings.
Ashwin Sekhar T K (1):
crypto/openssl: support aes cmac operations
drivers/crypto/openssl/openssl_pmd_private.h | 14 ++
drivers/crypto/openssl
Extend openssl crypto PMD to support AES CMAC operations.
Signed-off-by: Ashwin Sekhar T K
---
drivers/crypto/openssl/openssl_pmd_private.h | 14 ++
drivers/crypto/openssl/rte_openssl_pmd.c | 142 ++-
drivers/crypto/openssl/rte_openssl_pmd_ops.c | 20 +++
3 files changed
Add support for aes cmac operations.
v2:
* Added support for openssl 3.0
v3:
* Fixed checkpatch warnings.
v4:
* Fixed further checkpatch warnings.
v5:
* Fixed duplicated preprocessor checks.
Ashwin Sekhar T K (1):
crypto/openssl: support aes cmac operations
drivers/crypto/openssl
Extend openssl crypto PMD to support AES CMAC operations.
Signed-off-by: Ashwin Sekhar T K
---
drivers/crypto/openssl/openssl_pmd_private.h | 14 ++
drivers/crypto/openssl/rte_openssl_pmd.c | 138 ++-
drivers/crypto/openssl/rte_openssl_pmd_ops.c | 20 +++
3 files changed
Acked-by: Ashwin Sekhar T K
Batch op data is initialized inside mempool alloc. But
in case of empty mempools, the alloc function is not
called and hence the initialization of batch op data is
also not done. So ensure the validity of batch op data
inside mempool free.
Signed-off-by: Ashwin Sekhar T K
---
drivers/mempool
Add ROC APIs which allows to create NPA auras independently and
attach it to an existing NPA pool. Also add API to destroy
NPA auras independently.
Signed-off-by: Ashwin Sekhar T K
---
drivers/common/cnxk/roc_npa.c | 219
drivers/common/cnxk/roc_npa.h | 4
Use lower bits of pool_config to pass flags specific to
cnxk mempool PMD ops.
Signed-off-by: Ashwin Sekhar T K
---
drivers/mempool/cnxk/cnxk_mempool.h | 24
drivers/mempool/cnxk/cnxk_mempool_ops.c | 17 ++---
drivers/net/cnxk/cnxk_ethdev_sec.c | 25
Add ROC APIs which allows to create NPA auras independently and
attach it to an existing NPA pool. Also add API to destroy
NPA auras independently.
Signed-off-by: Ashwin Sekhar T K
---
drivers/common/cnxk/roc_npa.c | 219
drivers/common/cnxk/roc_npa.h | 4
using this pool.
Signed-off-by: Ashwin Sekhar T K
---
drivers/mempool/cnxk/cn10k_hwpool_ops.c | 211
drivers/mempool/cnxk/cnxk_mempool.h | 4 +
drivers/mempool/cnxk/meson.build| 1 +
3 files changed, 216 insertions(+)
create mode 100644 drivers/mempool
.
* rte_pmd_cnxk_mempool_mbuf_exchange() - Exchanges mbufs between any two
rte_mempool where the range check is disabled.
Signed-off-by: Ashwin Sekhar T K
---
doc/api/doxy-api-index.md | 1 +
doc/api/doxy-api.conf.in| 1 +
drivers/mempool/cnxk/cn10k_hwpool_ops.c | 63
Use lower bits of pool_config to pass flags specific to
cnxk mempool PMD ops.
Signed-off-by: Ashwin Sekhar T K
---
drivers/mempool/cnxk/cnxk_mempool.h | 24
drivers/mempool/cnxk/cnxk_mempool_ops.c | 17 ++---
drivers/net/cnxk/cnxk_ethdev_sec.c | 25
set API.
Signed-off-by: Ashwin Sekhar T K
---
drivers/common/cnxk/roc_nix_queue.c | 2 +-
drivers/common/cnxk/roc_npa.c | 35 -
drivers/common/cnxk/roc_npa.h | 6 +
drivers/common/cnxk/roc_sso.c | 2 +-
drivers/common/cnxk
Use lower bits of pool_config to pass flags specific to
cnxk mempool PMD ops.
Signed-off-by: Ashwin Sekhar T K
---
drivers/mempool/cnxk/cnxk_mempool.h | 24
drivers/mempool/cnxk/cnxk_mempool_ops.c | 17 ++---
drivers/net/cnxk/cnxk_ethdev_sec.c | 25
set API.
Signed-off-by: Ashwin Sekhar T K
---
drivers/common/cnxk/roc_nix_queue.c | 2 +-
drivers/common/cnxk/roc_npa.c | 35 -
drivers/common/cnxk/roc_npa.h | 6 +
drivers/common/cnxk/roc_sso.c | 2 +-
drivers/common/cnxk
using this pool.
Signed-off-by: Ashwin Sekhar T K
---
drivers/mempool/cnxk/cn10k_hwpool_ops.c | 211
drivers/mempool/cnxk/cnxk_mempool.h | 4 +
drivers/mempool/cnxk/meson.build| 1 +
3 files changed, 216 insertions(+)
create mode 100644 drivers/mempool
.
* rte_pmd_cnxk_mempool_mbuf_exchange() - Exchanges mbufs between any two
rte_mempool where the range check is disabled.
Signed-off-by: Ashwin Sekhar T K
---
doc/api/doxy-api-index.md | 1 +
doc/api/doxy-api.conf.in| 1 +
drivers/mempool/cnxk/cn10k_hwpool_ops.c | 63
set API.
Signed-off-by: Ashwin Sekhar T K
---
drivers/common/cnxk/roc_nix_queue.c | 2 +-
drivers/common/cnxk/roc_npa.c | 35 -
drivers/common/cnxk/roc_npa.h | 6 +
drivers/common/cnxk/roc_sso.c | 2 +-
drivers/common/cnxk
set API.
Signed-off-by: Ashwin Sekhar T K
---
drivers/common/cnxk/roc_nix_queue.c | 2 +-
drivers/common/cnxk/roc_npa.c | 35 -
drivers/common/cnxk/roc_npa.h | 6 +
drivers/common/cnxk/roc_sso.c | 2 +-
drivers/common/cnxk
Add ROC APIs which allows to create NPA auras independently and
attach it to an existing NPA pool. Also add API to destroy
NPA auras independently.
Signed-off-by: Ashwin Sekhar T K
---
drivers/common/cnxk/roc_npa.c | 219
drivers/common/cnxk/roc_npa.h | 4
Add new APIs for counting and extracting allocated objects
from a single cache line in the batch alloc memory.
Signed-off-by: Ashwin Sekhar T K
---
drivers/common/cnxk/roc_npa.h | 78 ++-
1 file changed, 67 insertions(+), 11 deletions(-)
diff --git a/drivers
Avoid waiting indefinitely when counting batch alloc
pointers by adding a wait timeout.
Signed-off-by: Ashwin Sekhar T K
---
drivers/common/cnxk/roc_npa.h| 15 +--
drivers/mempool/cnxk/cn10k_mempool_ops.c | 3 ++-
2 files changed, 11 insertions(+), 7 deletions(-)
diff
Add new APIs for counting and extracting allocated objects
from a single cache line in the batch alloc memory.
Signed-off-by: Ashwin Sekhar T K
---
drivers/common/cnxk/roc_npa.h | 78 ++-
1 file changed, 67 insertions(+), 11 deletions(-)
diff --git a/drivers
Avoid waiting indefinitely when counting batch allocated
pointers by adding a wait timeout.
Fixes: 50d08d3934ec ("common/cnxk: fix batch alloc completion poll logic")
Signed-off-by: Ashwin Sekhar T K
---
drivers/common/cnxk/roc_npa.h| 15 +--
drivers/me
Add new APIs for counting and extracting allocated objects
from a single cache line in the batch alloc memory.
Signed-off-by: Ashwin Sekhar T K
---
drivers/common/cnxk/roc_npa.h | 78 ++-
1 file changed, 67 insertions(+), 11 deletions(-)
diff --git a/drivers
Add new APIs for counting and extracting allocated objects
from a single cache line in the batch alloc memory.
Signed-off-by: Ashwin Sekhar T K
---
drivers/common/cnxk/roc_npa.h | 78 ++-
1 file changed, 67 insertions(+), 11 deletions(-)
diff --git a/drivers
From: Kommula Shiva Shankar
Pool buffer size in opaque mode must always be set to 0.
Fixes: f765f5611240 ("common/cnxk: add NPA pool HW operations")
Signed-off-by: Kommula Shiva Shankar
Signed-off-by: Ashwin Sekhar T K
---
drivers/common/cnxk/roc_npa.c | 6 +-
1 file
Hi Thierry,
Could you please add the same fix in npa_aura_pool_fini() as well.
Thanks
Ashwin Sekhar T K
> -Original Message-
> From: Thierry Herbelot
> Sent: Tuesday, June 20, 2023 2:22 PM
> To: dev@dpdk.org
> Cc: Thierry Herbelot ; Thomas Monjalon
> ; Nithi
Acked-by: Ashwin Sekhar T K
> -Original Message-
> From: Thierry Herbelot
> Sent: Tuesday, June 20, 2023 3:14 PM
> To: dev@dpdk.org
> Cc: Thierry Herbelot ; Thomas Monjalon
> ; Nithin Kumar Dabilpuram
> ; Satha Koteswara Rao Kottidi
> ; Jerin Jacob Kollanuk
Acked-by: Ashwin Sekhar T K
Ashwin Sekhar T K
> -Original Message-
> From: Rakesh Kudurumalla
> Sent: Wednesday, April 26, 2023 2:58 PM
> To: Olivier Matz
> Cc: dev@dpdk.org; Jerin Jacob Kollanukkaran ; Nithin
> Kumar Dabilpuram ; Rakesh Kudurumalla
>
> S
led, the additional caching due
to asynchronous allocation will be limited.
A limitation has been added to cnxk documentation warning the users
to adjust the local cache sizes accordingly.
Signed-off-by: Ashwin Sekhar T K
---
doc/guides/nics/cnxk.rst | 18
drivers/mempool/c
For non-EAL pthreads, rte_lcore_id() will not be valid.
So, batch allocation cannot be used as we won't have a
dedicated alloc buffer for the thread. So, fallback to
bulk alloc in such cases.
Fixes: 91531e63f43b ("mempool/cnxk: add cn10k batch dequeue")
Signed-off-by: As
led, the additional caching due
to asynchronous allocation will be limited.
A limitation has been added to cnxk documentation warning the users
to adjust the local cache sizes accordingly.
Signed-off-by: Ashwin Sekhar T K
---
doc/guides/nics/cnxk.rst | 18
drivers/mempool/c
led, the additional caching due
to asynchronous allocation will be limited.
A limitation has been added to cnxk documentation warning the users
to adjust the local cache sizes accordingly.
Signed-off-by: Ashwin Sekhar T K
---
doc/guides/nics/cnxk.rst | 18
drivers/mempool/c
n Kalra
Signed-off-by: Ashwin Sekhar T K
---
drivers/mempool/cnxk/cn10k_mempool_ops.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/mempool/cnxk/cn10k_mempool_ops.c
b/drivers/mempool/cnxk/cn10k_mempool_ops.c
index 41b755b52b..2e46204c8d 100644
--- a/drivers/mempool/cnxk/cn10
For non-EAL pthreads, rte_lcore_id() will not be valid.
So, batch allocation cannot be used as we won't have a
dedicated alloc buffer for the thread. So, fallback to
bulk alloc in such cases.
Fixes: 91531e63f43b ("mempool/cnxk: add cn10k batch dequeue")
Signed-off-by: As
From: Sibaranjan Pattnayak
Support for CNF10KA SoC by adding its PCI device ID.
Signed-off-by: Sibaranjan Pattnayak
Signed-off-by: Ashwin Sekhar T K
---
drivers/mempool/cnxk/cnxk_mempool.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/mempool/cnxk/cnxk_mempool.c
b/drivers
As done in FLR, similar to CQ disable, in process of
aura disable we needs explicitly clear BP_ENA in order to
deassert backpressure if it was earlier asserted.
Signed-off-by: Nithin Dabilpuram
Signed-off-by: Ashwin Sekhar T K
---
drivers/common/cnxk/roc_npa.c | 2 ++
1 file changed, 2
As done in FLR, similar to CQ disable, in process of
aura disable we need to explicitly clear BP_ENA in order to
deassert backpressure if it was earlier asserted.
Fixes: f765f5611240 ("common/cnxk: add NPA pool HW operations")
Signed-off-by: Nithin Dabilpuram
Signed-off-by: Ashwin
As done in FLR, similar to CQ disable, in process of
aura disable we need to explicitly clear BP_ENA in order to
deassert backpressure if it was earlier asserted.
Fixes: f765f5611240 ("common/cnxk: add NPA pool HW operations")
Signed-off-by: Nithin Dabilpuram
Signed-off-by: Ashwin
Update the models where errata IPBUNPA-37480 is applicable.
Signed-off-by: Ashwin Sekhar T K
---
drivers/common/cnxk/roc_errata.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/common/cnxk/roc_errata.h b/drivers/common/cnxk/roc_errata.h
index 2d15e639b7
Avoid waiting indefinitely when counting batch alloc pointers by adding a
wait timeout.
Signed-off-by: Ashwin Sekhar T K
---
drivers/common/cnxk/roc_npa.h| 15 +--
drivers/mempool/cnxk/cn10k_mempool_ops.c | 3 ++-
2 files changed, 11 insertions(+), 7 deletions(-)
diff
pools must be disabled while exchanging mbufs.
Ashwin Sekhar T K (5):
mempool/cnxk: use pool config to pass flags
common/cnxk: add NPA aura create/destroy ROC APIs
mempool/cnxk: add NPA aura range get/set APIs
mempool/cnxk: add hwpool ops
mempool/cnxk: add support for exchanging mbufs
Use lower bits of pool_config to pass flags specific to
cnxk mempool PMD ops.
Signed-off-by: Ashwin Sekhar T K
---
drivers/mempool/cnxk/cnxk_mempool.h | 24
drivers/mempool/cnxk/cnxk_mempool_ops.c | 17 ++---
drivers/net/cnxk/cnxk_ethdev_sec.c | 25
Add ROC APIs which allows to create NPA auras independently and
attach it to an existing NPA pool. Also add API to destroy
NPA auras independently.
Signed-off-by: Ashwin Sekhar T K
---
drivers/common/cnxk/roc_npa.c | 219
drivers/common/cnxk/roc_npa.h | 4
set API.
Signed-off-by: Ashwin Sekhar T K
---
drivers/common/cnxk/roc_nix_queue.c | 2 +-
drivers/common/cnxk/roc_npa.c | 35 -
drivers/common/cnxk/roc_npa.h | 6 +
drivers/common/cnxk/roc_sso.c | 2 +-
drivers/common/cnxk
using this pool.
Signed-off-by: Ashwin Sekhar T K
---
drivers/mempool/cnxk/cn10k_hwpool_ops.c | 211
drivers/mempool/cnxk/cnxk_mempool.h | 4 +
drivers/mempool/cnxk/meson.build| 1 +
3 files changed, 216 insertions(+)
create mode 100644 drivers/mempool
.
* rte_pmd_cnxk_mempool_mbuf_exchange() - Exchanges mbufs between any two
rte_mempool where the range check is disabled.
Signed-off-by: Ashwin Sekhar T K
---
drivers/mempool/cnxk/cn10k_hwpool_ops.c | 63 -
drivers/mempool/cnxk/cnxk_mempool.h | 4 ++
drivers/mempool/cnxk/meson.build
Fix typo in graph lib doc.
Fixes: 4dc6d8e63c168 ("doc: add graph library guide")
Signed-off-by: Ashwin Sekhar T K
---
doc/guides/prog_guide/graph_lib.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/guides/prog_guide/graph_lib.rst
b/doc/guides/
Tested using thash_autotest
Signed-off-by: Ashwin Sekhar T K
---
lib/librte_hash/rte_thash.h | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/lib/librte_hash/rte_thash.h b/lib/librte_hash/rte_thash.h
index a4886a8..60d58c6 100644
--- a/lib/librte_hash/rte_thash.h
+++ b
* Added file lib/librte_efd/rte_efd_arm64.h to hold arm64
specific definitions
* Tested using efd_autotest
Signed-off-by: Ashwin Sekhar T K
---
MAINTAINERS| 1 +
lib/librte_efd/rte_efd.c | 22
lib/librte_efd/rte_efd_arm64.h | 76
Verified the changes with thash_autotest unit test case
Signed-off-by: Ashwin Sekhar T K
---
v2:
* Slightly modified the content of the commit message body
* Added prefix [dpdk-dev] to the email subject line
lib/librte_hash/rte_thash.h | 7 ++-
1 file changed, 6 insertions(+), 1 deletion
* Added file lib/librte_efd/rte_efd_arm64.h to hold arm64
specific definitions
* Verified the changes with efd_autotest unit test case
Signed-off-by: Ashwin Sekhar T K
---
v2:
* Slightly modified the content of the commit message body
* Added prefix [dpdk-dev] to the email subject line
* Enabled CONFIG_RTE_SCHED_VECTOR for arm64
* Verified the changes with sched_autotest unit test case
Signed-off-by: Ashwin Sekhar T K
---
config/defconfig_arm64-armv8a-linuxapp-gcc | 2 +-
lib/librte_sched/rte_sched.c | 22 ++
2 files changed, 23 insertions
* Moved all x86 related lru defines to rte_lru_x86.h while
retaining all common defines in rte_lru.h
* Verified the changes with table_autotest unit test case
Signed-off-by: Ashwin Sekhar T K
---
lib/librte_table/Makefile | 1 +
lib/librte_table/rte_lru.h | 106
* Added new file rte_lru_arm64.h for holding arm64 specific
definitions
* Verified the changes with table_autotest unit test case
Signed-off-by: Ashwin Sekhar T K
---
MAINTAINERS | 1 +
lib/librte_table/Makefile| 2 +-
lib/librte_table/rte_lru.h | 2
runtime
* Verified the changes with crc_autotest unit test case
Signed-off-by: Ashwin Sekhar T K
---
MAINTAINERS | 1 +
lib/librte_eal/common/include/arch/arm/rte_vect.h | 45 +++
lib/librte_net/net_crc_neon.h | 357
runtime
* Verified the changes with crc_autotest unit test case
Signed-off-by: Ashwin Sekhar T K
---
MAINTAINERS | 1 +
lib/librte_eal/common/include/arch/arm/rte_vect.h | 45 +++
lib/librte_net/net_crc_neon.h | 357
Verified the changes with crc_autotest unit test case
Signed-off-by: Ashwin Sekhar T K
---
test/test/test_crc.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/test/test/test_crc.c b/test/test/test_crc.c
index cd5af69..ac0e359 100644
--- a/test/test/test_crc.c
+++ b/test/test
* Removed setting CONFIG_RTE_SCHED_VECTOR=n from armv8a config
so that the setting from common_base is taken as the default
setting for armv8a
* Verified the changes with sched_autotest unit test case
Signed-off-by: Ashwin Sekhar T K
---
v2:
* Removed line CONFIG_RTE_SCHED_VECTOR=n from
* Added new file rte_lru_arm64.h for holding arm64 specific
definitions
* Verified the changes with table_autotest unit test case
Signed-off-by: Ashwin Sekhar T K
---
v2:
* Fixed checkpatch warnings/errors
* Fixed merge conflict in MAINTAINERS
* Symlink rte_lru_arm64.h only for arm64
* Moved all x86 related lru defines to rte_lru_x86.h while
retaining all common defines in rte_lru.h
* Verified the changes with table_autotest unit test case
Signed-off-by: Ashwin Sekhar T K
---
v2:
* Fixed checkpatch warnings/errors
* Symlink lib/librte_table/rte_lru_x86.h only for x86
runtime
* Verified the changes with crc_autotest unit test case
Signed-off-by: Ashwin Sekhar T K
---
v2:
* Fixed merge conflict in MAINTAINERS
MAINTAINERS | 1 +
lib/librte_eal/common/include/arch/arm/rte_vect.h | 45 +++
lib/librte_net/net_crc_neon.h
Verified the changes with crc_autotest unit test case
Signed-off-by: Ashwin Sekhar T K
---
v2:
* Fixed checkpatch errors/warnings
test/test/test_crc.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/test/test/test_crc.c b/test/test/test_crc.c
index cd5af69..9f2a17d 100644
--- a
* Added file lib/librte_efd/rte_efd_arm64.h to hold arm64
specific definitions
* Verified the changes with efd_autotest unit test case
Signed-off-by: Ashwin Sekhar T K
---
v2:
* Slightly modified the content of the commit message body
* Added prefix [dpdk-dev] to the email subject line
v3
moved the definition of GCC_VERSION from lib/librte_table/rte_lru.h
to lib/librte_eal/common/include/rte_common.h
Tested compilation on arm64 with gcc
Tested compilation on x86 with gcc and clang
Signed-off-by: Ashwin Sekhar T K
---
v3:
* Moved changes for GCC_VERSION into a separate commit
* RTE_MACHINE_CPUFLAG_AES
* RTE_MACHINE_CPUFLAG_PMULL
* RTE_MACHINE_CPUFLAG_SHA1
* RTE_MACHINE_CPUFLAG_SHA2
at run-time, the following flags can be used to detect these
capabilities
* RTE_CPUFLAG_AES
* RTE_CPUFLAG_PMULL
* RTE_CPUFLAG_SHA1
* RTE_CPUFLAG_SHA2
Signed-off-by: Ashwin Sekhar T K
Added CRC compute APIs for arm64 utilizing the pmull
capability
Added new file net_crc_neon.h to hold the arm64 pmull
CRC implementation
Verified the changes with crc_autotest unit test case
Signed-off-by: Ashwin Sekhar T K
---
v2:
* Fixed merge conflict in MAINTAINERS
v3:
* Moved feature
Verified the changes with crc_autotest unit test case
Signed-off-by: Ashwin Sekhar T K
---
v2:
* Fixed checkpatch errors/warnings
test/test/test_crc.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/test/test/test_crc.c b/test/test/test_crc.c
index cd5af69..9f2a17d 100644
--- a
* RTE_MACHINE_CPUFLAG_AES
* RTE_MACHINE_CPUFLAG_PMULL
* RTE_MACHINE_CPUFLAG_SHA1
* RTE_MACHINE_CPUFLAG_SHA2
at run-time, the following flags can be used to detect these
capabilities
* RTE_CPUFLAG_AES
* RTE_CPUFLAG_PMULL
* RTE_CPUFLAG_SHA1
* RTE_CPUFLAG_SHA2
Signed-off-by: Ashwin Sekhar T K
Added CRC compute APIs for arm64 utilizing the pmull
capability
Added new file net_crc_neon.h to hold the arm64 pmull
CRC implementation
Verified the changes with crc_autotest unit test case
Signed-off-by: Ashwin Sekhar T K
---
v2:
* Fixed merge conflict in MAINTAINERS
v3:
* Moved feature
Moved the definition of GCC_VERSION from lib/librte_table/rte_lru.h
to lib/librte_eal/common/include/rte_common.h.
Tested compilation on:
* arm64 with gcc
* x86 with gcc and clang
Signed-off-by: Ashwin Sekhar T K
Reviewed-by: Jan Viktorin
---
v3:
* Moved changes for GCC_VERSION into a
Verified the changes with crc_autotest unit test case
Signed-off-by: Ashwin Sekhar T K
---
v2:
* Fixed checkpatch errors/warnings
test/test/test_crc.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/test/test/test_crc.c b/test/test/test_crc.c
index cd5af69..9f2a17d 100644
--- a
nal and is only done for machines which has
the crc extensions. Doing this avoids the need for having the ".arch
armv8-a+crc"
directives in the code.
Patch 2 adds the arm64-armv8a-linuxapp-clang defconfig.
Patch 3, 4, 5 and 6 are for fixing the compilation errors/warnings.
Ashwin Se
Compile the armv8a CRC32 support only if the machine
has the CRC extensions i.e if RTE_MACHINE_CPUFLAG_CRC32
is defined.
Removed the .arch assembly directives as these are no
more necessary.
Signed-off-by: Ashwin Sekhar T K
---
lib/librte_hash/Makefile| 2 ++
lib/librte_hash
Added new config arm64-armv8a-linuxapp-clang
Signed-off-by: Ashwin Sekhar T K
---
config/defconfig_arm64-armv8a-linuxapp-clang | 56
1 file changed, 56 insertions(+)
create mode 100644 config/defconfig_arm64-armv8a-linuxapp-clang
diff --git a/config
Fixed warning -Wunknown-warning-option seen with
armv8a clang compilation.
Signed-off-by: Ashwin Sekhar T K
---
lib/librte_acl/Makefile | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/lib/librte_acl/Makefile b/lib/librte_acl/Makefile
index e2dacd606..b39b9b12f 100644
Replaced usage of %a0 in inline assembly with [%x0]
Signed-off-by: Ashwin Sekhar T K
---
drivers/net/thunderx/base/nicvf_plat.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/thunderx/base/nicvf_plat.h
b/drivers/net/thunderx/base/nicvf_plat.h
index 36da12009
Fixed warning -Wasm-operand-widths seen with armv8a
clang compilation.
Signed-off-by: Ashwin Sekhar T K
---
lib/librte_eal/common/include/arch/arm/rte_byteorder.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_eal/common/include/arch/arm/rte_byteorder.h
b/lib
Fixed warning -Wempty-body seen with armv8a clang compilation.
Signed-off-by: Ashwin Sekhar T K
---
lib/librte_eal/linuxapp/eal/Makefile | 4
1 file changed, 4 insertions(+)
diff --git a/lib/librte_eal/linuxapp/eal/Makefile
b/lib/librte_eal/linuxapp/eal/Makefile
index 640afd088
Compile the armv8a CRC32 support only if the machine
has the CRC extensions i.e if RTE_MACHINE_CPUFLAG_CRC32
is defined.
Removed the .arch assembly directives as these are no
more necessary.
Signed-off-by: Ashwin Sekhar T K
Reviewed-by: Jerin Jacob
---
lib/librte_hash/Makefile| 2
common defines from arm64-armv8a-linuxapp-gcc to common_armv8a_config
* Removed the -Wno-empty-body flag from eal Makefile. Added rte_pause() to the
while loop causing this warning.
Ashwin Sekhar T K (6):
hash: compile armv8a CRC32 support conditionally
config: add clang support for a
defines are
inherited from common_armv8a_linuxapp.
Signed-off-by: Ashwin Sekhar T K
---
config/common_armv8a_linuxapp| 53
config/defconfig_arm64-armv8a-linuxapp-clang | 35 ++
config/defconfig_arm64-armv8a-linuxapp-gcc | 23
Fixed warning -Wunknown-warning-option seen with
armv8a clang compilation.
Signed-off-by: Ashwin Sekhar T K
Reviewed-by: Jerin Jacob
---
lib/librte_acl/Makefile | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/lib/librte_acl/Makefile b/lib/librte_acl/Makefile
index
Replaced usage of %a0 in inline assembly with [%x0]
Signed-off-by: Ashwin Sekhar T K
Reviewed-by: Jerin Jacob
---
drivers/net/thunderx/base/nicvf_plat.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/thunderx/base/nicvf_plat.h
b/drivers/net/thunderx/base
1 - 100 of 196 matches
Mail list logo