From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin K. Petersen" Subject: Re: [PATCH 14/14] tcm_loop: Enable DIF/DIX modes in SCSI host LLD Date: Fri, 10 Jan 2014 16:09:26 -0500 Message-ID: References: <1389212157-14540-1-git-send-email-nab@daterainc.com> <1389212157-14540-15-git-send-email-nab@daterainc.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from userp1040.oracle.com ([156.151.31.81]:18029 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751998AbaAJVJn (ORCPT ); Fri, 10 Jan 2014 16:09:43 -0500 In-Reply-To: <1389212157-14540-15-git-send-email-nab@daterainc.com> (Nicholas A. Bellinger's message of "Wed, 8 Jan 2014 20:15:57 +0000") Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: "Nicholas A. Bellinger" Cc: target-devel , linux-scsi , linux-kernel , "Martin K. Petersen" , Christoph Hellwig , Hannes Reinecke , Sagi Grimberg , Or Gerlitz , Nicholas Bellinger >>>>> "nab" == Nicholas A Bellinger writes: nab> This patch updates tcm_loop_driver_probe() to set protection nab> information using scsi_host_set_prot() and scsi_host_set_guard(), nab> which currently enabled all modes of DIF/DIX protection, minus DIF nab> TYPE0. ITYM, DIX Type 0. And ideally you'd have a way to choose between IP and T10 CRC for the guard type. Otherwise OK. Reviewed-by: Martin K. Petersen -- Martin K. Petersen Oracle Linux Engineering