| 68c05095 | 16-May-2022 |
Shijith Thotton <[email protected]> |
event/cnxk: flush event queues over multiple pass
If an event queue flush does not complete after a fixed number of tries, remaining queues are flushed before retrying the one with incomplete flush.
event/cnxk: flush event queues over multiple pass
If an event queue flush does not complete after a fixed number of tries, remaining queues are flushed before retrying the one with incomplete flush.
Signed-off-by: Shijith Thotton <[email protected]>
show more ...
|
| 7da7925f | 16-May-2022 |
Shijith Thotton <[email protected]> |
event/cnxk: support setting queue attributes at runtime
Added API to set queue attributes at runtime and API to get weight and affinity.
Signed-off-by: Shijith Thotton <[email protected]> Acked-
event/cnxk: support setting queue attributes at runtime
Added API to set queue attributes at runtime and API to get weight and affinity.
Signed-off-by: Shijith Thotton <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| e8594de2 | 13-May-2022 |
Pavan Nikhilesh <[email protected]> |
event/cnxk: implement event port quiesce function
Implement event port quiesce function to clean up any lcore resources used.
Signed-off-by: Pavan Nikhilesh <[email protected]> |
| c0a9774f | 27-Apr-2022 |
Pavan Nikhilesh <[email protected]> |
event/cnxk: move post-processing to separate function
Move event post-processing to a separate function. Do complete event post-processing in tear-down functions to prevent incorrect memory free.
S
event/cnxk: move post-processing to separate function
Move event post-processing to a separate function. Do complete event post-processing in tear-down functions to prevent incorrect memory free.
Signed-off-by: Pavan Nikhilesh <[email protected]>
show more ...
|
| c8b1008d | 27-Apr-2022 |
Pavan Nikhilesh <[email protected]> |
event/cnxk: add checks in release operation
Add additional checks while performing RTE_EVENT_OP_RELEASE to ensure that there are no pending SWTAGs and FLUSHEs in flight.
Signed-off-by: Pavan Nikhil
event/cnxk: add checks in release operation
Add additional checks while performing RTE_EVENT_OP_RELEASE to ensure that there are no pending SWTAGs and FLUSHEs in flight.
Signed-off-by: Pavan Nikhilesh <[email protected]>
show more ...
|
| 2f5b0c48 | 24-Apr-2022 |
Gowrishankar Muthukrishnan <[email protected]> |
event/cnxk: fix out of bounds access in test
Fix out of bounds array access reported in coverity scan.
Coverity issue: 375817 Fixes: 2351506401e ("event/cnxk: add SSO selftest and dump") Cc: stable
event/cnxk: fix out of bounds access in test
Fix out of bounds array access reported in coverity scan.
Coverity issue: 375817 Fixes: 2351506401e ("event/cnxk: add SSO selftest and dump") Cc: [email protected]
Signed-off-by: Gowrishankar Muthukrishnan <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 86fe66d4 | 09-Apr-2022 |
Timothy McDaniel <[email protected]> |
event/dlb2: allow CQ depths up to 1024
Updated to allow overriding the default CQ depth of 32. Since there are only 2048 DLB history list entries, increasing the CQ depth decreases the number of av
event/dlb2: allow CQ depths up to 1024
Updated to allow overriding the default CQ depth of 32. Since there are only 2048 DLB history list entries, increasing the CQ depth decreases the number of available LDB ports to 2048/max_cq_depth. Resource query will take this into account and return the correct maximum number of LDB ports.
Signed-off-by: Timothy McDaniel <[email protected]>
show more ...
|
| 80bb303d | 25-Mar-2022 |
Volodymyr Fialko <[email protected]> |
event/cnxk: fix base pointer for SSO head wait
Function roc_sso_hws_head_wait() expects a base as input pointer, and it will itself get tag_op from the base. By passing tag_op instead of base pointe
event/cnxk: fix base pointer for SSO head wait
Function roc_sso_hws_head_wait() expects a base as input pointer, and it will itself get tag_op from the base. By passing tag_op instead of base pointer to this function will add SSOW_LF_GWS_TAG register offset twice, which will lead to accessing wrong register.
Fixes: 1f5b3d55c041 ("event/cnxk: store and reuse workslot status") Cc: [email protected]
Signed-off-by: Volodymyr Fialko <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 8eb6881c | 02-Mar-2022 |
Timothy McDaniel <[email protected]> |
event/dlb2: add shift value check in sparse dequeue
Add a check to ensure that all shift counts are valid. Shifting by more than 63 bits may result in undefined behavior, as noted during coverity sc
event/dlb2: add shift value check in sparse dequeue
Add a check to ensure that all shift counts are valid. Shifting by more than 63 bits may result in undefined behavior, as noted during coverity scan.
Coverity issue: 376527 Fixes: e697f35dbdd1 ("event/dlb2: update rolling mask used for dequeue") Cc: [email protected]
Signed-off-by: Timothy McDaniel <[email protected]>
show more ...
|
| fc39f625 | 01-Mar-2022 |
Pavan Nikhilesh <[email protected]> |
event/cnxk: fix Rx adapter config check
The rx_queue_flags should be checked against RTE_EVENT_ETH_RX_ADAPTER_QUEUE_FLOW_ID_VALID flag.
Fixes: cb4bfd6e7bdf ("event/cnxk: support Rx adapter") Cc: st
event/cnxk: fix Rx adapter config check
The rx_queue_flags should be checked against RTE_EVENT_ETH_RX_ADAPTER_QUEUE_FLOW_ID_VALID flag.
Fixes: cb4bfd6e7bdf ("event/cnxk: support Rx adapter") Cc: [email protected]
Signed-off-by: Pavan Nikhilesh <[email protected]>
show more ...
|
| b4766203 | 01-Mar-2022 |
Pavan Nikhilesh <[email protected]> |
event/cnxk: fix sub-event clearing mask length
Fix incorrect mask used when clearing subevent type masking out useful data.
Fixes: e239e0d3faf7 ("event/cnxk: add SSO HW device operations") Cc: stab
event/cnxk: fix sub-event clearing mask length
Fix incorrect mask used when clearing subevent type masking out useful data.
Fixes: e239e0d3faf7 ("event/cnxk: add SSO HW device operations") Cc: [email protected]
Signed-off-by: Pavan Nikhilesh <[email protected]>
show more ...
|
| 9d127f44 | 25-Feb-2022 |
Vamsi Attunuru <[email protected]> |
net/cnxk: make inline inbound device usage as default
Currently inline inbound device usage is not default for eventdev, patch renames force_inl_dev dev arg to no_inl_dev and enables inline inbound
net/cnxk: make inline inbound device usage as default
Currently inline inbound device usage is not default for eventdev, patch renames force_inl_dev dev arg to no_inl_dev and enables inline inbound device by default.
Signed-off-by: Vamsi Attunuru <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 50e2c7fd | 25-Feb-2022 |
Satha Rao <[email protected]> |
net/cnxk: enable packet marking callbacks
cnxk platform supports red/yellow packet marking based on TM configuration. This patch set hooks to enable/disable packet marking for VLAN DEI, IP DSCP and
net/cnxk: enable packet marking callbacks
cnxk platform supports red/yellow packet marking based on TM configuration. This patch set hooks to enable/disable packet marking for VLAN DEI, IP DSCP and IP ECN. Marking enabled only in scalar mode.
Signed-off-by: Satha Rao <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| c062f572 | 24-Feb-2022 |
Vidya Sagar Velumuri <[email protected]> |
net/cnxk: support IP reassembly
Added capability and support for inline inbound IP reassembly in cnxk driver. The IP reassembly offload is supported only when the inline IPSec security offload is en
net/cnxk: support IP reassembly
Added capability and support for inline inbound IP reassembly in cnxk driver. The IP reassembly offload is supported only when the inline IPSec security offload is enabled.
In case of IP reassembly incomplete, the mbufs are attached in the mbuf dynamic field and a dynamic flag is set accordingly.
Signed-off-by: Vidya Sagar Velumuri <[email protected]> Signed-off-by: Akhil Goyal <[email protected]> Signed-off-by: Nithin Dabilpuram <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 592642c4 | 24-Feb-2022 |
Pavan Nikhilesh <[email protected]> |
net/cnxk: align prefetches to CN10K cache model
Align prefetches for CN10K cache model for vWQE in Rx and Tx. Move mbuf->next NULL assignment to Tx path and enabled it only when multi segments offlo
net/cnxk: align prefetches to CN10K cache model
Align prefetches for CN10K cache model for vWQE in Rx and Tx. Move mbuf->next NULL assignment to Tx path and enabled it only when multi segments offload is enabled to reduce L1 pressure. Add macros to detect corrupted mbuf->next values when MEMPOOL_DEBUG is set.
Signed-off-by: Pavan Nikhilesh <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 68c48ab3 | 24-Feb-2022 |
Rakesh Kudurumalla <[email protected]> |
net/cnxk: add SoC specific PTP timestamp read
Timestamp resolution for an incoming and outgoing packets is different for CN10k and CN9K. Added SoC specific callback to retrieve timestamp in correct
net/cnxk: add SoC specific PTP timestamp read
Timestamp resolution for an incoming and outgoing packets is different for CN10k and CN9K. Added SoC specific callback to retrieve timestamp in correct format when read by application.
Signed-off-by: Rakesh Kudurumalla <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 7a709964 | 22-Feb-2022 |
Nithin Dabilpuram <[email protected]> |
net/cnxk: use NPA batch burst free for meta buffers
Currently meta buffers are freed in bursts of one LMT line i.e 15 pointers. Instead free them in bursts of 16 LMTlines which is 240 ptrs for bette
net/cnxk: use NPA batch burst free for meta buffers
Currently meta buffers are freed in bursts of one LMT line i.e 15 pointers. Instead free them in bursts of 16 LMTlines which is 240 ptrs for better perf.
Also mark mempool objects as get and put in missing places.
Signed-off-by: Nithin Dabilpuram <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 4e00823d | 19-Jan-2022 |
Rahul Bhansali <[email protected]> |
net/cnxk: fix mbuf data length
If multi-segment is enabled and single segment/packet is received, then mbuf data_len is not updated in cn9k_nix_cqe_to_mbuf() function. Also, in case of timestamp is
net/cnxk: fix mbuf data length
If multi-segment is enabled and single segment/packet is received, then mbuf data_len is not updated in cn9k_nix_cqe_to_mbuf() function. Also, in case of timestamp is enabled, mbuf data_len and pkt_len will be updated for all packets including multi segmented packets.
Fixes: 7c6bee34064f ("net/cnxk: enable PTP processing in vector Rx") Cc: [email protected]
Signed-off-by: Rahul Bhansali <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 99f79410 | 19-Feb-2022 |
Pavan Nikhilesh <[email protected]> |
event/cnxk: update SQB FC check for Tx adapter
Update SQB limit to include CPT queue size when Security offload is enabled.
Signed-off-by: Pavan Nikhilesh <[email protected]> |
| 54232820 | 19-Feb-2022 |
Pavan Nikhilesh <[email protected]> |
event/cnxk: remove deschedule usage in CN9K
Using deschedule cmd might incorrectly ignore updates to WQE, GGRP on CN9K. Use addwork to pipeline work instead.
Signed-off-by: Pavan Nikhilesh <pbhagav
event/cnxk: remove deschedule usage in CN9K
Using deschedule cmd might incorrectly ignore updates to WQE, GGRP on CN9K. Use addwork to pipeline work instead.
Signed-off-by: Pavan Nikhilesh <[email protected]>
show more ...
|
| de3f033e | 12-Feb-2022 |
Gowrishankar Muthukrishnan <[email protected]> |
event/cnxk: fix uninitialized local variables
Fix uninitialized local variable as reported in coverity scan.
Coverity issue: 370578, 370579, 370587 Fixes: 300b796262a ("event/cnxk: add timer arm ro
event/cnxk: fix uninitialized local variables
Fix uninitialized local variable as reported in coverity scan.
Coverity issue: 370578, 370579, 370587 Fixes: 300b796262a ("event/cnxk: add timer arm routine") Cc: [email protected]
Signed-off-by: Gowrishankar Muthukrishnan <[email protected]>
show more ...
|
| 315d14d7 | 12-Feb-2022 |
Gowrishankar Muthukrishnan <[email protected]> |
event/cnxk: fix memory leaks
Fix memory leaks reported by coverity scan in cnxk_tim_parse_clk_list() and cnxk_tim_parse_ring_ctl_list() functions on not freeing strduped memory.
Coverity issue: 37
event/cnxk: fix memory leaks
Fix memory leaks reported by coverity scan in cnxk_tim_parse_clk_list() and cnxk_tim_parse_ring_ctl_list() functions on not freeing strduped memory.
Coverity issue: 374990 374991 Fixes: 8a3d58c189f ("event/cnxk: add option to control timer adapters") Cc: [email protected]
Signed-off-by: Gowrishankar Muthukrishnan <[email protected]>
show more ...
|
| 89485152 | 12-Feb-2022 |
Gowrishankar Muthukrishnan <[email protected]> |
event/cnxk: fix variables casting
Fix incompatible casting on variables reported by coverity scan.
Coverity issue: 370582 370584 Fixes: 6223ede2036 ("event/cnxk: add event port link and unlink") Cc
event/cnxk: fix variables casting
Fix incompatible casting on variables reported by coverity scan.
Coverity issue: 370582 370584 Fixes: 6223ede2036 ("event/cnxk: add event port link and unlink") Cc: [email protected]
Signed-off-by: Gowrishankar Muthukrishnan <[email protected]>
show more ...
|
| f6ed136a | 16-Feb-2022 |
Timothy McDaniel <[email protected]> |
event/dlb2: poll HW CQ inflights before mapping queue
When attempting to link a port and queue immediately after unlinking, the CQ inflights may not all be processed. Poll the h/w register for outst
event/dlb2: poll HW CQ inflights before mapping queue
When attempting to link a port and queue immediately after unlinking, the CQ inflights may not all be processed. Poll the h/w register for outstanding inflights instead of reading once, in case the inflights are still being processed. Also return EBUSY if the inflight processing is not completed in a suitable amount of time.
Fixes: 1857f1922ce2 ("event/dlb2: use new implementation of resource file") Cc: [email protected]
Signed-off-by: Timothy McDaniel <[email protected]>
show more ...
|
| e697f35d | 16-Feb-2022 |
Timothy McDaniel <[email protected]> |
event/dlb2: update rolling mask used for dequeue
Update the rolling mask used in dequeue operations to fix the vector optimized dequeue.
Fixes: 000a7b8e7582 ("event/dlb2: optimize dequeue operation
event/dlb2: update rolling mask used for dequeue
Update the rolling mask used in dequeue operations to fix the vector optimized dequeue.
Fixes: 000a7b8e7582 ("event/dlb2: optimize dequeue operation") Cc: [email protected]
Signed-off-by: Timothy McDaniel <[email protected]>
show more ...
|