RE: [PATCH v2] mempool cache: add zero-copy get and put functions

2022-12-24 Thread Morten Brørup
> From: Konstantin Ananyev [mailto:konstantin.anan...@huawei.com] > Sent: Friday, 23 December 2022 17.58 > > > > From: Konstantin Ananyev [mailto:konstantin.anan...@huawei.com] > > > Sent: Thursday, 22 December 2022 16.57 > > > > > > > Zero-copy access to mempool caches is beneficial for PMD > per

[PATCH v4] mempool cache: add zero-copy get and put functions

2022-12-24 Thread Morten Brørup
Zero-copy access to mempool caches is beneficial for PMD performance, and must be provided by the mempool library to fix [Bug 1052] without a performance regression. [Bug 1052]: https://bugs.dpdk.org/show_bug.cgi?id=1052 v4: * Fix checkpatch warnings. v3: * Bugfix: Respect the cache size; compare

[PATCH v3] mempool cache: add zero-copy get and put functions

2022-12-24 Thread Morten Brørup
Zero-copy access to mempool caches is beneficial for PMD performance, and must be provided by the mempool library to fix [Bug 1052] without a performance regression. [Bug 1052]: https://bugs.dpdk.org/show_bug.cgi?id=1052 v3: * Bugfix: Respect the cache size; compare to the flush threshold instead

mailmap causing checkpatch warnings

2022-12-24 Thread Morten Brørup
Bruce, David, I just submitted a patch with an Acked-by from Konstantin, using his current (Huawei) email address, and it triggered the following checkpatch warning: Konstantin Ananyev mail differs from primary mail, please fix the commit message or update .mailmap. Some people have more than o

[PATCH v3] mempool: micro-optimize put function

2022-12-24 Thread Morten Brørup
Micro-optimization: Reduced the most likely code path in the generic put function by moving an unlikely check out of the most likely code path and further down. Also updated the comments in the function. v3 (feedback from Konstantin Ananyev): * Removed assertion and comment about the invariant pr

[PATCH] net/vmxnet3: added checks for TCP for RSS Configuration

2022-12-24 Thread Raghav Roy
Added checks for TCP in vmxnet3_rss_configure() This check ensures the hashType for RSS, when enabled just for UDP, is not NONE. Signed-off-by: Raghav Roy --- drivers/net/vmxnet3/vmxnet3_rxtx.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/net/vmxnet3/vmxnet