Hi Stephen,
Please see inline.
Thanks,
Anoob
> -Original Message-
> From: Stephen Hemminger
> Sent: Thursday, May 25, 2023 12:02 AM
> To: Anoob Joseph
> Cc: Thomas Monjalon ; Akhil Goyal
> ; Jerin Jacob Kollanukkaran ;
> Konstantin Ananyev ; Bernard
> Irem
Hi Stephen,
Please see inline.
Thanks,
Anoob
> -Original Message-
> From: Stephen Hemminger
> Sent: Thursday, May 25, 2023 8:56 PM
> To: Anoob Joseph
> Cc: Thomas Monjalon ; Akhil Goyal
> ; Jerin Jacob Kollanukkaran ;
> Konstantin Ananyev ; Bernard
> Irem
0
+ Tests Executed :179
+ Tests Unsupported: 48
+ Tests Passed : 131
+ Tests Failed : 0
+ --- +
Test OK
Anoob Joseph (10):
lib: add pdcp protocol
pdcp: add pre and post-process
pdcp: add packet group
pdcp: add cr
From: Volodymyr Fialko
Add PDCP protocol header to be used for supporting PDCP protocol
processing.
Signed-off-by: Anoob Joseph
Signed-off-by: Kiran Kumar K
Signed-off-by: Volodymyr Fialko
Acked-by: Akhil Goyal
---
doc/api/doxy-api-index.md | 3 +-
lib/net/meson.build | 1 +
lib
. Uplink data compression
5. Ciphering and integrity protection
PDCP library provides following control path APIs that is used to
configure various PDCP entities,
1. rte_pdcp_entity_establish()
2. rte_pdcp_entity_suspend()
3. rte_pdcp_entity_release()
Signed-off-by: Anoob Joseph
Signed-off-by: Kiran
lows skipping multiple checks that would
come in datapath otherwise.
Signed-off-by: Anoob Joseph
Signed-off-by: Kiran Kumar K
Signed-off-by: Volodymyr Fialko
Acked-by: Akhil Goyal
---
lib/pdcp/rte_pdcp.h | 97
lib/pdcp/version.map | 3 ++
2 files cha
entity.
Signed-off-by: Anoob Joseph
Signed-off-by: Kiran Kumar K
Signed-off-by: Volodymyr Fialko
---
lib/pdcp/meson.build | 1 +
lib/pdcp/rte_pdcp.h | 6 ++
lib/pdcp/rte_pdcp_group.h | 131 ++
lib/pdcp/version.map | 3 +
4 files changed
Add routines to create & destroy sessions. PDCP lib would take
crypto transforms as input and creates the session on the corresponding
device after verifying capabilities.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
Acked-by: Akhil Goyal
---
lib/pdcp/pdcp_crypto.c |
per PDCP
specification).
Signed-off-by: Anoob Joseph
Signed-off-by: Kiran Kumar K
Signed-off-by: Volodymyr Fialko
Acked-by: Akhil Goyal
---
lib/pdcp/pdcp_entity.h | 24 +++
lib/pdcp/pdcp_process.c | 334
2 files changed, 358 insertions(+)
diff --git a
Add routines to perform pre & post processing for down link entities.
Signed-off-by: Anoob Joseph
Signed-off-by: Kiran Kumar K
Signed-off-by: Volodymyr Fialko
---
lib/pdcp/pdcp_entity.h | 2 +
lib/pdcp/pdcp_process.c | 383
lib/pdcp/pdcp_proce
For PDCP, IV generated has varying formats depending on the ciphering and
authentication algorithm used. Add routines to populate IV accordingly.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
lib/pdcp/pdcp_entity.h | 87
lib/pdcp/pdcp_process.c | 284
Add tests to verify lib PDCP operations. Tests leverage existing PDCP
test vectors.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
app/test/meson.build | 5 +
app/test/test_cryptodev.h | 3 +
app/test/test_pdcp.c | 732 ++
3
From: Volodymyr Fialko
Add tests to verify HFN/SN behaviour.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
app/test/test_pdcp.c | 302 ++-
1 file changed, 299 insertions(+), 3 deletions(-)
diff --git a/app/test/test_pdcp.c b/app/test
Add guide for PDCP library.
Signed-off-by: Anoob Joseph
Signed-off-by: Kiran Kumar K
Signed-off-by: Volodymyr Fialko
---
.../img/pdcp_functional_overview.svg | 1 +
doc/guides/prog_guide/index.rst | 1 +
doc/guides/prog_guide/pdcp_lib.rst| 254
Add control PDU handling and implement status report generation. Status
report generation works only when RX_DELIV = RX_NEXT.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
doc/guides/prog_guide/pdcp_lib.rst | 9 ++
lib/pdcp/meson.build | 2 ++
lib/pdcp
se packets would be held in the buffer, waiting for any
missing packets to arrive.
Introduce packet buffering and state variables which indicate status of
the timer.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
lib/pdcp/meson.build| 3 +-
lib/pdcp/pdcp_entity.h | 19 ++
From: Volodymyr Fialko
Add test cases to verify behaviour when in-order delivery is enabled and
packets arrive in out-of-order. PDCP library is expected to buffer the
packets and return packets in-order when the missing packet arrives.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr
when a missing packet
is received.
To avoid dependency on particular timer implementation, PDCP library
allows application to register two callbacks, timer_start() and
timer_stop() that will be called later by library.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
lib
notified, and
further handling of the event will be performed in the PDCP library.
When the timer expires, the PDCP library will return the cached packets,
and PDCP internal state variables (like RX_REORD, RX_DELIV etc) will be
updated accordingly.
Signed-off-by: Anoob Joseph
Signed-off-by
From: Volodymyr Fialko
Add test cases for handling the expiry with rte_timer and rte_event_timer.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
app/test/test_pdcp.c | 350 +++
1 file changed, 350 insertions(+)
diff --git a/app/test
From: Volodymyr Fialko
Add test to cover the case when t-reordering timer should be restarted on
the same packet.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
app/test/test_pdcp.c | 68
1 file changed, 68 insertions(+)
diff
From: Volodymyr Fialko
Implement status report generation for PDCP entity.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
lib/pdcp/pdcp_cnt.c | 158 ---
lib/pdcp/pdcp_cnt.h | 11 ++-
lib/pdcp/pdcp_ctrl_pdu.c | 34 -
lib
From: Volodymyr Fialko
Instead of allocating reorder buffer separately on heap, allocate memory
for it together with rest of entity, and then only initialize buffer via
`rte_reorder_init()`.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
lib/pdcp/pdcp_cnt.c | 9
requires thread safe processing, the state variables
need to be updated atomically. Add config option to select this option
per entity.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
lib/pdcp/meson.build| 2 +
lib/pdcp/pdcp_entity.h | 64 ++
lib/pdcp
From: Volodymyr Fialko
Test PDCP status report generation.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
app/test/test_pdcp.c | 312 +++
1 file changed, 312 insertions(+)
diff --git a/app/test/test_pdcp.c b/app/test/test_pdcp.c
index
Hi Stephen,
Please see inline.
Thanks,
Anoob
> -Original Message-
> From: Stephen Hemminger
> Sent: Saturday, May 27, 2023 3:42 AM
> To: Anoob Joseph
> Cc: Thomas Monjalon ; Akhil Goyal
> ; Jerin Jacob Kollanukkaran ;
> Konstantin Ananyev ; Volodymyr Fial
Hi Stephen,
I've dropped this patch for now. Based on what we conclude on this thread, will
post this as a separate patch as required.
Thanks,
Anoob
> -Original Message-
> From: Anoob Joseph
> Sent: Saturday, May 27, 2023 10:55 AM
> To: Stephen Hemminger
> Cc: Tho
From: Volodymyr Fialko
Add PDCP protocol header to be used for supporting PDCP protocol
processing.
Signed-off-by: Anoob Joseph
Signed-off-by: Kiran Kumar K
Signed-off-by: Volodymyr Fialko
Acked-by: Akhil Goyal
---
doc/api/doxy-api-index.md | 3 +-
lib/net/meson.build | 1 +
lib
entity.
Signed-off-by: Anoob Joseph
Signed-off-by: Kiran Kumar K
Signed-off-by: Volodymyr Fialko
---
lib/pdcp/meson.build | 1 +
lib/pdcp/rte_pdcp.h | 6 ++
lib/pdcp/rte_pdcp_group.h | 131 ++
lib/pdcp/version.map | 3 +
4 files changed
Add routines to create & destroy sessions. PDCP lib would take
crypto transforms as input and creates the session on the corresponding
device after verifying capabilities.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
Acked-by: Akhil Goyal
---
lib/pdcp/pdcp_crypto.c |
Add tests to verify lib PDCP operations. Tests leverage existing PDCP
test vectors.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
MAINTAINERS | 1 +
app/test/meson.build | 5 +
app/test/test_pdcp.c | 732 +++
3 files
Add guide for PDCP library.
Signed-off-by: Anoob Joseph
Signed-off-by: Kiran Kumar K
Signed-off-by: Volodymyr Fialko
---
MAINTAINERS | 1 +
.../img/pdcp_functional_overview.svg | 1 +
doc/guides/prog_guide/index.rst | 1 +
doc
se packets would be held in the buffer, waiting for any
missing packets to arrive.
Introduce packet buffering and state variables which indicate status of
the timer.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
lib/pdcp/meson.build| 3 +-
lib/pdcp/pdcp_entity.h | 19 ++
b Testsuites Passed : 5
+ Sub Testsuites Failed : 0
+ --- +
+ Tests Total : 179
+ Tests Skipped : 0
+ Tests Executed :179
+ Tests Unsupported: 48
+ Tests Passed : 131
+ Tests Failed : 0
+ --- +
Test OK
Anoob Jo
For PDCP, IV generated has varying formats depending on the ciphering and
authentication algorithm used. Add routines to populate IV accordingly.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
lib/pdcp/pdcp_entity.h | 87
lib/pdcp/pdcp_process.c | 284
lows skipping multiple checks that would
come in datapath otherwise.
Signed-off-by: Anoob Joseph
Signed-off-by: Kiran Kumar K
Signed-off-by: Volodymyr Fialko
Acked-by: Akhil Goyal
---
lib/pdcp/rte_pdcp.h | 97
lib/pdcp/version.map | 3 ++
2 files cha
Add control PDU handling and implement status report generation. Status
report generation works only when RX_DELIV = RX_NEXT.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
doc/guides/prog_guide/pdcp_lib.rst | 9 ++
lib/pdcp/meson.build | 2 ++
lib/pdcp
per PDCP
specification).
Signed-off-by: Anoob Joseph
Signed-off-by: Kiran Kumar K
Signed-off-by: Volodymyr Fialko
Acked-by: Akhil Goyal
---
lib/pdcp/pdcp_entity.h | 24 +++
lib/pdcp/pdcp_process.c | 334
2 files changed, 358 insertions(+)
diff --git a
. Uplink data compression
5. Ciphering and integrity protection
PDCP library provides following control path APIs that is used to
configure various PDCP entities,
1. rte_pdcp_entity_establish()
2. rte_pdcp_entity_suspend()
3. rte_pdcp_entity_release()
Signed-off-by: Anoob Joseph
Signed-off-by: Kiran
From: Volodymyr Fialko
Add tests to verify HFN/SN behaviour.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
app/test/test_pdcp.c | 302 ++-
1 file changed, 299 insertions(+), 3 deletions(-)
diff --git a/app/test/test_pdcp.c b/app/test
Add routines to perform pre & post processing for down link entities.
Signed-off-by: Anoob Joseph
Signed-off-by: Kiran Kumar K
Signed-off-by: Volodymyr Fialko
---
lib/pdcp/pdcp_entity.h | 2 +
lib/pdcp/pdcp_process.c | 384
lib/pdcp/pdcp_proce
. Uplink data compression
5. Ciphering and integrity protection
PDCP library provides following control path APIs that is used to
configure various PDCP entities,
1. rte_pdcp_entity_establish()
2. rte_pdcp_entity_suspend()
3. rte_pdcp_entity_release()
Signed-off-by: Anoob Joseph
Signed-off-by: Kiran
From: Volodymyr Fialko
Add test to cover the case when t-reordering timer should be restarted on
the same packet.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
app/test/test_pdcp.c | 68
1 file changed, 68 insertions(+)
diff
From: Volodymyr Fialko
Add tests to verify HFN/SN behaviour.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
app/test/test_pdcp.c | 302 ++-
1 file changed, 299 insertions(+), 3 deletions(-)
diff --git a/app/test/test_pdcp.c b/app/test
From: Volodymyr Fialko
Instead of allocating reorder buffer separately on heap, allocate memory
for it together with rest of entity, and then only initialize buffer via
`rte_reorder_init()`.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
lib/pdcp/pdcp_cnt.c | 9
For PDCP, IV generated has varying formats depending on the ciphering and
authentication algorithm used. Add routines to populate IV accordingly.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
lib/pdcp/pdcp_entity.h | 87
lib/pdcp/pdcp_process.c | 284
Add guide for PDCP library.
Signed-off-by: Anoob Joseph
Signed-off-by: Kiran Kumar K
Signed-off-by: Volodymyr Fialko
---
MAINTAINERS | 1 +
.../img/pdcp_functional_overview.svg | 1 +
doc/guides/prog_guide/index.rst | 1 +
doc
From: Volodymyr Fialko
Add PDCP protocol header to be used for supporting PDCP protocol
processing.
Signed-off-by: Anoob Joseph
Signed-off-by: Kiran Kumar K
Signed-off-by: Volodymyr Fialko
Acked-by: Akhil Goyal
---
doc/api/doxy-api-index.md | 3 +-
lib/net/meson.build | 1 +
lib
From: Volodymyr Fialko
Add test cases for handling the expiry with rte_timer and rte_event_timer.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
app/test/test_pdcp.c | 350 +++
1 file changed, 350 insertions(+)
diff --git a/app/test
From: Volodymyr Fialko
Add test cases to verify behaviour when in-order delivery is enabled and
packets arrive in out-of-order. PDCP library is expected to buffer the
packets and return packets in-order when the missing packet arrives.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr
notified, and
further handling of the event will be performed in the PDCP library.
When the timer expires, the PDCP library will return the cached packets,
and PDCP internal state variables (like RX_REORD, RX_DELIV etc) will be
updated accordingly.
Signed-off-by: Anoob Joseph
Signed-off-by
entity.
Signed-off-by: Anoob Joseph
Signed-off-by: Kiran Kumar K
Signed-off-by: Volodymyr Fialko
---
lib/pdcp/meson.build | 1 +
lib/pdcp/rte_pdcp.h | 6 ++
lib/pdcp/rte_pdcp_group.h | 131 ++
lib/pdcp/version.map | 3 +
4 files changed
notified, and
further handling of the event will be performed in the PDCP library.
When the timer expires, the PDCP library will return the cached packets,
and PDCP internal state variables (like RX_REORD, RX_DELIV etc) will be
updated accordingly.
Signed-off-by: Anoob Joseph
Signed-off-by
Add routines to create & destroy sessions. PDCP lib would take
crypto transforms as input and creates the session on the corresponding
device after verifying capabilities.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
Acked-by: Akhil Goyal
---
lib/pdcp/pdcp_crypto.c |
when a missing packet
is received.
To avoid dependency on particular timer implementation, PDCP library
allows application to register two callbacks, timer_start() and
timer_stop() that will be called later by library.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
lib
Add control PDU handling and implement status report generation. Status
report generation works only when RX_DELIV = RX_NEXT.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
doc/guides/prog_guide/pdcp_lib.rst | 9 ++
lib/pdcp/meson.build | 2 ++
lib/pdcp
Add routines to perform pre & post processing for down link entities.
Signed-off-by: Anoob Joseph
Signed-off-by: Kiran Kumar K
Signed-off-by: Volodymyr Fialko
---
lib/pdcp/pdcp_entity.h | 2 +
lib/pdcp/pdcp_process.c | 384
lib/pdcp/pdcp_proce
b Testsuites Passed : 5
+ Sub Testsuites Failed : 0
+ --- +
+ Tests Total : 179
+ Tests Skipped : 0
+ Tests Executed :179
+ Tests Unsupported: 48
+ Tests Passed : 131
+ Tests Failed : 0
+ --- +
Test OK
Anoob Jo
lows skipping multiple checks that would
come in datapath otherwise.
Signed-off-by: Anoob Joseph
Signed-off-by: Kiran Kumar K
Signed-off-by: Volodymyr Fialko
Acked-by: Akhil Goyal
---
lib/pdcp/rte_pdcp.h | 97
lib/pdcp/version.map | 3 ++
2 files cha
From: Volodymyr Fialko
Add test cases to verify behaviour when in-order delivery is enabled and
packets arrive in out-of-order. PDCP library is expected to buffer the
packets and return packets in-order when the missing packet arrives.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr
From: Volodymyr Fialko
Instead of allocating reorder buffer separately on heap, allocate memory
for it together with rest of entity, and then only initialize buffer via
`rte_reorder_init()`.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
lib/pdcp/pdcp_cnt.c | 9
Add tests to verify lib PDCP operations. Tests leverage existing PDCP
test vectors.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
MAINTAINERS | 1 +
app/test/meson.build | 5 +
app/test/test_pdcp.c | 732 +++
3 files
From: Volodymyr Fialko
Implement status report generation for PDCP entity.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
lib/pdcp/pdcp_cnt.c | 158 ---
lib/pdcp/pdcp_cnt.h | 11 ++-
lib/pdcp/pdcp_ctrl_pdu.c | 34 -
lib
when a missing packet
is received.
To avoid dependency on particular timer implementation, PDCP library
allows application to register two callbacks, timer_start() and
timer_stop() that will be called later by library.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
lib
From: Volodymyr Fialko
Test PDCP status report generation.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
app/test/test_pdcp.c | 312 +++
1 file changed, 312 insertions(+)
diff --git a/app/test/test_pdcp.c b/app/test/test_pdcp.c
index
per PDCP
specification).
Signed-off-by: Anoob Joseph
Signed-off-by: Kiran Kumar K
Signed-off-by: Volodymyr Fialko
Acked-by: Akhil Goyal
---
lib/pdcp/pdcp_entity.h | 24 +++
lib/pdcp/pdcp_process.c | 334
2 files changed, 358 insertions(+)
diff --git a
From: Volodymyr Fialko
Add test cases for handling the expiry with rte_timer and rte_event_timer.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
app/test/test_pdcp.c | 350 +++
1 file changed, 350 insertions(+)
diff --git a/app/test
From: Volodymyr Fialko
Implement status report generation for PDCP entity.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
lib/pdcp/pdcp_cnt.c | 158 ---
lib/pdcp/pdcp_cnt.h | 11 ++-
lib/pdcp/pdcp_ctrl_pdu.c | 34 -
lib
se packets would be held in the buffer, waiting for any
missing packets to arrive.
Introduce packet buffering and state variables which indicate status of
the timer.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
lib/pdcp/meson.build| 3 +-
lib/pdcp/pdcp_entity.h | 19 ++
From: Volodymyr Fialko
Add test to cover the case when t-reordering timer should be restarted on
the same packet.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
app/test/test_pdcp.c | 68
1 file changed, 68 insertions(+)
diff
From: Volodymyr Fialko
Test PDCP status report generation.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
app/test/test_pdcp.c | 312 +++
1 file changed, 312 insertions(+)
diff --git a/app/test/test_pdcp.c b/app/test/test_pdcp.c
index
-- +
Test OK
Anoob Joseph (10):
lib: add pdcp protocol
pdcp: add pre and post-process
pdcp: add packet group
pdcp: add crypto session create and destroy
pdcp: add pre and post process for UL
pdcp: add pre and post process for DL
pdcp: add
From: Volodymyr Fialko
Add PDCP protocol header to be used for supporting PDCP protocol
processing.
Signed-off-by: Anoob Joseph
Signed-off-by: Kiran Kumar K
Signed-off-by: Volodymyr Fialko
Acked-by: Akhil Goyal
---
doc/api/doxy-api-index.md | 3 +-
lib/net/meson.build | 1 +
lib
. Uplink data compression
5. Ciphering and integrity protection
PDCP library provides following control path APIs that is used to
configure various PDCP entities,
1. rte_pdcp_entity_establish()
2. rte_pdcp_entity_suspend()
3. rte_pdcp_entity_release()
Signed-off-by: Anoob Joseph
Signed-off-by: Kiran
lows skipping multiple checks that would
come in datapath otherwise.
Signed-off-by: Anoob Joseph
Signed-off-by: Kiran Kumar K
Signed-off-by: Volodymyr Fialko
Acked-by: Akhil Goyal
---
lib/pdcp/rte_pdcp.h | 96
lib/pdcp/version.map | 3 ++
2 files cha
entity.
Signed-off-by: Anoob Joseph
Signed-off-by: Kiran Kumar K
Signed-off-by: Volodymyr Fialko
---
lib/pdcp/meson.build | 1 +
lib/pdcp/rte_pdcp.h | 6 ++
lib/pdcp/rte_pdcp_group.h | 131 ++
lib/pdcp/version.map | 3 +
4 files changed
Add routines to create & destroy sessions. PDCP lib would take
crypto transforms as input and creates the session on the corresponding
device after verifying capabilities.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
Acked-by: Akhil Goyal
---
lib/pdcp/pdcp_crypto.c |
per PDCP
specification).
Signed-off-by: Anoob Joseph
Signed-off-by: Kiran Kumar K
Signed-off-by: Volodymyr Fialko
Acked-by: Akhil Goyal
---
lib/pdcp/pdcp_entity.h | 24 +++
lib/pdcp/pdcp_process.c | 334
2 files changed, 358 insertions(+)
diff --git a
Add routines to perform pre & post processing for down link entities.
Signed-off-by: Anoob Joseph
Signed-off-by: Kiran Kumar K
Signed-off-by: Volodymyr Fialko
---
lib/pdcp/pdcp_entity.h | 2 +
lib/pdcp/pdcp_process.c | 384
lib/pdcp/pdcp_proce
For PDCP, IV generated has varying formats depending on the ciphering and
authentication algorithm used. Add routines to populate IV accordingly.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
lib/pdcp/pdcp_entity.h | 87
lib/pdcp/pdcp_process.c | 284
Add tests to verify lib PDCP operations. Tests leverage existing PDCP
test vectors.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
MAINTAINERS | 1 +
app/test/meson.build | 5 +
app/test/test_pdcp.c | 732 +++
3 files
From: Volodymyr Fialko
Add tests to verify HFN/SN behaviour.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
app/test/test_pdcp.c | 302 ++-
1 file changed, 299 insertions(+), 3 deletions(-)
diff --git a/app/test/test_pdcp.c b/app/test
Add guide for PDCP library.
Signed-off-by: Anoob Joseph
Signed-off-by: Kiran Kumar K
Signed-off-by: Volodymyr Fialko
---
MAINTAINERS | 1 +
.../img/pdcp_functional_overview.svg | 1 +
doc/guides/prog_guide/index.rst | 1 +
doc
Add control PDU handling and implement status report generation. Status
report generation works only when RX_DELIV = RX_NEXT.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
doc/guides/prog_guide/pdcp_lib.rst | 9 ++
lib/pdcp/meson.build | 2 ++
lib/pdcp
se packets would be held in the buffer, waiting for any
missing packets to arrive.
Introduce packet buffering and state variables which indicate status of
the timer.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
lib/pdcp/meson.build| 3 +-
lib/pdcp/pdcp_entity.h | 19 ++
From: Volodymyr Fialko
Add test cases to verify behaviour when in-order delivery is enabled and
packets arrive in out-of-order. PDCP library is expected to buffer the
packets and return packets in-order when the missing packet arrives.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr
when a missing packet
is received.
To avoid dependency on particular timer implementation, PDCP library
allows application to register two callbacks, timer_start() and
timer_stop() that will be called later by library.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
lib
notified, and
further handling of the event will be performed in the PDCP library.
When the timer expires, the PDCP library will return the cached packets,
and PDCP internal state variables (like RX_REORD, RX_DELIV etc) will be
updated accordingly.
Signed-off-by: Anoob Joseph
Signed-off-by
From: Volodymyr Fialko
Add test cases for handling the expiry with rte_timer and rte_event_timer.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
app/test/test_pdcp.c | 350 +++
1 file changed, 350 insertions(+)
diff --git a/app/test
From: Volodymyr Fialko
Implement status report generation for PDCP entity.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
lib/pdcp/pdcp_cnt.c | 158 ---
lib/pdcp/pdcp_cnt.h | 11 ++-
lib/pdcp/pdcp_ctrl_pdu.c | 34 -
lib
From: Volodymyr Fialko
Add test to cover the case when t-reordering timer should be restarted on
the same packet.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
app/test/test_pdcp.c | 68
1 file changed, 68 insertions(+)
diff
From: Volodymyr Fialko
Instead of allocating reorder buffer separately on heap, allocate memory
for it together with rest of entity, and then only initialize buffer via
`rte_reorder_init()`.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
lib/pdcp/pdcp_cnt.c | 9
From: Volodymyr Fialko
Test PDCP status report generation.
Signed-off-by: Anoob Joseph
Signed-off-by: Volodymyr Fialko
---
app/test/test_pdcp.c | 312 +++
1 file changed, 312 insertions(+)
diff --git a/app/test/test_pdcp.c b/app/test/test_pdcp.c
index
Hi Radu,
Using same session across multiple devices would only work if the device
instances are same. For example, if you use QAT device 0 & QAT device 1, then
the sharing is okay. But if we have QAT and some SW crypto PMD, then the same
session will not work. Is it possible to throw a warning
Hi Radu,
Thanks for making the changes. I've one more question. Please see inline.
Thanks,
Anoob
> -Original Message-
> From: Radu Nicolau
> Sent: Monday, February 26, 2024 3:56 PM
> To: dev@dpdk.org
> Cc: Anoob Joseph ; Radu Nicolau
> ; sta...@dpdk.org; Volody
Hi Radu,
Please see inline.
Thanks,
Anoob
> -Original Message-
> From: Radu Nicolau
> Sent: Tuesday, February 27, 2024 3:41 PM
> To: Anoob Joseph
> Cc: sta...@dpdk.org; Volodymyr Fialko ; Ting-Kai Ku
> ; Ciara Power ; Kai Ji
> ; Akhil Goyal ; dev@dpdk.org
> S
igned-off-by: Radu Nicolau
> Tested-by: Ting-Kai Ku
> Acked-by: Ciara Power
> Acked-by: Kai Ji
Acked-by: Anoob Joseph
>
> Added support for latency and throughput measurement of TLS and DTLS
> security ops.
>
> Signed-off-by: Akhil Goyal
Acked-by: Anoob Joseph
c-secgw: update eth header during route
lookup")
Signed-off-by: Anoob Joseph
---
examples/ipsec-secgw/ipsec-secgw.c | 5 ++---
examples/ipsec-secgw/ipsec_worker.h | 4 ++--
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/examples/ipsec-secgw/ipsec-secgw.c
b/example
Instead of freeing directly, use commonly used function which also
updates stats.
Signed-off-by: Anoob Joseph
---
examples/ipsec-secgw/ipsec_process.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/ipsec-secgw/ipsec_process.c
b/examples/ipsec-secgw/ipsec_process.c
401 - 500 of 1921 matches
Mail list logo