| f93b1d82 | 01-Apr-2024 |
Stephen Hemminger <stephen@networkplumber.org> |
mempool: fix some build issue with MSVC
Applying __rte_unused to a variable has no effect with MS windows compiler. The temporary variable used if debug enabled can just be eliminated.
Signed-off-b
mempool: fix some build issue with MSVC
Applying __rte_unused to a variable has no effect with MS windows compiler. The temporary variable used if debug enabled can just be eliminated.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
show more ...
|
| 23dc03f6 | 01-Apr-2024 |
Stephen Hemminger <stephen@networkplumber.org> |
mempool: replace GCC pragma with cast
Building mempool with MSVC generates a warning because of this pragma (same with clang when debug is enabled). The issue the pragma was working around can be be
mempool: replace GCC pragma with cast
Building mempool with MSVC generates a warning because of this pragma (same with clang when debug is enabled). The issue the pragma was working around can be better solved by using an additional cast.
Fixes: af75078fece3 ("first public release")
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
show more ...
|
| 37fc1db9 | 23-Oct-2023 |
Ferruh Yigit <ferruh.yigit@amd.com> |
mempool: clarify enqueue/dequeue ops documentation
API documentations doesn't clarify expected return types for enqueue and dequeue mempool_ops, clarifying it.
Fixes: 449c49b93a6b ("mempool: suppor
mempool: clarify enqueue/dequeue ops documentation
API documentations doesn't clarify expected return types for enqueue and dequeue mempool_ops, clarifying it.
Fixes: 449c49b93a6b ("mempool: support handler operations") Cc: stable@dpdk.org
Reported-by: Morten Brørup <mb@smartsharesystems.com> Signed-off-by: Ferruh Yigit <ferruh.yigit@amd.com> Reviewed-by: Morten Brørup <mb@smartsharesystems.com>
show more ...
|
| c2c6b2f4 | 16-Aug-2023 |
David Marchand <david.marchand@redhat.com> |
mempool: fix default ops for an empty mempool
An empty mempool's ops were not initialised to a default value wrt to what the application requested via the flags parameter. As rte_mempool_create() r
mempool: fix default ops for an empty mempool
An empty mempool's ops were not initialised to a default value wrt to what the application requested via the flags parameter. As rte_mempool_create() relies on rte_mempool_create_empty(), simply move this ops initialisation to rte_mempool_create_empty().
Fixes: aa10457eb4c2 ("mempool: make mempool populate and free api public") Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com> Reviewed-by: Bruce Richardson <bruce.richardson@intel.com> Reviewed-by: Morten Brørup <mb@smartsharesystems.com>
show more ...
|