| e7750639 | 10-Jan-2025 |
Andre Muezerie <andremue@linux.microsoft.com> |
drivers: replace packed attributes
MSVC struct packing is not compatible with GCC. Replace macro __rte_packed with __rte_packed_begin to push existing pack value and set packing to 1-byte and macro
drivers: replace packed attributes
MSVC struct packing is not compatible with GCC. Replace macro __rte_packed with __rte_packed_begin to push existing pack value and set packing to 1-byte and macro __rte_packed_end to restore the pack value prior to the push.
Macro __rte_packed_end is deliberately utilized to trigger a MSVC compiler warning if no existing packing has been pushed allowing easy identification of locations where the __rte_packed_begin is missing.
Signed-off-by: Andre Muezerie <andremue@linux.microsoft.com> Reviewed-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
show more ...
|
| fd51012d | 11-Dec-2024 |
Andre Muezerie <andremue@linux.microsoft.com> |
drivers: use portable variadic macros
Many places are using a GCC extension related to variadic macros, where a name prepends the ellipsis. This results in a warning like the one below when compilin
drivers: use portable variadic macros
Many places are using a GCC extension related to variadic macros, where a name prepends the ellipsis. This results in a warning like the one below when compiling the code with MSVC:
app\test-pmd\testpmd.h(1314): error C2608: invalid token '...' in macro parameter list
Variadic macros became a standard part of the C language with C99. GCC, Clang and MSVC handle them properly.
The fix is to remove the prefix name (args... becomes ...) and use __VA_ARGS__.
Signed-off-by: Andre Muezerie <andremue@linux.microsoft.com> Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
show more ...
|
| 49a841e1 | 04-Nov-2024 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
event/cnxk: fix CN9K template macros
Fix incorrect template macros used for dual workslot functions.
Fixes: a83fc0f4e118 ("event/cnxk: remove single event enqueue and dequeue")
Signed-off-by: Pava
event/cnxk: fix CN9K template macros
Fix incorrect template macros used for dual workslot functions.
Fixes: a83fc0f4e118 ("event/cnxk: remove single event enqueue and dequeue")
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
show more ...
|
| 822d4ef5 | 28-Oct-2024 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
event/cnxk: add CN20K timer adapter
Add event timer adapter support for CN20K platform. Implement new HWWQE insertion feature supported by CN20K platform.
Signed-off-by: Pavan Nikhilesh <pbhagavatu
event/cnxk: add CN20K timer adapter
Add event timer adapter support for CN20K platform. Implement new HWWQE insertion feature supported by CN20K platform.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
show more ...
|
| f3c7b607 | 28-Oct-2024 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
common/cnxk: update timer base support
Update event timer base code to support configuring HW accelerated timer arm and cancel.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> |
| b775abdd | 28-Oct-2024 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
event/cnxk: support CN20K Rx/Tx event vector
Add Event vector support for CN20K Rx/Tx adapter.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> |
| 54101f84 | 28-Oct-2024 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
event/cnxk: support CN20K Tx adapter fast path
Add support for event eth Tx adapter fastpath operations.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> |
| 2dab3000 | 28-Oct-2024 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
event/cnxk: support CN20K Tx adapter
Add support for event eth Tx adapter.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> |
| d8f53c18 | 28-Oct-2024 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
event/cnxk: support CN20K Rx adapter fast path
Add support for event eth Rx adapter fastpath operations.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> |
| 7c011b02 | 28-Oct-2024 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
event/cnxk: support CN20K Rx adapter
Add support for CN20K event eth Rx adapter.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> |
| 6305afee | 28-Oct-2024 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
event/cnxk: add CN20K xstats and self test
Add selftest to verify SSO, xstats to get queue specific stats and add function to dump internal state of SSO.
Signed-off-by: Pavan Nikhilesh <pbhagavatul
event/cnxk: add CN20K xstats and self test
Add selftest to verify SSO, xstats to get queue specific stats and add function to dump internal state of SSO.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
show more ...
|
| a0fae00a | 28-Oct-2024 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
event/cnxk: add CN20K device stop and close
Add event device stop and close callback functions.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> |
| 97b495c9 | 28-Oct-2024 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
event/cnxk: add CN20K device start
Add CN20K start function along with few cleanup API's to maintain sanity.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> |
| 1e2d9b3d | 28-Oct-2024 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
event/cnxk: add CN20K event port preschedule
Add CN20K event port preschedule modify and preschedule functions.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> |
| 33da486c | 28-Oct-2024 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
event/cnxk: add CN20K event port profile switch
Add CN20K event port profile switch.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> |
| 638fe881 | 28-Oct-2024 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
event/cnxk: add CN20K event port quiesce
Add CN20K event port quiesce function.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> |
| 7473a65f | 28-Oct-2024 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
event/cnxk: add CN20K SSO dequeue fast path
Add CN20K SSO GWS event dequeue fastpath functions.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> |
| b08b193b | 28-Oct-2024 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
event/cnxk: add CN20K SSO enqueue fast path
Add CN20K SSO GWS fastpath event device enqueue functions.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> |
| 9736df4f | 28-Oct-2024 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
event/cnxk: add CN20K event port configuration
Add SSO HWS a.k.a event port setup, release, link, unlink functions.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> |
| d2e685b2 | 28-Oct-2024 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
event/cnxk: add CN20k event queue configuration
Add setup and release functions for event queues i.e. SSO HWGRPs. Allocate buffers in DRAM that hold inflight events. Register device args to modify i
event/cnxk: add CN20k event queue configuration
Add setup and release functions for event queues i.e. SSO HWGRPs. Allocate buffers in DRAM that hold inflight events. Register device args to modify inflight event buffer count, HWGRP QoS and stash.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
show more ...
|
| 69761869 | 28-Oct-2024 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
event/cnxk: add CN20K device config
Add CN20K event device configuration that attaches the requested number of SSO HWS(event ports) and HWGRP(event queues) LFs to the RVU PF/VF.
Signed-off-by: Pava
event/cnxk: add CN20K device config
Add CN20K event device configuration that attaches the requested number of SSO HWS(event ports) and HWGRP(event queues) LFs to the RVU PF/VF.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
show more ...
|
| 45ce5425 | 28-Oct-2024 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
event/cnxk: add CN20K specific device probe
Add platform specific event device probe and remove, also add event device info get function.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> |
| 82526521 | 28-Oct-2024 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
common/cnxk: implement SSO HW info
Add SSO HW info mbox to get hardware capabilities, and reuse them instead of depending on hardcoded values. Remove redundant includes.
Signed-off-by: Pavan Nikhil
common/cnxk: implement SSO HW info
Add SSO HW info mbox to get hardware capabilities, and reuse them instead of depending on hardcoded values. Remove redundant includes.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
show more ...
|
| 01f87d55 | 28-Oct-2024 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
event/cnxk: use stdatomic API
Replace gcc inbuilt __atomic_xxx intrinsics with rte_atomic_xxx API.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> |
| 3e86eee0 | 25-Oct-2024 |
Hanumanth Pothula <hpothula@marvell.com> |
event/octeontx: fix possible integer overflow
The last argument passed to ssovf_parsekv() is an unsigned char*, but it is accessed as an integer. This can lead to an integer overflow.
Hence, make e
event/octeontx: fix possible integer overflow
The last argument passed to ssovf_parsekv() is an unsigned char*, but it is accessed as an integer. This can lead to an integer overflow.
Hence, make ensure the argument is accessed as a char and for better error handling use strtol instead of atoi.
Bugzilla ID: 1512 Fixes: 3516327e00fd ("event/octeontx: add selftest to device arguments") Cc: stable@dpdk.org
Signed-off-by: Hanumanth Pothula <hpothula@marvell.com> Tested-by: Ali Alnubani <alialnu@nvidia.com>
show more ...
|