[PATCH net-next v14 0/5] ethtool: provide the dim profile fine-tuning channel

2024-06-03 Thread Heng Qi
The NetDIM library provides excellent acceleration for many modern network cards. However, the default profiles of DIM limits its maximum capabilities for different NICs, so providing a way which the NIC can be custom configured is necessary. Currently, the way is based on the commonly used "ethto

[PATCH net-next v14 1/5] linux/dim: move useful macros to .h file

2024-06-03 Thread Heng Qi
Useful macros will be used effectively elsewhere. These will be utilized in subsequent patches. Signed-off-by: Heng Qi --- include/linux/dim.h | 7 +++ lib/dim/net_dim.c | 6 -- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/include/linux/dim.h b/include/linux/dim.h ind

[PATCH net-next v14 5/5] virtio-net: support dim profile fine-tuning

2024-06-03 Thread Heng Qi
Virtio-net has different types of back-end device implementations. In order to effectively optimize the dim library's gains for different device implementations, let's use the new interface params to initialize and query dim results from a customized profile list. Signed-off-by: Heng Qi --- driv

[PATCH net-next v14 4/5] dim: add new interfaces for initialization and getting results

2024-06-03 Thread Heng Qi
DIM-related mode and work have been collected in one same place, so new interfaces are added to provide convenience. Signed-off-by: Heng Qi --- include/linux/dim.h | 48 lib/dim/net_dim.c | 68 + 2 files changed, 116

[PATCH net-next v14 2/5] dim: make DIMLIB dependent on NET

2024-06-03 Thread Heng Qi
DIMLIB's capabilities are supplied by the dim, net_dim, and rdma_dim objects, and dim's interfaces solely act as a base for net_dim and rdma_dim and are not explicitly used anywhere else. rdma_dim is utilized by the infiniband driver, while net_dim is for network devices, excluding the soc/fsl driv

[PATCH net-next v14 3/5] ethtool: provide customized dim profile management

2024-06-03 Thread Heng Qi
The NetDIM library, currently leveraged by an array of NICs, delivers excellent acceleration benefits. Nevertheless, NICs vary significantly in their dim profile list prerequisites. Specifically, virtio-net backends may present diverse sw or hw device implementation, making a one-size-fits-all par

[PATCH v4] Documentation: cve Korean translation

2024-06-03 Thread yskelg
From: Yunseong Kim This is a Documentation/process/cve korean version. The following changes have been updated based on SeongJae Park’s feedback and Austin Kim’s from the last v2 and v3 patches. Signed-off-by: Yunseong Kim --- Documentation/translations/ko_KR/index.rst| 2 +- .../transl

Re: [PATCH v4] Documentation: cve Korean translation

2024-06-03 Thread SeongJae Park
On Tue, 4 Jun 2024 01:15:31 +0900 ysk...@gmail.com wrote: > From: Yunseong Kim > > This is a Documentation/process/cve korean version. > > The following changes have been updated based on SeongJae Park’s feedback > and Austin Kim’s from the last v2 and v3 patches. > > Signed-off-by: Yunseong

Re: [PATCH net-next v14 3/5] ethtool: provide customized dim profile management

2024-06-03 Thread kernel test robot
Hi Heng, kernel test robot noticed the following build warnings: [auto build test WARNING on net-next/main] url: https://github.com/intel-lab-lkp/linux/commits/Heng-Qi/linux-dim-move-useful-macros-to-h-file/20240603-235834 base: net-next/main patch link: https://lore.kernel.org/r

Re: [PATCH net-next v14 3/5] ethtool: provide customized dim profile management

2024-06-03 Thread Heng Qi
-useful-macros-to-h-file/20240603-235834 > base: net-next/main > patch link: > https://lore.kernel.org/r/20240603154727.31998-4-hengqi%40linux.alibaba.com > patch subject: [PATCH net-next v14 3/5] ethtool: provide customized dim > profile management > config: loongarch-defconfig