#
3cdcc0c1 |
| 21-Oct-2024 |
Mattias Rönnblom <mattias.ronnblom@ericsson.com> |
event/octeontx: remove single event enqueue and dequeue
Provide only burst enqueue and dequeue.
Signed-off-by: Mattias Rönnblom <mattias.ronnblom@ericsson.com>
|
#
2b843cac |
| 13-Dec-2023 |
David Marchand <david.marchand@redhat.com> |
drivers: use per line logging in helpers
Use RTE_LOG(_DP)?_LINE(_PREFIX)? in existing macros that append a \n.
Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Chengwen Feng <fen
drivers: use per line logging in helpers
Use RTE_LOG(_DP)?_LINE(_PREFIX)? in existing macros that append a \n.
Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Chengwen Feng <fengchengwen@huawei.com> Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> Acked-by: Thomas Monjalon <thomas@monjalon.net>
show more ...
|
#
27595cd8 |
| 15-Apr-2024 |
Tyler Retzlaff <roretzla@linux.microsoft.com> |
drivers: move alignment attribute on types for MSVC
Move location of __rte_aligned(a) to new conventional location. The new placement between {struct,union} and the tag allows the desired alignment
drivers: move alignment attribute on types for MSVC
Move location of __rte_aligned(a) to new conventional location. The new placement between {struct,union} and the tag allows the desired alignment to be imparted on the type regardless of the toolchain being used for both C and C++. Additionally, it avoids confusion by Doxygen when generating documentation.
Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com> Acked-by: Morten Brørup <mb@smartsharesystems.com>
show more ...
|
#
93998f3c |
| 15-Nov-2023 |
Tyler Retzlaff <roretzla@linux.microsoft.com> |
add extension keyword to GCC statement expressions
Add __extension__ keyword to gcc statement expression extensions. This is necessary for MSVC support.
Signed-off-by: Tyler Retzlaff <roretzla@linu
add extension keyword to GCC statement expressions
Add __extension__ keyword to gcc statement expression extensions. This is necessary for MSVC support.
Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com> Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
show more ...
|
#
7be78d02 |
| 29-Nov-2021 |
Josh Soref <jsoref@gmail.com> |
fix spelling in comments and strings
The tool comes from https://github.com/jsoref
Signed-off-by: Josh Soref <jsoref@gmail.com> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
|
#
25187042 |
| 29-Jan-2021 |
Bruce Richardson <bruce.richardson@intel.com> |
eventdev: make driver-only headers private
The rte_eventdev_pmd*.h files are for drivers only and should be private to DPDK, and not installed for app use.
Signed-off-by: Bruce Richardson <bruce.ri
eventdev: make driver-only headers private
The rte_eventdev_pmd*.h files are for drivers only and should be private to DPDK, and not installed for app use.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
#
a912cb5b |
| 19-Nov-2020 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
event/octeontx: remove selftest option
Since selftest now depends on dynamic mbuf fields it is not feasible to run selftest on device probe.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
|
#
227f2835 |
| 28-Jul-2020 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
event/octeontx: validate events requested against available
Validate events configured in ssopf against the total number of events configured across all the RX/TIM event adapters.
Events available
event/octeontx: validate events requested against available
Validate events configured in ssopf against the total number of events configured across all the RX/TIM event adapters.
Events available to ssopf can be reconfigured by passing the required amount to kernel bootargs and are only limited by DRAM size. Example: ssopf.max_events= 2097152
Cc: stable@dpdk.org
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
show more ...
|
#
cf55f04a |
| 28-Apr-2020 |
Harman Kalra <hkalra@marvell.com> |
event/octeontx: support Rx/Tx checksum offload
Adding support for rx checksum offload. In case of wrong checksum received (inner/outer l3/l4) it reports the corresponding layer which has bad checksu
event/octeontx: support Rx/Tx checksum offload
Adding support for rx checksum offload. In case of wrong checksum received (inner/outer l3/l4) it reports the corresponding layer which has bad checksum. It also adds rx burst function pointer hook for rx checksum offload to event PMD.
Signed-off-by: Harman Kalra <hkalra@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
#
56a96aa4 |
| 28-Apr-2020 |
Harman Kalra <hkalra@marvell.com> |
event/octeontx: add framework for Rx/Tx offloads
Adding macro based framework to hook dequeue/enqueue function pointers to the appropriate function based on rx/tx offloads.
Signed-off-by: Harman Ka
event/octeontx: add framework for Rx/Tx offloads
Adding macro based framework to hook dequeue/enqueue function pointers to the appropriate function based on rx/tx offloads.
Signed-off-by: Harman Kalra <hkalra@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
#
844d302d |
| 28-Apr-2020 |
Harman Kalra <hkalra@marvell.com> |
event/octeontx: support multi-segment
Adding support for multi segment to the eventdev PMD.
Signed-off-by: Harman Kalra <hkalra@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
|
#
95a6b04f |
| 10-Oct-2018 |
Anoob Joseph <anoob.joseph@caviumnetworks.com> |
use registered name for OCTEON TX references
'OCTEON TX' is the registered name. All other usages need to be fixed.
Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com> Acked-by: Jerin Jac
use registered name for OCTEON TX references
'OCTEON TX' is the registered name. All other usages need to be fixed.
Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
show more ...
|
#
1dedffeb |
| 28-Sep-2018 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
event/octeontx: support Tx adapter
Add Tx adapter support and move few routines around to avoid code duplication.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Jerin Ja
event/octeontx: support Tx adapter
Add Tx adapter support and move few routines around to avoid code duplication.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
show more ...
|
#
8384f0e0 |
| 20-Mar-2018 |
Jerin Jacob <jerin.jacob@caviumnetworks.com> |
event/octeontx: support device stop flush callback
Add support for stop flush callback along with unit test.
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Acked-by: Gage Eads <gage.ea
event/octeontx: support device stop flush callback
Add support for stop flush callback along with unit test.
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Acked-by: Gage Eads <gage.eads@intel.com>
show more ...
|
#
d8dd3165 |
| 04-Apr-2018 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
common/octeontx: move mbox to common folder
Move commonly used functions across mempool, event and net devices to a common folder in drivers.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetw
common/octeontx: move mbox to common folder
Move commonly used functions across mempool, event and net devices to a common folder in drivers.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Acked-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
show more ...
|
#
3516327e |
| 11-Jan-2018 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
event/octeontx: add selftest to device arguments
Add selftest as a device argument that can be enabled by suppling 'self_test=1' as a vdev parameter
--vdev="event_octeontx,self_test=1"
The selfte
event/octeontx: add selftest to device arguments
Add selftest as a device argument that can be enabled by suppling 'self_test=1' as a vdev parameter
--vdev="event_octeontx,self_test=1"
The selftest is run after vdev creation is successfully complete.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
show more ...
|
#
c54b7866 |
| 11-Jan-2018 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
event/octeontx: update selftest ops
Update octeontx eventdev ops to invoke selftest when application invokes `rte_event_dev_selftest`.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.co
event/octeontx: update selftest ops
Update octeontx eventdev ops to invoke selftest when application invokes `rte_event_dev_selftest`.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
show more ...
|
#
6ff17178 |
| 19-Dec-2017 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
event/octeontx: implement dynamic logging
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Santosh Shukla <santosh.shukla@caviumnetworks.com> Acked-by: Stephen Hemminger <s
event/octeontx: implement dynamic logging
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Santosh Shukla <santosh.shukla@caviumnetworks.com> Acked-by: Stephen Hemminger <stephen@networkplumber.org>
show more ...
|
#
aaf4363e |
| 08-Jan-2018 |
Jerin Jacob <jerin.jacob@caviumnetworks.com> |
drivers: use SPDX tag for Cavium copyright files
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
|
#
f1a7a5c5 |
| 02-Nov-2017 |
Thomas Monjalon <thomas@monjalon.net> |
remove include of generated config header
The file rte_config.h is generated and automatically included with -include option. The explicit includes in drivers and libraries are useless.
Signed-off-
remove include of generated config header
The file rte_config.h is generated and automatically included with -include option. The explicit includes in drivers and libraries are useless.
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
show more ...
|
#
d0d65498 |
| 24-Oct-2017 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
net/octeontx: support event Rx adapter
Add functions to modify and delete qos responsible for mapping eth queues to event queues used for configuring event Rx adapter. The mbox functions have been m
net/octeontx: support event Rx adapter
Add functions to modify and delete qos responsible for mapping eth queues to event queues used for configuring event Rx adapter. The mbox functions have been moved from octeontx_pkivf.c to octeontx_pkivf.h to allow event_octeontx to access them.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
show more ...
|
#
89ee1e94 |
| 16-Oct-2017 |
Santosh Shukla <santosh.shukla@caviumnetworks.com> |
mempool/octeontx: move mbox from event to mempool
Octeontx mempool pmd need mailbox for pool setup. That mailbox was defined at drivers/event/octeontx. So mempool has dependency on event/octeontx dr
mempool/octeontx: move mbox from event to mempool
Octeontx mempool pmd need mailbox for pool setup. That mailbox was defined at drivers/event/octeontx. So mempool has dependency on event/octeontx driver and commit:8700239f7767 has added make rule which makes sure event/* get build before mempool, but this rule introduces cyclic dependency and may create problem to future feature addition in drivers/Makefile.
Same problem noticed and reported in below thread: http://dpdk.org/ml/archives/dev/2017-October/079187.html
The patch solves problem by moving mbox definition from drivers/event/octeontx to drivers/mempool/octeontx. Moving mbox files involves below changes:
* Renamed ssovf_mbox.[ch] --> octeontx_mbox.[ch] * Renamed ssovf_probe.c --> octeontx_ssovf.c * Introduced pool logger file. * Moved API from rte_pmd_octeontx_ssovf_version.map to rte_mempool_octeontx_version.map. * Respective Makefile changes done in drivers/event/octeontx/Makefile and drivers/mempool/octeontx/Makefile.
Fixes: 8700239f7767 ("mempool/octeontx: add build and log infrastructure")
Reported-by: Hemant Agrawal <hemant.agrawal@nxp.com> Signed-off-by: Santosh Shukla <santosh.shukla@caviumnetworks.com> Tested-by: Hemant Agrawal <hemant.agrawal@nxp.com> Reviewed-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
show more ...
|
#
3abcd29f |
| 08-Jul-2017 |
Jerin Jacob <jerin.jacob@caviumnetworks.com> |
update Cavium Inc copyright headers
Replace the incorrect reference to "Cavium Networks", "Cavium Ltd" company name with correct the "Cavium, Inc" company name in copyright headers.
Signed-off-by:
update Cavium Inc copyright headers
Replace the incorrect reference to "Cavium Networks", "Cavium Ltd" company name with correct the "Cavium, Inc" company name in copyright headers.
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
show more ...
|
#
e88d2bef |
| 29-Jun-2017 |
Jerin Jacob <jerin.jacob@caviumnetworks.com> |
event/octeontx: add enqueue fwd op variant
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Acked-by: Gage Eads <gage.eads@intel.com> Acked-by: Harry van Haaren <harry.van.haaren@intel.co
event/octeontx: add enqueue fwd op variant
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Acked-by: Gage Eads <gage.eads@intel.com> Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
show more ...
|
#
ddb3175f |
| 29-Jun-2017 |
Jerin Jacob <jerin.jacob@caviumnetworks.com> |
event/octeontx: add enqueue new op variant
OCTEONTX can have optimized handling of events if the PMD knows it is a producer pattern in advance and it can support burst mode if all the events has op
event/octeontx: add enqueue new op variant
OCTEONTX can have optimized handling of events if the PMD knows it is a producer pattern in advance and it can support burst mode if all the events has op == RTE_EVENT_OP_NEW.
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Acked-by: Gage Eads <gage.eads@intel.com> Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
show more ...
|