public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Ganesh Goudar <ganeshgr-ut6Up61K2wZBDgjK7y7TUQ@public.gmane.org>
Cc: dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	nirranjan-ut6Up61K2wZBDgjK7y7TUQ@public.gmane.org,
	indranil-ut6Up61K2wZBDgjK7y7TUQ@public.gmane.org,
	Steve Wise
	<swise-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>,
	Bharat Potnuri <bharat-ut6Up61K2wZBDgjK7y7TUQ@public.gmane.org>
Subject: Re: [PATCH] iw_cxgb4: Use dsgl by default
Date: Thu, 2 Mar 2017 16:47:10 +0200	[thread overview]
Message-ID: <20170302144710.GF9525@mtr-leonro.local> (raw)
In-Reply-To: <1487833303-4779-1-git-send-email-ganeshgr-ut6Up61K2wZBDgjK7y7TUQ@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 1811 bytes --]

On Thu, Feb 23, 2017 at 12:31:43PM +0530, Ganesh Goudar wrote:
> Enable the use of dsgl by default and determine whether dsgl is
> supported from lld info.
>
> Signed-off-by: Steve Wise <swise-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
> Signed-off-by: Bharat Potnuri <bharat-ut6Up61K2wZBDgjK7y7TUQ@public.gmane.org>
> Signed-off-by: Ganesh Goudar <ganeshgr-ut6Up61K2wZBDgjK7y7TUQ@public.gmane.org>
> ---
>  drivers/infiniband/hw/cxgb4/mem.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/infiniband/hw/cxgb4/mem.c b/drivers/infiniband/hw/cxgb4/mem.c
> index 410408f..8db7a11 100644
> --- a/drivers/infiniband/hw/cxgb4/mem.c
> +++ b/drivers/infiniband/hw/cxgb4/mem.c
> @@ -38,9 +38,9 @@
>
>  #include "iw_cxgb4.h"
>
> -int use_dsgl = 0;
> +int use_dsgl = 1;
>  module_param(use_dsgl, int, 0644);
> -MODULE_PARM_DESC(use_dsgl, "Use DSGL for PBL/FastReg (default=0)");
> +MODULE_PARM_DESC(use_dsgl, "Use DSGL for PBL/FastReg (default=1)");

Can we get rid of this module parameter completely?

>
>  #define T4_ULPTX_MIN_IO 32
>  #define C4IW_MAX_INLINE_SIZE 96
> @@ -231,7 +231,7 @@ static int _c4iw_write_mem_dma(struct c4iw_rdev *rdev, u32 addr, u32 len,
>  static int write_adapter_mem(struct c4iw_rdev *rdev, u32 addr, u32 len,
>  			     void *data, struct sk_buff *skb)
>  {
> -	if (is_t5(rdev->lldi.adapter_type) && use_dsgl) {
> +	if (rdev->lldi.ulptx_memwrite_dsgl && use_dsgl) {
>  		if (len > inline_threshold) {
>  			if (_c4iw_write_mem_dma(rdev, addr, len, data, skb)) {
>  				printk_ratelimited(KERN_WARNING
> --
> 2.1.0
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2017-03-02 14:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-23  7:01 [PATCH] iw_cxgb4: Use dsgl by default Ganesh Goudar
     [not found] ` <1487833303-4779-1-git-send-email-ganeshgr-ut6Up61K2wZBDgjK7y7TUQ@public.gmane.org>
2017-03-02 14:47   ` Leon Romanovsky [this message]
     [not found]     ` <20170302144710.GF9525-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-03-02 15:02       ` Steve Wise
2017-03-02 15:11         ` Leon Romanovsky
     [not found]           ` <20170302151122.GC14379-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-03-02 15:15             ` Steve Wise
2017-03-02 15:19               ` Leon Romanovsky
2017-04-25 18:05   ` Doug Ledford
     [not found]     ` <1493143538.3041.79.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-04-25 18:11       ` Steve Wise

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170302144710.GF9525@mtr-leonro.local \
    --to=leon-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
    --cc=bharat-ut6Up61K2wZBDgjK7y7TUQ@public.gmane.org \
    --cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=ganeshgr-ut6Up61K2wZBDgjK7y7TUQ@public.gmane.org \
    --cc=indranil-ut6Up61K2wZBDgjK7y7TUQ@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=nirranjan-ut6Up61K2wZBDgjK7y7TUQ@public.gmane.org \
    --cc=swise-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox