#
f665790a |
| 13-Dec-2023 |
David Marchand <david.marchand@redhat.com> |
drivers: remove redundant newline from logs
Fix places where two newline characters may be logged.
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Chengwen
drivers: remove redundant newline from logs
Fix places where two newline characters may be logged.
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Chengwen Feng <fengchengwen@huawei.com>
show more ...
|
#
cb77b060 |
| 19-Oct-2021 |
Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> |
mempool: add namespace to driver register macro
Add RTE_ prefix to macro used to register mempool driver. The old one is still available but deprecated.
Signed-off-by: Andrew Rybchenko <andrew.rybc
mempool: add namespace to driver register macro
Add RTE_ prefix to macro used to register mempool driver. The old one is still available but deprecated.
Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> Acked-by: Olivier Matz <olivier.matz@6wind.com>
show more ...
|
#
84626a0d |
| 05-Nov-2019 |
Olivier Matz <olivier.matz@6wind.com> |
mempool: prevent objects from being across pages
When populating a mempool, ensure that objects are not located across several pages, except if user did not request IOVA-contiguous objects.
Signed-
mempool: prevent objects from being across pages
When populating a mempool, ensure that objects are not located across several pages, except if user did not request IOVA-contiguous objects.
Signed-off-by: Vamsi Attunuru <vattunuru@marvell.com> Signed-off-by: Olivier Matz <olivier.matz@6wind.com> Acked-by: Nipun Gupta <nipun.gupta@nxp.com> Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
#
23bdcedc |
| 05-Nov-2019 |
Olivier Matz <olivier.matz@6wind.com> |
mempool: introduce helpers for populate and required size
Introduce new functions that can used by mempool drivers to calculate required memory size and to populate mempool.
For now, these helpers
mempool: introduce helpers for populate and required size
Introduce new functions that can used by mempool drivers to calculate required memory size and to populate mempool.
For now, these helpers just replace the *_default() functions without change. They will be enhanced in next commit.
Signed-off-by: Olivier Matz <olivier.matz@6wind.com> Acked-by: Nipun Gupta <nipun.gupta@nxp.com> Reviewed-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
#
a1c55702 |
| 16-Apr-2018 |
Andrew Rybchenko <arybchenko@solarflare.com> |
mempool/octeontx: prepare to remove register memory area op
Callback to populate pool objects has all required information and executed a bit later than register memory area callback.
Signed-off-by
mempool/octeontx: prepare to remove register memory area op
Callback to populate pool objects has all required information and executed a bit later than register memory area callback.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Acked-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
show more ...
|
#
ce1f2c61 |
| 16-Apr-2018 |
Andrew Rybchenko <arybchenko@solarflare.com> |
mempool: remove callback to get capabilities
The callback was introduced to let generic code to know octeontx mempool driver requirements to use single physically contiguous memory chunk to store al
mempool: remove callback to get capabilities
The callback was introduced to let generic code to know octeontx mempool driver requirements to use single physically contiguous memory chunk to store all objects and align object address to total object size. Now these requirements are met using a new callbacks to calculate required memory chunk size and to populate objects using provided memory chunk.
These capability flags are not used anywhere else.
Restricting capabilities to flags is not generic and likely to be insufficient to describe mempool driver features. If required in the future, API which returns structured information may be added.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Acked-by: Santosh Shukla <santosh.shukla@caviumnetworks.com> Acked-by: Olivier Matz <olivier.matz@6wind.com>
show more ...
|
#
f477a469 |
| 24-Dec-2017 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
mempool/octeontx: fix memory area registration
Clean up the dependency between alloc and memory area registration, this removes the need for SLIST data structure and octeontx_pool_list.
Fixes: 2baa
mempool/octeontx: fix memory area registration
Clean up the dependency between alloc and memory area registration, this removes the need for SLIST data structure and octeontx_pool_list.
Fixes: 2baa3f0b7de5 ("mempool/octeontx: support memory area ops") Cc: stable@dpdk.org
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
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>
|
#
efd785f9 |
| 20-Oct-2017 |
Thomas Monjalon <thomas@monjalon.net> |
mempool: rename addresses from physical to IOVA
The struct fields phys_addr_t rte_mempool_objhdr.physaddr and rte_mempool_memhdr.phys_addr are renamed to rte_iova_t iova. The deprecated names are ke
mempool: rename addresses from physical to IOVA
The struct fields phys_addr_t rte_mempool_objhdr.physaddr and rte_mempool_memhdr.phys_addr are renamed to rte_iova_t iova. The deprecated names are kept in an anonymous union to avoid breaking the API.
Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: Santosh Shukla <santosh.shukla@caviumnetworks.com> Acked-by: Olivier Matz <olivier.matz@6wind.com>
show more ...
|
#
2baa3f0b |
| 08-Oct-2017 |
Santosh Shukla <santosh.shukla@caviumnetworks.com> |
mempool/octeontx: support memory area ops
Add support for register_memory_area ops in mempool driver.
Allow more than one HW pool when using OcteonTx mempool driver: By storing each pool informatio
mempool/octeontx: support memory area ops
Add support for register_memory_area ops in mempool driver.
Allow more than one HW pool when using OcteonTx mempool driver: By storing each pool information to the list and find appropriate list element by matching the rte_mempool pointers.
Signed-off-by: Santosh Shukla <santosh.shukla@caviumnetworks.com> Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
show more ...
|
#
06935a4f |
| 08-Oct-2017 |
Santosh Shukla <santosh.shukla@caviumnetworks.com> |
mempool/octeontx: support capabilities query
Signed-off-by: Santosh Shukla <santosh.shukla@caviumnetworks.com> Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
|
#
e48de68d |
| 08-Oct-2017 |
Santosh Shukla <santosh.shukla@caviumnetworks.com> |
mempool/octeontx: support count query
Signed-off-by: Santosh Shukla <santosh.shukla@caviumnetworks.com> Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
|
#
e4f67314 |
| 08-Oct-2017 |
Santosh Shukla <santosh.shukla@caviumnetworks.com> |
mempool/octeontx: support enqueue and dequeue
Signed-off-by: Santosh Shukla <santosh.shukla@caviumnetworks.com> Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
|
#
806714f1 |
| 08-Oct-2017 |
Santosh Shukla <santosh.shukla@caviumnetworks.com> |
mempool/octeontx: support freeing
Upon pool free request from application, Octeon FPA free does following: - Uses mbox to reset fpapf pool setup. - frees fpavf resources.
Signed-off-by: Santosh Shu
mempool/octeontx: support freeing
Upon pool free request from application, Octeon FPA free does following: - Uses mbox to reset fpapf pool setup. - frees fpavf resources.
Signed-off-by: Santosh Shukla <santosh.shukla@caviumnetworks.com> Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
show more ...
|
#
02fd6c74 |
| 08-Oct-2017 |
Santosh Shukla <santosh.shukla@caviumnetworks.com> |
mempool/octeontx: support allocation
Upon pool allocation request by application, Octeontx FPA alloc does following: - Gets free pool from pci fpavf array. - Uses mbox to communicate fpapf driver ab
mempool/octeontx: support allocation
Upon pool allocation request by application, Octeontx FPA alloc does following: - Gets free pool from pci fpavf array. - Uses mbox to communicate fpapf driver about, * gpool-id * pool block_sz * alignemnt - Programs fpavf pool boundary.
Signed-off-by: Santosh Shukla <santosh.shukla@caviumnetworks.com> Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
show more ...
|