Re: [PATCH net-next v7 2/4] ethtool: provide customized dim profile management

2024-04-15 Thread Heng Qi
在 2024/4/16 上午4:03, Simon Horman 写道: On Mon, Apr 15, 2024 at 05:36:36PM +0800, Heng Qi wrote: ... @@ -10229,6 +10230,61 @@ static void netdev_do_free_pcpu_stats(struct net_device *dev) } } +static int dev_dim_profile_init(struct net_device *dev) +{ +#if IS_ENABLED(CONFIG_DIML

Re: [PATCH net-next v7 2/4] ethtool: provide customized dim profile management

2024-04-15 Thread Simon Horman
On Mon, Apr 15, 2024 at 05:36:36PM +0800, Heng Qi wrote: ... > @@ -10229,6 +10230,61 @@ static void netdev_do_free_pcpu_stats(struct > net_device *dev) > } > } > > +static int dev_dim_profile_init(struct net_device *dev) > +{ > +#if IS_ENABLED(CONFIG_DIMLIB) > + u32 supported = dev-

Re: [PATCH net-next v7 2/4] ethtool: provide customized dim profile management

2024-04-15 Thread kernel test robot
/20240415093638.123962-3-hengqi%40linux.alibaba.com patch subject: [PATCH net-next v7 2/4] ethtool: provide customized dim profile management config: um-allnoconfig (https://download.01.org/0day-ci/archive/20240415/202404152005.vhs17jjp-...@intel.com/config) compiler: clang version 17.0.6 (https

Re: [PATCH net-next v7 2/4] ethtool: provide customized dim profile management

2024-04-15 Thread kernel test robot
/20240415093638.123962-3-hengqi%40linux.alibaba.com patch subject: [PATCH net-next v7 2/4] ethtool: provide customized dim profile management config: openrisc-defconfig (https://download.01.org/0day-ci/archive/20240415/202404152018.kkoq39ny-...@intel.com/config) compiler: or1k-linux-gcc (GCC) 13.2.0

[PATCH net-next v7 2/4] ethtool: provide customized dim profile management

2024-04-15 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