Skips calling test_ipsec_post_process for negative inline IPsec tests
as received packet might not be valid for a negative case.
Signed-off-by: Srujana Challa
---
app/test/test_cryptodev_security_ipsec.c | 1 +
app/test/test_security_inline_proto.c| 25 +++-
2 files
the `qp_id` parameter to the
`rte_cryptodev_cb_fn` function unnecessary, and as such, the proposed
extension is no longer required.
Signed-off-by: Srujana Challa
---
doc/guides/rel_notes/deprecation.rst | 5 -
1 file changed, 5 deletions(-)
diff --git a/doc/guides/rel_notes/deprecation.rst
the `qp_id` parameter to the
`rte_cryptodev_cb_fn` function unnecessary, and as such, the proposed
extension is no longer required.
Signed-off-by: Srujana Challa
---
doc/guides/rel_notes/deprecation.rst | 5 -
1 file changed, 5 deletions(-)
diff --git a/doc/guides/rel_notes/deprecation.rst
eported-by: David Marchand
Signed-off-by: Srujana Challa
---
v3:
- Addressed the review comments from David Marchand.
v2:
- Added Reported-by tag.
.../net/virtio/virtio_user/virtio_user_dev.c | 20 +--
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/drivers/
> On Thu, Jul 11, 2024 at 7:46 PM Srujana Challa wrote:
> > > -virtio_user_iova2virt(rte_iova_t iova)
> > > +virtio_user_iova2virt(struct virtio_user_dev *dev, rte_iova_t iova)
> > >
> > > > {
> > > > - if (rte_eal_iova_mode(
> On Thu, Jul 11, 2024 at 2:44 PM Srujana Challa wrote:
> >
> > This patch modifies the code to convert descriptor buffer IOVA
> > addresses to virtual addresses only when use_va flag is false.
> >
> > This patch resolves a segmentation fault with the vhost-user b
irtio_user: convert cq descriptor IOVA
address to Virtual address")'
Reported-by: David Marchand
Signed-off-by: Srujana Challa
---
v2:
- Added Reported-by tag.
.../net/virtio/virtio_user/virtio_user_dev.c | 28 +++
1 file changed, 16 insertions(+), 12 deletions(-)
This patch modifies the code to convert descriptor buffer IOVA
addresses to virtual addresses only when use_va flag is false.
'Fixes: 67e9e504dae2 ("net/virtio_user: convert cq descriptor IOVA
address to Virtual address")'
Signed-off-by: Srujana Challa
---
.../ne
> Hello Srujana, Jerin,
>
> On Wed, Jul 3, 2024 at 12:04 PM Srujana Challa
> wrote:
> >
> > This patch modifies the code to convert descriptor buffer IOVA
> > addresses to virtual addresses during the processing of shadow control
> > queue when IOVA mode is PA
Adds support to share descriptor IOVA to the vhost backend.
This makes virtio_user driver works in IOVA as PA mode when
use_va flag is disabled.
This patch also disables use_va flag for VDPA backend.
Signed-off-by: Srujana Challa
---
.../net/virtio/virtio_user/virtio_user_dev.c | 26
Stores desc IOVA in the queue's vring data structure,
as preliminary work to provide a way for Virtio-user
to share desc IOVA to the vhost backend.
Signed-off-by: Srujana Challa
---
drivers/net/virtio/virtio_ring.h | 12
drivers/net/virtio/virtqueue.c | 4 ++--
2 files ch
This patch modifies the code to convert descriptor buffer IOVA
addresses to virtual addresses during the processing of shadow
control queue when IOVA mode is PA. This change enables Virtio-user
to operate with IOVA as the descriptor buffer address.
Signed-off-by: Srujana Challa
---
.../net
VDPA
backend type.
v1->v2:
- Split single patch into three patches.
v2->v3:
- Addressed the review comment by using rte_mem_iova2virt() for desc
address translation.
Srujana Challa (3):
net/virtio_user: convert cq descriptor IOVA address to Virtual address
net/virtio: store desc IOVA addr
> On 2/29/24 14:29, Srujana Challa wrote:
> > This patch makes changes to avoid descriptor buffer address accessing
> > while processing shadow control queue.
> > So that Virtio-user can work with having IOVA as descriptor buffer
> > address.
> >
t; Second and third patches helps to share descriptor IOVA address, to the vhost
> backend. And also disables the use_va flag for VDPA backend type.
>
> v1->v2:
> - Split single patch into three patches.
>
> Srujana Challa (3):
> net/virtio_user: avoid cq descriptor buffe
Adds support to share descriptor IOVA to the vhost backend.
This makes virtio_user driver works in IOVA as PA mode when
use_va flag is disabled.
This patch also disables use_va flag for VDPA backend.
Signed-off-by: Srujana Challa
---
.../net/virtio/virtio_user/virtio_user_dev.c | 26
Stores desc IOVA in the queue's vring data structure,
as preliminary work to provide a way for Virtio-user
to share desc IOVA to the vhost backend.
Signed-off-by: Srujana Challa
---
drivers/net/virtio/virtio_ring.h | 12
drivers/net/virtio/virtqueue.c | 4 ++--
2 files ch
This patch makes changes to avoid descriptor buffer address
accessing while processing shadow control queue.
So that Virtio-user can work with having IOVA as descriptor
buffer address.
Signed-off-by: Srujana Challa
---
.../net/virtio/virtio_user/virtio_user_dev.c | 68 +--
1
VDPA
backend type.
v1->v2:
- Split single patch into three patches.
Srujana Challa (3):
net/virtio_user: avoid cq descriptor buffer address accessing
net/virtio: store desc IOVA address in vring data structure
net/virtio_user: support sharing vq descriptor IOVA to the backend
drivers/
> Subject: [EXT] Re: [PATCH] net/virtio-user: support IOVA as PA mode for vDPA
> backend
>
> External Email
>
> --
> Hi Srujana,
>
> On 2/27/24 06:56, Srujana Challa wrote:
> > Disable use_
Disable use_va flag for VDPA backend type and fixes the issues
with shadow control command processing, when it is disabled.
This will help to make virtio user driver works in IOVA
as PA mode for vDPA backend.
Signed-off-by: Srujana Challa
---
drivers/net/virtio/virtio_ring.h | 12
Disable use_va flag for VDPA backend type and fixes the issues
with shadow control command processing, when it is disabled.
This will help to make virtio user driver works in IOVA
as PA mode for vDPA backend.
Signed-off-by: Srujana Challa
---
drivers/net/virtio/virtio_ring.h | 12
Disable use_va flag for VDPA backend type and fixes the issues
with shadow control command processing, when it is disabled.
This will help to make virtio user driver works in IOVA
as PA mode for vDPA backend.
Signed-off-by: Srujana Challa
---
drivers/net/virtio/virtio_ring.h | 12
the kick performance.
Signed-off-by: Srujana Challa
---
drivers/net/virtio/virtio_user/vhost.h| 2 +
drivers/net/virtio/virtio_user/vhost_vdpa.c | 68 +++
.../net/virtio/virtio_user/virtio_user_dev.c | 43 ++--
.../net/virtio/virtio_user/virtio_user_dev.h | 2
: Srujana Challa
---
.../net/virtio/virtio_user/virtio_user_dev.c | 31 ++-
.../net/virtio/virtio_user/virtio_user_dev.h | 2 ++
drivers/net/virtio/virtio_user_ethdev.c | 3 ++
3 files changed, 35 insertions(+), 1 deletion(-)
diff --git a/drivers/net/virtio/virtio_user
> Hi,
>
> On 12/8/23 06:31, Srujana Challa wrote:
> > This patch introduces new function to get rss device config and adds
> > code to forward the RSS control command to backend through hw control
> > queue if RSS feature is negotiated.
> > This patch will h
> Hi Srujana,
>
> Thanks for your contribution!
> Is it possible to provide information on which hardware it can be tested on?
It can be tested on Marvell's Octeon DPU.
>
> On 12/8/23 06:31, Srujana Challa wrote:
> > This patch introduces new virtio-user callback t
lp to negotiate VIRTIO_NET_F_RSS feature if vhost-vdpa
> backend supports RSS in HW.
>
> Signed-off-by: Srujana Challa
> ---
> .../net/virtio/virtio_user/virtio_user_dev.c | 31 ++-
> .../net/virtio/virtio_user/virtio_user_dev.h | 2 ++
> drivers/net/virtio/vir
: Srujana Challa
---
.../net/virtio/virtio_user/virtio_user_dev.c | 31 ++-
.../net/virtio/virtio_user/virtio_user_dev.h | 2 ++
drivers/net/virtio/virtio_user_ethdev.c | 3 ++
3 files changed, 35 insertions(+), 1 deletion(-)
diff --git a/drivers/net/virtio/virtio_user
is disabled, also
update corresponding unsupported feature bit. And also adds
code to write to queue notify address in notify callback.
This will help in increasing the kick performance.
Signed-off-by: Srujana Challa
---
doc/guides/nics/virtio.rst| 5 ++
drivers/net/virtio
: Srujana Challa
---
.../net/virtio/virtio_user/virtio_user_dev.c | 31 ++-
.../net/virtio/virtio_user/virtio_user_dev.h | 2 ++
drivers/net/virtio/virtio_user_ethdev.c | 3 ++
3 files changed, 35 insertions(+), 1 deletion(-)
diff --git a/drivers/net/virtio/virtio_user
is disabled, also
update corresponding unsupported feature bit. And also adds
code to write to queue notify address in notify callback.
This will help in increasing the kick performance.
Signed-off-by: Srujana Challa
---
doc/guides/nics/virtio.rst| 5 ++
drivers/net/virtio
LMTST area can be overwritten before read by HW between to consecutive
steorl operations. Hence, add wmb() after steorl op to make sure
the LMTST operation is complete.
Fixes: 313e884a22fd ("event/cnxk: support Tx adapter fast path")
Cc: pbhagavat...@marvell.com
Signed-off-by: Sruj
LMTST area can be overwritten before read by HW between to consecutive
steorl operations. Hence, add wmb() after steorl op to make sure
the lmtst operation is complete.
Signed-off-by: Srujana Challa
---
drivers/event/cnxk/cn10k_tx_worker.h | 8 +++-
1 file changed, 3 insertions(+), 5
From: Author Srujana Challa
LMTST area can be overwritten before read by HW between to consecutive
steorl operations. Hence, add wmb() after steorl op to make sure
the lmtst operation is complete.
Signed-off-by: Srujana Challa
---
drivers/event/cnxk/cn10k_tx_worker.h | 8 +++-
1 file
From: Author Srujana Challa
LMTST area can be overwritten before read by HW between to consecutive
steorl operations. Hence, add wmb() after steorl op to make sure
the lmtst operation is complete.
Signed-off-by: Srujana Challa
Change-Id: Ib16d7cd88cff79e9ca78eff8c47b7ddad2d234dd
Reviewed-on
eue pair ID with pending error
> > interrupt event if any, starting from the given queue pair index, for
> > the device.
> >
> > Signed-off-by: Srujana Challa
> The patch description do not match with the API added.
> Can you please update it?
>
Adds RTE_CRYPTODEV_
Adds RTE_CRYPTODEV_EVENT_ERROR query handler for cn9k/cn10k PMD.
The query handler finds the next queue pair ID with pending error
interrupt event if any, starting from the given queue pair index,
for the device.
Signed-off-by: Srujana Challa
---
drivers/common/cnxk/roc_cpt.c | 4
An event RTE_CRYPTODEV_EVENT_ERROR gets fired when crypto PMD receives
an error interrupt. This patch adds query function for the application,
to get more info about the event.
Signed-off-by: Srujana Challa
---
lib/cryptodev/cryptodev_pmd.h | 9 +
lib/cryptodev/rte_cryptodev.c | 19
Adds and register callback to report CPT MISC error interrupts to
the application using rte_cryptodev_pmd_callback_process.
Signed-off-by: Srujana Challa
---
drivers/crypto/cnxk/cnxk_cryptodev.c | 12
drivers/crypto/cnxk/cnxk_cryptodev.h | 1 +
drivers/crypto/cnxk
Adds functions to register callback API to report CPT_MISC_INT
to the driver.
Signed-off-by: Srujana Challa
---
drivers/common/cnxk/roc_cpt.c | 31 +++
drivers/common/cnxk/roc_cpt.h | 8 +++-
drivers/common/cnxk/version.map | 2 ++
3 files changed, 40
An event RTE_CRYPTODEV_EVENT_ERROR gets fired when crypto PMD receives
an error interrupt. This patch adds query function for the application,
to get more info about the event.
Signed-off-by: Srujana Challa
---
lib/cryptodev/cryptodev_pmd.h | 9 +
lib/cryptodev/rte_cryptodev.c | 19
Adds and register callback to report CPT MISC error interrupts to
the application using rte_cryptodev_pmd_callback_process.
Signed-off-by: Srujana Challa
---
drivers/crypto/cnxk/cnxk_cryptodev.c | 12
drivers/crypto/cnxk/cnxk_cryptodev.h | 1 +
drivers/crypto/cnxk
Adds functions to register callback API to report CPT_MISC_INT
to the driver.
Signed-off-by: Srujana Challa
---
drivers/common/cnxk/roc_cpt.c | 32
drivers/common/cnxk/roc_cpt.h | 8 +++-
drivers/common/cnxk/version.map | 2 ++
3 files changed, 41
Adds RTE_CRYPTODEV_EVENT_ERROR query handler for cn9k/cn10k PMD.
The query handler finds the next queue pair ID with pending error
interrupt event if any, starting from the given queue pair index,
for the device.
Signed-off-by: Srujana Challa
---
drivers/common/cnxk/roc_cpt.c | 4
> -Original Message-
> From: Thomas Monjalon
> Sent: Sunday, July 17, 2022 4:17 PM
> To: Akhil Goyal ; Srujana Challa
>
> Cc: roy.fan.zh...@intel.com; dev@dpdk.org; Jerin Jacob Kollanukkaran
> ; Nithin Kumar Dabilpuram
> ; Anoob Joseph ;
> david.march..
Removes get_userdata function pointer as it is being unused
and make fast accessing method that uses dynamic field to get
userdata as default for optimizing security path.
Signed-off-by: Srujana Challa
---
app/test/test_security.c | 166 ---
doc/guides/nics
Adds code to reset CPT LF as part of cpt_lf_fini.
Signed-off-by: Srujana Challa
---
drivers/common/cnxk/roc_cpt.c | 82 ++
drivers/common/cnxk/roc_mbox.h | 6 +++
2 files changed, 88 insertions(+)
diff --git a/drivers/common/cnxk/roc_cpt.c b/drivers/common
Function rte_cryptodev_cb_fn prototype will be extended to
add new parameter qp_id, to return queue pair ID, which got
error interrupt to the application, so that application can
reset that particular queue pair.
https://mails.dpdk.org/archives/dev/2022-June/245428.html
Signed-off-by: Srujana
the queue back to normal state.
Signed-off-by: Srujana Challa
---
lib/cryptodev/cryptodev_pmd.h | 3 ++-
lib/cryptodev/rte_cryptodev.c | 8
lib/cryptodev/rte_cryptodev.h | 9 ++---
3 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/lib/cryptodev/cryptodev_pmd.h b/lib
the queue back to normal state.
Signed-off-by: Srujana Challa
Change-Id: I423c4fd6b8c3d910c60e3a6d4f17534756299213
---
lib/cryptodev/cryptodev_pmd.h | 3 ++-
lib/cryptodev/rte_cryptodev.c | 8
lib/cryptodev/rte_cryptodev.h | 9 ++---
3 files changed, 12 insertions(+), 8 deletions(-)
di
.
Signed-off-by: Srujana Challa
---
Depends-on: series-18262 ("security: Improve inline fast path routines")
Depends-on: series-18322 ("eventdev: simplify Rx adapter event vector
config")
v2:
* Set rte_event_vector::attr_valid if all packets in the vector uses
same port.
doc/
.
Depends-on: series-18262 ("security: Improve inline fast path routines")
Depends-on: series-18322 ("eventdev: simplify Rx adapter event vector
config")
Signed-off-by: Srujana Challa
---
doc/guides/sample_app_ug/ipsec_secgw.rst | 18 +-
examples/ipsec-secgw/event
2:
- Fixed checkpatch warning.
Signed-off-by: Srujana Challa
---
drivers/common/cnxk/roc_cpt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/common/cnxk/roc_cpt.c b/drivers/common/cnxk/roc_cpt.c
index 2ffd271566..60a68876b0 100644
--- a/drivers/common/cnxk/roc_cpt.c
+++
ned-off-by: Srujana Challa
---
drivers/common/cnxk/roc_cpt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/common/cnxk/roc_cpt.c b/drivers/common/cnxk/roc_cpt.c
index 2ffd271566..60a68876b0 100644
--- a/drivers/common/cnxk/roc_cpt.c
+++ b/drivers/common/cnxk/roc_cpt.c
Adds support to allow udp-encap option for
RTE_SECURITY_ACTION_TYPE_INLINE_PROTOCOL mode also.
Signed-off-by: Srujana Challa
---
examples/ipsec-secgw/sa.c | 31 ++-
1 file changed, 18 insertions(+), 13 deletions(-)
diff --git a/examples/ipsec-secgw/sa.c b/examples
Adds support for UDP encapsulation in crypto_cn10k
PMD.
Signed-off-by: Srujana Challa
---
drivers/common/cnxk/cnxk_security.c | 18 ++
drivers/common/cnxk/meson.build | 1 +
2 files changed, 19 insertions(+)
diff --git a/drivers/common/cnxk/cnxk_security.c
b/drivers
57 matches
Mail list logo