public inbox for linux-nvme@lists.infradead.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Cc: linux-nvme@lists.infradead.org, hch@lst.de, sagi@grimberg.me
Subject: Re: [PATCH RESEND 1/2] nvme-fc: add a helper to check ctrl sgl support
Date: Wed, 9 Jun 2021 14:59:48 +0200	[thread overview]
Message-ID: <20210609125948.GB1837@lst.de> (raw)
In-Reply-To: <20210608191037.44251-1-chaitanya.kulkarni@wdc.com>

On Tue, Jun 08, 2021 at 12:10:36PM -0700, Chaitanya Kulkarni wrote:
> +static inline bool nvme_ctrl_sgl_supported(struct nvme_ctrl *ctrl)
> +{
> +	if (!(ctrl->sgls & ((1 << 0) | (1 << 1))))
> +		return true;
> +
> +	return false;
> +}

Please move this into a separate patch as it isn't FC-related.

_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme

      parent reply	other threads:[~2021-06-09 13:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-08 19:10 [PATCH RESEND 1/2] nvme-fc: add a helper to check ctrl sgl support Chaitanya Kulkarni
2021-06-08 19:10 ` [PATCH RESEND 2/2] nvme-tcp: use helper for ctrl sgl check Chaitanya Kulkarni
2021-06-09  0:23   ` Sagi Grimberg
2021-06-09  0:23 ` [PATCH RESEND 1/2] nvme-fc: add a helper to check ctrl sgl support Sagi Grimberg
2021-06-09 12:59 ` Christoph Hellwig [this message]

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=20210609125948.GB1837@lst.de \
    --to=hch@lst.de \
    --cc=chaitanya.kulkarni@wdc.com \
    --cc=linux-nvme@lists.infradead.org \
    --cc=sagi@grimberg.me \
    /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