Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1511530 > unrolled thread

[PATCH] add one parameter wro_enable to enable relaxed ordering for IXGBE

Started byMao Wenan <maowenan@huawei.com>
First post2016-10-29 09:10 +0200
Last post2016-11-09 10:50 +0100
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] add one parameter wro_enable to enable relaxed ordering for IXGBE Mao Wenan <maowenan@huawei.com> - 2016-10-29 09:10 +0200
    Re: [PATCH] add one parameter wro_enable to enable relaxed ordering  for IXGBE Jeff Kirsher <jeffrey.t.kirsher@intel.com> - 2016-10-29 09:50 +0200
      答复: [PATCH] add one parameter wro_enable to enable relaxed ordering for IXGBE maowenan <maowenan@huawei.com> - 2016-11-09 10:50 +0100

#1511530 — [PATCH] add one parameter wro_enable to enable relaxed ordering for IXGBE

FromMao Wenan <maowenan@huawei.com>
Date2016-10-29 09:10 +0200
Subject[PATCH] add one parameter wro_enable to enable relaxed ordering for IXGBE
Message-ID<sxvW9-2XN-3@gated-at.bofh.it>
This patch provides a way to enable relaxed ordering, where it helps with performance in some architecture.
The default value of wro_enable is 0, if you want to enable relaxed ordering, please set wro_enable=1.

Mao Wenan (1):
  add one parameter wro_enable for IXGBE

 drivers/net/ethernet/intel/ixgbe/ixgbe.h        |  1 +
 drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c  | 29 ++++++++++++++-----------
 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c | 28 +++++++++++++-----------
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c   |  9 ++++++++
 4 files changed, 41 insertions(+), 26 deletions(-)

-- 
2.5.0

[toc] | [next] | [standalone]


#1511535 — Re: [PATCH] add one parameter wro_enable to enable relaxed ordering for IXGBE

FromJeff Kirsher <jeffrey.t.kirsher@intel.com>
Date2016-10-29 09:50 +0200
SubjectRe: [PATCH] add one parameter wro_enable to enable relaxed ordering for IXGBE
Message-ID<sxwyS-3dk-9@gated-at.bofh.it>
In reply to#1511530

[Multipart message — attachments visible in raw view] — view raw

On Sat, 2016-10-29 at 15:08 +0800, Mao Wenan wrote:
> This patch provides a way to enable relaxed ordering, where it helps with
> performance in some architecture.
> The default value of wro_enable is 0, if you want to enable relaxed
> ordering, please set wro_enable=1.
> 
> Mao Wenan (1):
>   add one parameter wro_enable for IXGBE
> 
>  drivers/net/ethernet/intel/ixgbe/ixgbe.h        |  1 +
>  drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c  | 29 ++++++++++++++-----
> ------
>  drivers/net/ethernet/intel/ixgbe/ixgbe_common.c | 28 +++++++++++++----
> -------
>  drivers/net/ethernet/intel/ixgbe/ixgbe_main.c   |  9 ++++++++
>  4 files changed, 41 insertions(+), 26 deletions(-)

Why have a title patch for only one patch?  Better yet, the one patch does
not have a patch description.  Get rid of the title patch and add the above
information into the patches description.

In addition, module parameters are not kindly looked upon, one reason is
that it cannot be standardized and enforced.

I am also confused because you are stating that on some architectures, yet
this code is only compiled in when SPARC is defined and that there are
times when you want relaxed ordering enabled and other times disabled?
 Your gonna have to provide more data on why, because the code as is was
resolving serious performance issues on SPARC when relaxed ordering was
enabled.

[toc] | [prev] | [next] | [standalone]


#1517868 — 答复: [PATCH] add one parameter wro_enable to enable relaxed ordering for IXGBE

Frommaowenan <maowenan@huawei.com>
Date2016-11-09 10:50 +0100
Subject答复: [PATCH] add one parameter wro_enable to enable relaxed ordering for IXGBE
Message-ID<sBxG2-5vt-23@gated-at.bofh.it>
In reply to#1511535
I have verified that the performance will be enhanced certainly when I enabled Relax Ordering on SPARC, but think it is not very flexible to disable or enable Relax Ordering feature using CONFIG_SPARC currently,
So I want to use module parameter to set RO instead of "#ifndef CONFIG_SPARC", no need to rebuild the whole kernel.


-----邮件原件-----
发件人: Jeff Kirsher [mailto:jeffrey.t.kirsher@intel.com] 
发送时间: 2016年10月29日 15:42
收件人: maowenan; intel-wired-lan@lists.osuosl.org; netdev@vger.kernel.org; linux-kernel@vger.kernel.org
主题: Re: [PATCH] add one parameter wro_enable to enable relaxed ordering for IXGBE

On Sat, 2016-10-29 at 15:08 +0800, Mao Wenan wrote:
> This patch provides a way to enable relaxed ordering, where it helps 
> with performance in some architecture.
> The default value of wro_enable is 0, if you want to enable relaxed 
> ordering, please set wro_enable=1.
> 
> Mao Wenan (1):
>   add one parameter wro_enable for IXGBE
> 
>  drivers/net/ethernet/intel/ixgbe/ixgbe.h        |  1 +
>  drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c  | 29 
> ++++++++++++++-----
> ------
>  drivers/net/ethernet/intel/ixgbe/ixgbe_common.c | 28 
> +++++++++++++----
> -------
>  drivers/net/ethernet/intel/ixgbe/ixgbe_main.c   |  9 ++++++++
>  4 files changed, 41 insertions(+), 26 deletions(-)

Why have a title patch for only one patch?  Better yet, the one patch does not have a patch description.  Get rid of the title patch and add the above information into the patches description.

In addition, module parameters are not kindly looked upon, one reason is that it cannot be standardized and enforced.

I am also confused because you are stating that on some architectures, yet this code is only compiled in when SPARC is defined and that there are times when you want relaxed ordering enabled and other times disabled?
 Your gonna have to provide more data on why, because the code as is was resolving serious performance issues on SPARC when relaxed ordering was enabled.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web