Adds details of below nix devargs
- force_tail_drop
- disable_xqe_drop
Signed-off-by: Rahul Bhansali
---
doc/guides/nics/cnxk.rst | 23 +++
1 file changed, 23 insertions(+)
diff --git a/doc/guides/nics/cnxk.rst b/doc/guides/nics/cnxk.rst
index 35f95dcc0a..7f4ff7b4fb 100644
Provide devarg option to disable xqe drop in rq context.
It will be set as disable_xqe_drop=1 for nix device.
e.g.: 0002:02:00.0,disable_xqe_drop=1
Signed-off-by: Rahul Bhansali
---
drivers/net/cnxk/cnxk_ethdev_devargs.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a
Disable RQ context xqe drop enable config when
dis_xqe_drop parameter is set.
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/roc_nix.h | 1 +
drivers/common/cnxk/roc_nix_queue.c | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/common/cnxk/roc_nix.h b
lease")
Signed-off-by: Rahul Bhansali
---
drivers/net/cnxk/cnxk_ethdev.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/cnxk/cnxk_ethdev.c b/drivers/net/cnxk/cnxk_ethdev.c
index 1ba09c068b..14e4e95419 100644
--- a/drivers/net/cnxk/cnxk_ethdev.c
+++ b/driver
A new devarg is added to configure force tail drop.
Also, CQ descriptors are doubled under this option.
To enable this devarg, it needs to be pass as
force_tail_drop=1 for nix device.
e.g.: 0002:02:00.0,force_tail_drop=1
Signed-off-by: Rahul Bhansali
---
drivers/net/cnxk/cnxk_ethdev.c
In case of force_tail_drop is enabled, a different set of
CQ drop and backpressure threshold will be configured
to avoid CQ FULL interrupts.
Also, drop thresholds are optimized for security packets.
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/roc_nix.h | 4
drivers/common
From: Nithin Dabilpuram
CQ tail drop feature is currently supposed to be enabled
when inline IPsec is disabled. But since XQE drop is not
enabled, CQ tail drop is implicitly disabled. Fix the same.
Fixes: c8c967e11717 ("common/cnxk: support enabling AURA tail drop for RQ")
Signed-off-by: Nithin
Inbound CPT LF ID was fixed to 0th index,
It fixes to update relative LF ID for Rx inline
config.
Fixes: fc9a711b5c8f ("common/cnxk: add NIX inline reassembly profile config")
Signed-off-by: Rahul Bhansali
---
Changes in v2: updated the commit message.
drivers/common/cnxk/roc
Update bufsize in lookup-mem by default to maintain
data order.
Fixes: b826d043c01f ("net/cnxk: store pool buffer size in lookup memory")
Signed-off-by: Rahul Bhansali
---
Changes in v2: updated the commit message.
drivers/net/cnxk/cn20k_ethdev.c | 3 +--
1 file changed, 1 inser
Update frag offset calculation based on CSR change.
Signed-off-by: Rahul Bhansali
---
Changes in v2: No change.
drivers/net/cnxk/cn20k_rx.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/cnxk/cn20k_rx.h b/drivers/net/cnxk/cn20k_rx.h
index 09042e384d..5682631815
Updates CPT parse header HW structure for CN20k.
Signed-off-by: Rahul Bhansali
---
Changes in v2: updated commit message
drivers/common/cnxk/hw/cpt.h| 12 +++-
drivers/common/cnxk/roc_cpt_debug.c | 8
2 files changed, 11 insertions(+), 9 deletions(-)
diff --git a
This configures the CPT result address offset from WQE pointer
in RX_INLINE_CFG0. CPT result address offset is a signed
number in multiple of 16 bytes and configured to the
corresponding reserved space in packet meta area itself.
Signed-off-by: Rahul Bhansali
---
Changes in v2: No change
From: Monendra Singh Kushwaha
This patch enables setting CPT result address offset relative
to wqe address.
Signed-off-by: Monendra Singh Kushwaha
---
Changes in v2: No change.
drivers/common/cnxk/roc_mbox.h | 4
drivers/common/cnxk/roc_nix.c | 5 +
drivers/common/cn
Updates CPT parse header HW structure for O20.
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/hw/cpt.h| 12 +++-
drivers/common/cnxk/roc_cpt_debug.c | 8
2 files changed, 11 insertions(+), 9 deletions(-)
diff --git a/drivers/common/cnxk/hw/cpt.h b/drivers
From: Monendra Singh Kushwaha
This patch enables setting CPT result address offset relative
to wqe address.
Signed-off-by: Monendra Singh Kushwaha
---
Depends-on: series-34970 ("[v2,1/3] common/cnxk: update steer rule mbox for
cn20k")
drivers/common/cnxk/roc_mbox.h | 4
drivers/
Update frag offset calculation based on CSR change.
Signed-off-by: Rahul Bhansali
---
drivers/net/cnxk/cn20k_rx.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/cnxk/cn20k_rx.h b/drivers/net/cnxk/cn20k_rx.h
index 09042e384d..5682631815 100644
--- a/drivers/net
Update bufsize in lookup-mem by default to maintain
data order.
Signed-off-by: Rahul Bhansali
---
drivers/net/cnxk/cn20k_ethdev.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/cnxk/cn20k_ethdev.c b/drivers/net/cnxk/cn20k_ethdev.c
index 740fdb7f76..159ce39e97
Inbound CPT LF ID update for Rx inline config.
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/roc_nix_inl.c | 10 +-
drivers/common/cnxk/roc_nix_inl_dev.c | 4 +---
drivers/common/cnxk/roc_nix_inl_priv.h | 2 +-
3 files changed, 11 insertions(+), 5 deletions(-)
diff
This configures the CPT result address offset from WQE pointer
in RX_INLINE_CFG0. CPT result address offset is a signed
number in multiple of 16 bytes and configured to the
corresponding reserved space in packet meta area itself.
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk
Updates IP header data of reassembled packets,
1) IPv4 length, MF bit and checksum correction
2) IPv6 length update and fragment extension header remove
Also, corrects data length of multisegment decrypted
packets.
Signed-off-by: Rahul Bhansali
---
Changes in v2: compilation fix for ubuntu-22.04
Updated mbox npc_cn20k_read_base_steer_rule for cn20k.
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/roc_npc.c | 3 ++-
drivers/common/cnxk/roc_npc_mcam.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/common/cnxk/roc_npc.c b/drivers/common/cnxk
- Update cn20k part number
- Add cnf205 support
- Add APIs for respective cn20k models
Signed-off-by: Rahul Bhansali
Signed-off-by: Harman Kalra
---
Changes in v2: No change
drivers/common/cnxk/roc_constants.h | 4 ++--
drivers/common/cnxk/roc_model.c | 4 +++-
drivers/common/cnxk
Updated mbox npc_cn20k_read_base_steer_rule for cn20k.
Signed-off-by: Rahul Bhansali
---
Changes in v2: No change
drivers/common/cnxk/roc_npc.c | 3 ++-
drivers/common/cnxk/roc_npc_mcam.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/common/cnxk/roc_npc.c
Updates IP header data of reassembled packets,
1) IPv4 length, MF bit and checksum correction
2) IPv6 length update and fragment extension header remove
Also, corrects data length of multisegment decrypted
packets.
Signed-off-by: Rahul Bhansali
---
drivers/net/cnxk/cn20k_rx.h | 112
- Update cn20k part number
- Add cnf205 support
- Add APIs for respective cn20k models
Signed-off-by: Rahul Bhansali
Signed-off-by: Harman Kalra
---
drivers/common/cnxk/roc_constants.h | 4 ++--
drivers/common/cnxk/roc_model.c | 4 +++-
drivers/common/cnxk/roc_model.h | 28
upport Tx burst vector for CN20K")
Fixes: 862e28128707 ("net/cnxk: add vector Tx for CN9K")
Signed-off-by: Rahul Bhansali
---
Changes in v2: Added fix for cn9k also.
drivers/net/cnxk/cn10k_tx.h | 7 +--
drivers/net/cnxk/cn20k_tx.h | 7 +--
drivers/net/cnxk/cn9k_tx.h |
upport Tx burst vector for CN20K")
Signed-off-by: Rahul Bhansali
---
drivers/net/cnxk/cn10k_tx.h | 7 +--
drivers/net/cnxk/cn20k_tx.h | 7 +--
2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/drivers/net/cnxk/cn10k_tx.h b/drivers/net/cnxk/cn10k_tx.h
index 7d9b259a5f..77f
: fbc0fa749919 ("net/cnxk: keep flow rules across restart")
Signed-off-by: Rahul Bhansali
---
Changes in v2: added fixes tag
drivers/net/cnxk/cnxk_ethdev.c | 27 ---
1 file changed, 20 insertions(+), 7 deletions(-)
diff --git a/drivers/net/cnxk/cnxk_ethdev.c b/driver
This will enable second pass RQ and drop interrupt by default in
mask configuration to avoid buffer leak possibilities during dev
stop and interrupts to indicate drops if any.
Signed-off-by: Rahul Bhansali
---
Changes in v2: No change.
drivers/common/cnxk/roc_features.h | 6 ++
drivers
: Rahul Bhansali
---
drivers/net/cnxk/cnxk_ethdev.c | 27 ---
1 file changed, 20 insertions(+), 7 deletions(-)
diff --git a/drivers/net/cnxk/cnxk_ethdev.c b/drivers/net/cnxk/cnxk_ethdev.c
index db8feca620..38746c81c5 100644
--- a/drivers/net/cnxk/cnxk_ethdev.c
+++ b/drivers/net
This will enable second pass RQ and drop interrupt by default in
mask configuration to avoid buffer leak possibilities during dev
stop and interrupts to indicate drops if any.
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/roc_features.h | 6 ++
drivers/common/cnxk/roc_nix_inl.c | 9
ned-off-by: Rahul Bhansali
---
drivers/net/cnxk/cnxk_ethdev_ops.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/net/cnxk/cnxk_ethdev_ops.c
b/drivers/net/cnxk/cnxk_ethdev_ops.c
index c8260fcb9c..b1093dd584 100644
--- a/drivers/net/cnxk/cnxk_ethdev_ops.c
+++ b/driver
ch VF")
Fixes: f812768a9e66 ("net/cnxk: support eswitch VF as ethernet device")
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/roc_nix.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/common/cnxk/roc_nix.c b/drivers/common/cnxk/roc_nix.c
index 20
but also fixes SQ corruption.
CN10k performance improvement is ~14%.
CN9k performance improvement is ~20%.
Fixes: 51a636528515 ("net/cnxk: fix crash during Tx completion")
Cc: sta...@dpdk.org
Signed-off-by: Rahul Bhansali
---
Changes in v2: updated release_24_03.rst for SW mbuf free op
but also fixes SQ corruption.
CN10k performance improvement is ~14%.
CN9k performance improvement is ~20%.
Fixes: 51a636528515 ("net/cnxk: fix crash during Tx completion")
Cc: sta...@dpdk.org
Signed-off-by: Rahul Bhansali
---
Depends-on: series-31225 ("[v5,01/14] common/cnxk: rem
LLC transaction optimization by using LDWB LDTYPE option
in SG preparation for Tx. With this, if data is present
and dirty in LLC then the LLC would mark the data clean.
Signed-off-by: Rahul Bhansali
---
Changes in v2: No change
drivers/net/cnxk/cn10k_tx.h | 16 +---
1 file changed
.
Fixes: 5e9e008d0127 ("net/cnxk: support inline ingress out-of-place session")
Cc: sta...@dpdk.org
Signed-off-by: Rahul Bhansali
---
Changes in v2: No change
drivers/net/cnxk/cn10k_rx.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/cnxk/cn10k_rx.h
Add missing check of Inline device pointer before accessing
is_multi_channel variable.
Fixes: 7ea187184a51 ("common/cnxk: support 1-N pool-aura per NIX LF")
Cc: sta...@dpdk.org
Signed-off-by: Rahul Bhansali
---
Changes in v2: No change
drivers/common/cnxk/roc_nix_inl.c | 3 ++-
1 fi
eth device.
Signed-off-by: Rahul Bhansali
---
Changes in v2: updated release_24_03.rst for Rx inject support
doc/guides/nics/cnxk.rst | 27 +++
doc/guides/rel_notes/release_24_03.rst | 1 +
drivers/net/cnxk/cn10k_ethdev.c| 4 +
drivers/net/cnxk/cn10k_ethdev_sec.
An additional CPT LF will be reserved and attached with
inline device to enable RXC and use for Rx inject purpose.
Signed-off-by: Rahul Bhansali
---
Changes in v2: No change
drivers/common/cnxk/roc_features.h | 7 +++
drivers/common/cnxk/roc_nix.h | 1 +
drivers/common/cnxk
> -Original Message-
> From: Ferruh Yigit
> Sent: Friday, February 9, 2024 7:21 PM
> To: Rahul Bhansali ; dev@dpdk.org; Radu Nicolau
> ; Akhil Goyal ; Konstantin
> Ananyev ; Anoob Joseph
>
> Subject: Re: [EXT] Re: [PATCH] examples/ipsec-secgw: fix IPsec perform
> -Original Message-
> From: Ferruh Yigit
> Sent: Wednesday, February 7, 2024 4:06 PM
> To: Rahul Bhansali ; dev@dpdk.org; Radu Nicolau
> ; Akhil Goyal ; Konstantin
> Ananyev ; Anoob Joseph
>
> Subject: Re: [EXT] Re: [PATCH] examples/ipsec-secgw: fix IPsec perfo
> -Original Message-
> From: Ferruh Yigit
> Sent: Tuesday, February 6, 2024 11:55 PM
> To: Rahul Bhansali ; dev@dpdk.org; Radu Nicolau
> ; Akhil Goyal ; Konstantin
> Ananyev ; Anoob Joseph
>
> Subject: [EXT] Re: [PATCH] examples/ipsec-secgw: fix IPsec perfor
free")
Signed-off-by: Rahul Bhansali
---
examples/ipsec-secgw/ipsec-secgw.h | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/examples/ipsec-secgw/ipsec-secgw.h
b/examples/ipsec-secgw/ipsec-secgw.h
index 8baab44ee7..ec33a982df 100644
--- a/examples/ipsec-secgw/ipsec-sec
Add test for inline IPsec Rx inject verification. This test case
will inject the known vector to crypto HW from ethdev and
verifies it back with decrypted packet from ethdev Rx.
Signed-off-by: Rahul Bhansali
---
Changes in v2: Addressed review comments of Stephen Hemminger
app/test
> -Original Message-
> From: Stephen Hemminger
> Sent: Friday, January 19, 2024 10:26 PM
> To: Rahul Bhansali
> Cc: dev@dpdk.org; Akhil Goyal ; Anoob Joseph
>
> Subject: [EXT] Re: [PATCH] test/security: add inline IPsec Rx inject tes
Add test for inline IPsec Rx inject verification. This test case
will inject the known vector to crypto HW from ethdev and
verifies it back with decrypted packet from ethdev Rx.
Signed-off-by: Rahul Bhansali
---
app/test/test_security_inline_proto.c | 325 ++
app/test
LLC transaction optimization by using LDWB LDTYPE option
in SG preparation for Tx. With this, if data is present
and dirty in LLC then the LLC would mark the data clean.
Signed-off-by: Rahul Bhansali
---
drivers/net/cnxk/cn10k_tx.h | 16 +---
1 file changed, 13 insertions(+), 3
.
Fixes: 5e9e008d0127 ("net/cnxk: support inline ingress out-of-place session")
Cc: sta...@dpdk.org
Signed-off-by: Rahul Bhansali
---
drivers/net/cnxk/cn10k_rx.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/cnxk/cn10k_rx.h b/drivers/net/cnxk/cn10k_
Add missing check of Inline device pointer before accessing
is_multi_channel variable.
Fixes: 7ea187184a51 ("common/cnxk: support 1-N pool-aura per NIX LF")
Cc: sta...@dpdk.org
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/roc_nix_inl.c | 3 ++-
1 file changed, 2 insert
eth device.
Signed-off-by: Rahul Bhansali
---
doc/guides/nics/cnxk.rst | 27 +++
drivers/net/cnxk/cn10k_ethdev.c| 4 +
drivers/net/cnxk/cn10k_ethdev_sec.c| 48 +
drivers/net/cnxk/cn10k_rx.h| 241 -
drivers/net/cnxk/cn10k_rxtx.h
An additional CPT LF will be reserved and attached with
inline device to enable RXC and use for Rx inject purpose.
Signed-off-by: Rahul Bhansali
---
Depends-on: series-30819 ("Fixes and improvements in crypto cnxk")
drivers/common/cnxk/roc_features.h | 7 +++
drivers/common/cnxk
By default mbuf port is not initialized and for Rx inject
mbuf port update is required before submitting packet.
Fixes: 69e1a909aa08 ("test/crypto: add Rx inject")
Signed-off-by: Rahul Bhansali
---
app/test/test_cryptodev.c | 1 +
1 file changed, 1 insertion(+)
diff --git
: 4382a7ccf781 ("net/cnxk: support Rx security offload on cn10k")
Signed-off-by: Rahul Bhansali
---
drivers/net/cnxk/cn10k_rx.h| 93 ++
drivers/net/cnxk/cn10k_rx_select.c | 10 +++-
2 files changed, 101 insertions(+), 2 deletions(-)
diff --git a/driver
Hi Thomas,
Can you please check this and merge if no comments as this is waiting from long
time ?
Regards,
Rahul
> -Original Message-
> From: Rahul Bhansali
> Sent: Friday, June 16, 2023 10:28 AM
> To: 'Thomas Monjalon'
> Cc: 'dev@dpdk.org' ;
As rte_eth_dev_configure() can be called from any EAL or non-EAL cores.
And in case of non-EAL core, LMT address will not be a valid. So,
reserving last LMT line 2047 for control path specific functionality.
Signed-off-by: Rahul Bhansali
---
v2 change: No change, sent as independent of series
mbuf field")
Cc: sta...@dpdk.org
Signed-off-by: Rahul Bhansali
---
v3 changes:
- timestamp register move before other Rxa init config.
v2 changes:
- addresses the review comment to have registration in rxa_init_service()
lib/eventdev/rte_event_eth_rx_adapter.c | 14 +++---
1 file
mbuf field")
Cc: sta...@dpdk.org
Signed-off-by: Rahul Bhansali
---
v2 changes:
- addresses the review comment to have registration in rxa_init_service()
lib/eventdev/rte_event_eth_rx_adapter.c | 15 ---
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/li
> -Original Message-
> From: Naga Harish K, S V
> Sent: Wednesday, September 20, 2023 6:03 PM
> To: Rahul Bhansali ; dev@dpdk.org; Jerin Jacob
> Kollanukkaran ; Kundapura, Ganapati
>
> Cc: sta...@dpdk.org
> Subject: [EXT] RE: [PATCH] eventdev/eth_rx: fix tim
.
Signed-off-by: Rahul Bhansali
---
drivers/net/cnxk/cn10k_rx.h| 93 ++
drivers/net/cnxk/cn10k_rx_select.c | 10 +++-
2 files changed, 101 insertions(+), 2 deletions(-)
diff --git a/drivers/net/cnxk/cn10k_rx.h b/drivers/net/cnxk/cn10k_rx.h
index 41d11349fd
As rte_eth_dev_configure() can be called from any EAL or non-EAL cores.
And in case of non-EAL core, LMT address will not be a valid. So,
reserving last LMT line 2047 for control path specific functionality.
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/roc_dev.c | 5
As rte_eth_dev_configure() can be called from any EAL or non-EAL cores.
And in case of non-EAL core, LMT address will not be a valid. So,
reserving last LMT line 2047 for control path specific functionality.
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/roc_dev.c | 5
("eventdev/eth_rx: use timestamp as dynamic mbuf field")
Cc: sta...@dpdk.org
Signed-off-by: Rahul Bhansali
---
lib/eventdev/rte_event_eth_rx_adapter.c | 19 ---
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/lib/eventdev/rte_event_eth_rx_adapter.c
b/li
In case of IPv6 fragments are reassembled, then fragment
header will be removed from packet and next-header field in
IPv6 header will be updated to header followed by fragment header.
Fixes: a310577766d6 ("test/security: add inline IPsec reassembly cases")
Signed-off-by: Rahul Bhansali
Hi Thomas,
This is pending from long time and no comments so far. Can you please check and
accept this ?
Let me know if you have any review comments.
Regard,
Rahul
> -Original Message-
> From: Rahul Bhansali
> Sent: Tuesday, May 30, 2023 2:30 PM
> To: 'Kirill Rybal
Add a support of atomic fc check in poll mode Tx path. This atomic
check is useful if multiple threads are using the same Tx queue.
This will be enabled when Tx offload RTE_ETH_TX_OFFLOAD_MT_LOCKFREE
is set.
Signed-off-by: Rahul Bhansali
---
drivers/net/cnxk/cn10k_ethdev.c | 3 ++
drivers/net
Event Inline IPsec test suite stuck for reassembly tests
because corresponding Tx and Rx calls are not done and
reassembly flags were not set during event dev initialization.
Fixes: 108646569579 ("test/security: add event inline IPsec cases")
Signed-off-by: Rahul Bhansali
---
Hi Kirill,
This patch is pending for review from long time.
Please do let me know if any comments on this patch, else will request to merge
it.
Regards,
Rahul
> -Original Message-
> From: Rahul Bhansali
> Sent: Monday, May 15, 2023 4:29 PM
> To: 'Kirill Rybalchenko
Add mempool cookies get mark to all frags in case of
reassembly failure.
Signed-off-by: Rahul Bhansali
---
Changes in v2: No change
drivers/net/cnxk/cn10k_rx.h | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/net/cnxk/cn10k_rx.h b/drivers/net/cnxk/cn10k_rx.h
index
Fix for mempool cookies get mark to be done before
meta to mbuf processing.
Fixes: 7a709964d9bb ("net/cnxk: use NPA batch burst free for meta buffers")
Cc: sta...@dpdk.org
Signed-off-by: Rahul Bhansali
---
Changes in v2: update in commit message for fixes and cc tag
drivers/
;)
Cc: sta...@dpdk.org
Signed-off-by: Rahul Bhansali
---
Changes in v2: update in commit message for fixes and cc tag
drivers/event/cnxk/cnxk_eventdev_adptr.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/event/cnxk/cnxk_eventdev_adptr.c
b/drivers/event/cnxk/cnxk_eventdev_adp
Configure event dev Rx offload flags with rx adapter
start/stop callbacks.
Signed-off-by: Rahul Bhansali
---
Changes in v2: No change
drivers/event/cnxk/cnxk_eventdev_adptr.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/event/cnxk/cnxk_eventdev_adptr.c
Fix the IPsec IPv6 tunnel address bytes swap during SA
configurations in session create/update.
Fixes: 78d03027f2cc ("common/cnxk: add IPsec common code")
Cc: sta...@dpdk.org
Signed-off-by: Rahul Bhansali
---
Changes in v2: update in commit message for fixes and cc tag
drivers/c
Ping.
> -Original Message-
> From: Rahul Bhansali
> Sent: Thursday, March 30, 2023 3:39 PM
> To: dev@dpdk.org; Radu Nicolau ; Akhil Goyal
>
> Cc: Rahul Bhansali
> Subject: [PATCH] examples/ipsec-secgw: fix zero address in ethernet header
>
> During port
Ping.
> -Original Message-
> From: Rahul Bhansali
> Sent: Friday, January 20, 2023 11:26 AM
> To: 'dev@dpdk.org' ; 'Kirill Rybalchenko'
>
> Subject: RE: [PATCH] examples/ptpclient: add signal handler for cleanup
>
> Ping.
>
> >
Add mempool cookies get mark to all frags in case of
reassembly failure.
Signed-off-by: Rahul Bhansali
---
drivers/net/cnxk/cn10k_rx.h | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/net/cnxk/cn10k_rx.h b/drivers/net/cnxk/cn10k_rx.h
index 9fdb5565e9..cbaf994aa2 100644
--- a
Fix for mempool cookies get mark to be done before
meta to mbuf processing.
Fixes: 7a709964d9b ("net/cnxk: use NPA batch burst free for meta buffers")
Signed-off-by: Rahul Bhansali
---
drivers/event/cnxk/cn10k_worker.h | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
di
;)
Signed-off-by: Rahul Bhansali
---
drivers/event/cnxk/cnxk_eventdev_adptr.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/event/cnxk/cnxk_eventdev_adptr.c
b/drivers/event/cnxk/cnxk_eventdev_adptr.c
index 6d975362e8..9a02026ea6 100644
--- a/drivers/event/cnxk/cnxk_eventdev_adp
Configure event dev Rx offload flags with rx adapter
start/stop callbacks.
Signed-off-by: Rahul Bhansali
---
drivers/event/cnxk/cnxk_eventdev_adptr.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/event/cnxk/cnxk_eventdev_adptr.c
b/drivers/event/cnxk
Fix the IPsec IPv6 tunnel address bytes swap during SA
configurations in session create/update.
Fixes: 78d03027f2c ("common/cnxk: add IPsec common code")
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/cnxk_security.c | 16
1 file changed, 16 insertions(+)
di
During port init, src address stored in ethaddr_tbl is typecast
which violates the stric-aliasing rule and not reflecting
the updated source address in processed packets too.
Fixes: 6eb3ba0399 ("examples/ipsec-secgw: support poll mode NEON LPM lookup")
Signed-off-by: Rahu
recompilation
time for independent changes.
In case of Roc changes independent to datapath, the overall
recompilation time is reduced from ~6 mins to ~17 secs.
Signed-off-by: Rahul Bhansali
---
Changes in v3: Reorder patch in series for compilation fix.
Changes in v2: No changes.
.../crypto/cnxk
Restructure for separate cn10k datapath functionality to reduce
recompilation time in case of any changes in control path.
New cnxk_ethdev_dp.h and cn10k_rxtx.h files are created to have
macros, functions as required for datapath with minimal dependency
on roc changes.
Signed-off-by: Rahul
From: Anoob Joseph
Inclusion of roc_api.h in all files would mean any change in RoC API
would result in recompilation of all cnxk drivers. Address this issue in
crypto_cnxk drivers by including only the headers that are required.
Signed-off-by: Anoob Joseph
---
Changes in v3: Reorder patch in s
Restructure for separate datapath functionality to reduce
recompilation time.
New *_dp.h are created to have macros, functions as required
for datapath.
Signed-off-by: Rahul Bhansali
---
Changes in v3: No change.
Changes in v2: Rebased to next-net-mrvl, No code changes.
drivers/common/cnxk
> -Original Message-
> From: Jerin Jacob
> Sent: Wednesday, January 25, 2023 10:29 AM
> To: Rahul Bhansali
> Cc: dev@dpdk.org; Nithin Kumar Dabilpuram ;
> Kiran Kumar Kokkilagadda ; Sunil Kumar Kori
> ; Satha Koteswara Rao Kottidi
> ; Jerin Jacob Kollanukka
Ping.
> -Original Message-
> From: Rahul Bhansali
> Sent: Wednesday, November 2, 2022 10:21 PM
> To: dev@dpdk.org; Kirill Rybalchenko
> Subject: RE: [PATCH] examples/ptpclient: add signal handler for cleanup
>
> Ping.
>
> > -Original Message-
>
This is to avoid CPT queue overflow and thereby a CPT misc
interrupt.
Fixes: 1a7da795f64 ("net/cnxk: support Tx security offload on cn9k")
Signed-off-by: Rahul Bhansali
---
Changes in v2: Updated commit message.
drivers/event/cnxk/cn9k_worker.h | 1 +
drivers/net/cnxk/cn9k_tx.h
recompilation
time for independent changes.
In case of Roc changes independent to datapath, the overall
recompilation time is reduced from ~6 mins to ~17 secs.
Signed-off-by: Rahul Bhansali
---
Changes in v2: No changes.
.../crypto/cnxk/cn10k_cryptodev_event_dp.h| 13 +
drivers/crypto/cnxk
From: Anoob Joseph
Inclusion of roc_api.h in all files would mean any change in RoC API
would result in recompilation of all cnxk drivers. Address this issue in
crypto_cnxk drivers by including only the headers that are required.
Signed-off-by: Anoob Joseph
---
Changes in v2: Updated git commen
Restructure for separate cn10k datapath functionality to reduce
recompilation time in case of any changes in control path.
New cnxk_ethdev_dp.h and cn10k_rxtx.h files are created to have
macros, functions as required for datapath with minimal dependency
on roc changes.
Signed-off-by: Rahul
Restructure for separate datapath functionality to reduce
recompilation time.
New *_dp.h are created to have macros, functions as required
for datapath.
Signed-off-by: Rahul Bhansali
---
Changes in v2: Rebased to next-net-mrvl, No code changes.
drivers/common/cnxk/roc_api.h| 6
> -Original Message-
> From: Jerin Jacob
> Sent: Tuesday, January 17, 2023 2:22 PM
> To: Rahul Bhansali
> Cc: dev@dpdk.org; Nithin Kumar Dabilpuram ;
> Kiran Kumar Kokkilagadda ; Sunil Kumar Kori
> ; Satha Koteswara Rao Kottidi
> ; Jerin Jacob Kollanukkaran
>
recompilation
time for independent changes.
In case of Roc changes independent to datapath, the overall
recompilation time is reduced from ~6 mins to ~17 secs.
Signed-off-by: Rahul Bhansali
---
.../crypto/cnxk/cn10k_cryptodev_event_dp.h| 13 +
drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 2
From: Anoob Joseph
Inclusion of roc_api.h in all files would mean any change in RoC API
would result in recompilation of all cnxk drivers. Address this issue in
crypto_cnxk drivers by including only the headers that are required.
Signed-off-by: Anoob Joseph
---
drivers/common/cnxk/cnxk_securit
Restructure for separate cn10k datapath functionality to reduce
recompilation time in case of any changes in control path.
New cnxk_ethdev_dp.h and cn10k_rxtx.h files are created to have
macros, functions as required for datapath with minimal dependency
on roc changes.
Signed-off-by: Rahul
Restructure for separate datapath functionality to reduce
recompilation time.
New *_dp.h are created to have macros, functions as required
for datapath.
Signed-off-by: Rahul Bhansali
---
Depends-on: series-25906 ("[01/11] common/cnxk: free pending sqe buffers")
Depends-on: series-2
Wait for CPT flow control on WQE path.
Signed-off-by: Rahul Bhansali
---
drivers/event/cnxk/cn9k_worker.h | 1 +
drivers/net/cnxk/cn9k_tx.h | 10 ++
2 files changed, 11 insertions(+)
diff --git a/drivers/event/cnxk/cn9k_worker.h b/drivers/event/cnxk/cn9k_worker.h
index
Update IPsec handling with reference from UCODE version
OCPT-04-IE-IPSEC-MC-30-01-28-00
Signed-off-by: Rahul Bhansali
---
drivers/net/cnxk/cn10k_rx.h | 170
1 file changed, 95 insertions(+), 75 deletions(-)
diff --git a/drivers/net/cnxk/cn10k_rx.h b/drivers
Update the IPsec completion codes as per UCODE version
OCPT-04-IE-IPSEC-MC-30-01-28-00
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/hw/cpt.h | 2 ++
drivers/common/cnxk/roc_cpt.c | 2 +-
drivers/common/cnxk/roc_ie_ot.h | 21
1 - 100 of 164 matches
Mail list logo