All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: John Garry <john.garry@huawei.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>,
	Ming Lei <ming.lei@redhat.com>,
	"chenxiang \(M\)" <chenxiang66@hisilicon.com>,
	"James E.J. Bottomley" <jejb@linux.vnet.ibm.com>,
	"linux-scsi\@vger.kernel.org" <linux-scsi@vger.kernel.org>,
	"linux-block\@vger.kernel.org" <linux-block@vger.kernel.org>,
	Linuxarm <linuxarm@huawei.com>,
	Steffen Maier <maier@linux.ibm.com>
Subject: Re: DIF/DIX issue related to config CONFIG_SCSI_MQ_DEFAULT
Date: Thu, 06 Dec 2018 22:20:31 -0500	[thread overview]
Message-ID: <yq1sgzanhts.fsf@oracle.com> (raw)
In-Reply-To: <6324d4a1-a41e-4322-718c-f6c91099f508@huawei.com> (John Garry's message of "Thu, 6 Dec 2018 17:33:15 +0000")


John,

> "DIX is supported in mpt3sas , but not by default and hence while
> loading mpt3sas driver set module parameter "prot_mask=0x7F" to enable
> DIX support. "

The plumbing is there but it doesn't work. I tried earlier today and I
still can't get a single I/O to complete. I'll try to hack away at it
tomorrow.

> BTW, on a loosely related topic, in drivers/scsi/sd.h, I noticed that
> the arrays in sd_prot_op() and sd_prot_flag_mask() could be made
> static. In doing so I found sd.o object code shrunk by ~100B.

Will fix, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering

  reply	other threads:[~2018-12-07  3:20 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-27  9:55 DIF/DIX issue related to config CONFIG_SCSI_MQ_DEFAULT chenxiang (M)
2018-11-27 13:08 ` Ming Lei
2018-11-28  3:37   ` chenxiang (M)
2018-11-29 18:17     ` Ming Lei
     [not found]   ` <6c573f36-60d8-0631-e9ac-dacd72f6c8ad@hisilicon.com>
2018-11-29  0:54     ` Ming Lei
2018-11-30  1:19     ` Ming Lei
2018-11-30 11:26       ` John Garry
2018-12-04  3:55         ` Martin K. Petersen
     [not found]           ` <45193ec6-6398-3953-4833-88ca2057971a@huawei.com>
2018-12-05  2:22             ` Martin K. Petersen
2018-12-05  2:31               ` [PATCH] scsi: t10-pi: Return correct ref tag when queue has no integrity profile Martin K. Petersen
2018-12-05  4:24                 ` Bart Van Assche
2018-12-05 14:04                   ` Martin K. Petersen
2018-12-05 15:00                     ` Bart Van Assche
2018-12-06  4:17                       ` Martin K. Petersen
2018-12-06 12:04                         ` John Garry
2018-12-06 12:04                           ` John Garry
2018-12-06 12:16                           ` chenxiang (M)
2018-12-06 12:16                             ` chenxiang (M)
2018-12-05 15:27               ` DIF/DIX issue related to config CONFIG_SCSI_MQ_DEFAULT John Garry
2018-12-06  4:22                 ` Martin K. Petersen
2018-12-06 17:33                   ` John Garry
2018-12-07  3:20                     ` Martin K. Petersen [this message]
2018-12-05  2:56       ` Martin K. Petersen
2018-11-27 20:22 ` Ewan D. Milne
2018-11-28  3:11   ` chenxiang (M)

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=yq1sgzanhts.fsf@oracle.com \
    --to=martin.petersen@oracle.com \
    --cc=chenxiang66@hisilicon.com \
    --cc=jejb@linux.vnet.ibm.com \
    --cc=john.garry@huawei.com \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=linuxarm@huawei.com \
    --cc=maier@linux.ibm.com \
    --cc=ming.lei@redhat.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.