|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1 |
|
| #
7be78d02 |
| 29-Nov-2021 |
Josh Soref <[email protected]> |
fix spelling in comments and strings
The tool comes from https://github.com/jsoref
Signed-off-by: Josh Soref <[email protected]> Signed-off-by: Thomas Monjalon <[email protected]>
|
|
Revision tags: v21.11, v21.11-rc4, v21.11-rc3, v21.11-rc2, v21.11-rc1 |
|
| #
cb77b060 |
| 19-Oct-2021 |
Andrew Rybchenko <[email protected]> |
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 <[email protected]> Acked-by: Olivier Matz <[email protected]>
show more ...
|
|
Revision tags: v21.08, v21.08-rc4, v21.08-rc3, v21.08-rc2, v21.08-rc1, v21.05, v21.05-rc4, v21.05-rc3, v21.05-rc2 |
|
| #
eeded204 |
| 26-Apr-2021 |
David Marchand <[email protected]> |
log: register with standardized names
Let's try to enforce the convention where most drivers use a pmd. logtype with their class reflected in it, and libraries use a lib. logtype.
Introduce two new
log: register with standardized names
Let's try to enforce the convention where most drivers use a pmd. logtype with their class reflected in it, and libraries use a lib. logtype.
Introduce two new macros: - RTE_LOG_REGISTER_DEFAULT can be used when a single logtype is used in a component. It is associated to the default name provided by the build system, - RTE_LOG_REGISTER_SUFFIX can be used when multiple logtypes are used, and then the passed name is appended to the default name,
RTE_LOG_REGISTER is left untouched for existing external users and for components that do not comply with the convention.
There is a new Meson variable log_prefix to adapt the default name for baseband (pmd.bb.), bus (no pmd.) and mempool (no pmd.) classes.
Note: achieved with below commands + reverted change on net/bonding + edits on crypto/virtio, compress/mlx5, regex/mlx5
$ git grep -l RTE_LOG_REGISTER drivers/ | while read file; do pattern=${file##drivers/}; class=${pattern%%/*}; pattern=${pattern#$class/}; drv=${pattern%%/*}; case "$class" in baseband) pattern=pmd.bb.$drv;; bus) pattern=bus.$drv;; mempool) pattern=mempool.$drv;; *) pattern=pmd.$class.$drv;; esac sed -i -e 's/RTE_LOG_REGISTER(\(.*\), '$pattern',/RTE_LOG_REGISTER_DEFAULT(\1,/' $file; sed -i -e 's/RTE_LOG_REGISTER(\(.*\), '$pattern'\.\(.*\),/RTE_LOG_REGISTER_SUFFIX(\1, \2,/' $file; done
$ git grep -l RTE_LOG_REGISTER lib/ | while read file; do pattern=${file##lib/}; pattern=lib.${pattern%%/*}; sed -i -e 's/RTE_LOG_REGISTER(\(.*\), '$pattern',/RTE_LOG_REGISTER_DEFAULT(\1,/' $file; sed -i -e 's/RTE_LOG_REGISTER(\(.*\), '$pattern'\.\(.*\),/RTE_LOG_REGISTER_SUFFIX(\1, \2,/' $file; done
Signed-off-by: David Marchand <[email protected]> Signed-off-by: Thomas Monjalon <[email protected]> Acked-by: Bruce Richardson <[email protected]>
show more ...
|
|
Revision tags: v21.05-rc1 |
|
| #
376fb49e |
| 24-Feb-2021 |
Nipun Gupta <[email protected]> |
net/dpaa: prevent multiple mempool config
The current driver only support single buffer pool on a given PMD instance. Return error, if trying to configure more.
Signed-off-by: Nipun Gupta <nipun.gu
net/dpaa: prevent multiple mempool config
The current driver only support single buffer pool on a given PMD instance. Return error, if trying to configure more.
Signed-off-by: Nipun Gupta <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
|
Revision tags: v21.02, v21.02-rc4, v21.02-rc3, v21.02-rc2, v21.02-rc1, v20.11, v20.11-rc5, v20.11-rc4, v20.11-rc3, v20.11-rc2, v20.11-rc1, v20.08, v20.08-rc4, v20.08-rc3, v20.08-rc2, v20.08-rc1 |
|
| #
e5872221 |
| 07-Jul-2020 |
Rohit Raj <[email protected]> |
drivers/dpaa: optimize thread local storage
Minimize the number of different thread variables
Add all the thread specific variables in dpaa_portal structure to optimize TLS Usage.
Signed-off-by: R
drivers/dpaa: optimize thread local storage
Minimize the number of different thread variables
Add all the thread specific variables in dpaa_portal structure to optimize TLS Usage.
Signed-off-by: Rohit Raj <[email protected]> Acked-by: Akhil Goyal <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
| #
9c99878a |
| 01-Jul-2020 |
Jerin Jacob <[email protected]> |
log: introduce logtype register macro
Introduce the RTE_LOG_REGISTER macro to avoid the code duplication in the logtype registration process.
It is a wrapper macro for declaring the logtype, regist
log: introduce logtype register macro
Introduce the RTE_LOG_REGISTER macro to avoid the code duplication in the logtype registration process.
It is a wrapper macro for declaring the logtype, registering it and setting its level in the constructor context.
Signed-off-by: Jerin Jacob <[email protected]> Acked-by: Adam Dybkowski <[email protected]> Acked-by: Sachin Saxena <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|
|
Revision tags: v20.05, v20.05-rc4, v20.05-rc3 |
|
| #
df80d4f8 |
| 15-May-2020 |
Hemant Agrawal <[email protected]> |
bus/dpaa: move log types to NXP drivers
This is to reduce the number of variables getting exposed from the dpaa bus. They are not required to be in bus.
Signed-off-by: Hemant Agrawal <hemant.agrawa
bus/dpaa: move log types to NXP drivers
This is to reduce the number of variables getting exposed from the dpaa bus. They are not required to be in bus.
Signed-off-by: Hemant Agrawal <[email protected]>
show more ...
|
|
Revision tags: v20.05-rc2, v20.05-rc1, v20.02, v20.02-rc4, v20.02-rc3, v20.02-rc2, v20.02-rc1, v19.11, v19.11-rc4, v19.11-rc3, v19.11-rc2 |
|
| #
84626a0d |
| 05-Nov-2019 |
Olivier Matz <[email protected]> |
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 <[email protected]> Signed-off-by: Olivier Matz <[email protected]> Acked-by: Nipun Gupta <[email protected]> Acked-by: Andrew Rybchenko <[email protected]>
show more ...
|
| #
23bdcedc |
| 05-Nov-2019 |
Olivier Matz <[email protected]> |
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 <[email protected]> Acked-by: Nipun Gupta <[email protected]> Reviewed-by: Andrew Rybchenko <[email protected]>
show more ...
|
|
Revision tags: v19.11-rc1 |
|
| #
5bed1e57 |
| 29-Aug-2019 |
Hemant Agrawal <[email protected]> |
mempool/dpaa: reduce debug messages
Signed-off-by: Hemant Agrawal <[email protected]> Reviewed-by: Sachin Saxena <[email protected]>
|
|
Revision tags: v19.08, v19.08-rc4, v19.08-rc3, v19.08-rc2, v19.08-rc1 |
|
| #
f26a0762 |
| 25-Jun-2019 |
Hemant Agrawal <[email protected]> |
bus/dpaa: update mempool for secondary process
1. need to use the bpool with rte_malloc instead of rte_free 2. Option to give portal to the secondary process thread.
Signed-off-by: Radu Bulie <radu
bus/dpaa: update mempool for secondary process
1. need to use the bpool with rte_malloc instead of rte_free 2. Option to give portal to the secondary process thread.
Signed-off-by: Radu Bulie <[email protected]> Signed-off-by: Hemant Agrawal <[email protected]> Tested-by: Akhil Goyal <[email protected]>
show more ...
|
|
Revision tags: v19.05, v19.05-rc4, v19.05-rc3, v19.05-rc2 |
|
| #
d37f5f27 |
| 09-Apr-2019 |
Li Qiang <[email protected]> |
mempool/dpaa: fix leak in pool creation failure
When 'rte_zmalloc' failed dpaa_mbuf_create_pool() forgets freeing 'bp' thus leading resource leak. This patch avoids this.
Coverity issue: 337679
Si
mempool/dpaa: fix leak in pool creation failure
When 'rte_zmalloc' failed dpaa_mbuf_create_pool() forgets freeing 'bp' thus leading resource leak. This patch avoids this.
Coverity issue: 337679
Signed-off-by: Li Qiang <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
|
Revision tags: v19.05-rc1 |
|
| #
e1797f4b |
| 26-Mar-2019 |
Akhil Goyal <[email protected]> |
mempool/dpaa: allocate bp info for multiprocess
rte_dpaa_bpid_info shall be allocated with the hugepage memory which can be shared across processes.
Signed-off-by: Akhil Goyal <[email protected]>
|
|
Revision tags: v19.02, v19.02-rc4, v19.02-rc3, v19.02-rc2, v19.02-rc1, v18.11, v18.11-rc5, v18.11-rc4, v18.11-rc3, v18.11-rc2, v18.11-rc1 |
|
| #
b74fd6b8 |
| 28-Oct-2018 |
Ferruh Yigit <[email protected]> |
add missing static keyword to globals
Some global variables can indeed be static, add static keyword to them.
Signed-off-by: Ferruh Yigit <[email protected]> Acked-by: Jerin Jacob <jerin.jacob
add missing static keyword to globals
Some global variables can indeed be static, add static keyword to them.
Signed-off-by: Ferruh Yigit <[email protected]> Acked-by: Jerin Jacob <[email protected]> Acked-by: Shreyansh Jain <[email protected]>
show more ...
|
| #
5a7dbb93 |
| 15-Oct-2018 |
Shreyansh Jain <[email protected]> |
dpaa: enable dpaax library
With this patch, dpaa bus and ethernet devices on this bus would start using the physical-virtual library interfaces.
This patch impacts mempool/dpaa, event/dpaa and net/
dpaa: enable dpaax library
With this patch, dpaa bus and ethernet devices on this bus would start using the physical-virtual library interfaces.
This patch impacts mempool/dpaa, event/dpaa and net/dpaa as they are dependent on the bus/dpaa and thus impact linkage of libraries.
Signed-off-by: Shreyansh Jain <[email protected]>
show more ...
|
| #
ec4569c1 |
| 21-Sep-2018 |
Hemant Agrawal <[email protected]> |
mempool/dpaa: change debug log level to DP
When the system goes out of buffers temporarily, the logs further slow down the system. There is no need for this continuos logs.
Signed-off-by: Hemant Ag
mempool/dpaa: change debug log level to DP
When the system goes out of buffers temporarily, the logs further slow down the system. There is no need for this continuos logs.
Signed-off-by: Hemant Agrawal <[email protected]>
show more ...
|
|
Revision tags: v18.08, v18.08-rc3, v18.08-rc2, v18.08-rc1, v18.05, v18.05-rc6, v18.05-rc5, v18.05-rc4, v18.05-rc3, v18.05-rc2, v18.05-rc1 |
|
| #
06d5038a |
| 27-Apr-2018 |
Shreyansh Jain <[email protected]> |
bus/dpaa: optimize physical to virtual address search
With Hotplugging memory support, the order of memseg has been changed from physically contiguous to virtual contiguous. DPAA bus and drivers dep
bus/dpaa: optimize physical to virtual address search
With Hotplugging memory support, the order of memseg has been changed from physically contiguous to virtual contiguous. DPAA bus and drivers depend on PA to VA address conversion for I/O.
This patch creates a list of blocks requested to be pinned to the DPAA mempool. For searching physical addresses, it is expected that it would belong to this list (from hardware pool) and hence it is less expensive than memseg walks. Though, there is a marginal drop in performance vis-a-vis the legacy mode with physically contiguous memsegs.
Signed-off-by: Shreyansh Jain <[email protected]> Signed-off-by: Thomas Monjalon <[email protected]>
show more ...
|
| #
0c51eac5 |
| 16-Apr-2018 |
Andrew Rybchenko <[email protected]> |
mempool/dpaa: prepare to remove register memory area op
Populate mempool driver callback is executed a bit later than register memory area, provides the same information and will substitute the late
mempool/dpaa: prepare to remove register memory area op
Populate mempool driver callback is executed a bit later than register memory area, provides the same information and will substitute the later since it gives more flexibility and in addition to notification about memory area allows to customize how mempool objects are stored in memory.
Signed-off-by: Andrew Rybchenko <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
| #
0e5607e4 |
| 14-Mar-2018 |
Hemant Agrawal <[email protected]> |
dpaa: prepare for 32-bit build
This patch prepares the dpaa drivers for compilation on 32 bit machine.
Signed-off-by: Hemant Agrawal <[email protected]>
|
|
Revision tags: v18.02, v18.02-rc4, v18.02-rc3, v18.02-rc2 |
|
| #
5d944582 |
| 23-Jan-2018 |
Nipun Gupta <[email protected]> |
bus/dpaa: check portal presence in the caller function
In the I/O path we were calling rte_dpaa_portal_init which internally checks if a portal is affined to the core. But this lead to calling of th
bus/dpaa: check portal presence in the caller function
In the I/O path we were calling rte_dpaa_portal_init which internally checks if a portal is affined to the core. But this lead to calling of that non-static API in every call.
Instead check the portal affinity in the caller itself for performance reasons
Signed-off-by: Nipun Gupta <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
| #
df2a1712 |
| 23-Jan-2018 |
Hemant Agrawal <[email protected]> |
mempool/dpaa: fix address translation optimization
Fixes: 83a4f267f2e3 ("mempool/dpaa: optimize phy to virt conversion") Cc: [email protected]
Signed-off-by: Hemant Agrawal <[email protected]>
|
| #
2bd0d5b9 |
| 29-Jan-2018 |
Hemant Agrawal <[email protected]> |
bus/dpaa: register platform HW mempool on runtime
Signed-off-by: Hemant Agrawal <[email protected]>
|
|
Revision tags: v18.02-rc1 |
|
| #
83a4f267 |
| 17-Jan-2018 |
Hemant Agrawal <[email protected]> |
mempool/dpaa: optimize phy to virt conversion
If the allocation is from a single memzone, optimize the phy-virt address conversions.
Signed-off-by: Hemant Agrawal <[email protected]>
|
| #
d81734ca |
| 19-Dec-2017 |
Hemant Agrawal <[email protected]> |
drivers: use SPDX tag in NXP dpaa files
Signed-off-by: Hemant Agrawal <[email protected]>
|
|
Revision tags: v17.11, v17.11-rc4, v17.11-rc3 |
|
| #
b0eca116 |
| 05-Nov-2017 |
Thomas Monjalon <[email protected]> |
mempool: rename address mapping function to IOVA
The function rte_mempool_virt2phy() is renamed to rte_mempool_virt2iova(). The new function has one less parameter because it is unused. The deprecat
mempool: rename address mapping function to IOVA
The function rte_mempool_virt2phy() is renamed to rte_mempool_virt2iova(). The new function has one less parameter because it is unused. The deprecated function is kept as an alias to avoid breaking the API.
Signed-off-by: Thomas Monjalon <[email protected]> Acked-by: Santosh Shukla <[email protected]> Acked-by: Olivier Matz <[email protected]>
show more ...
|