From: Nicholas Bellinger Date: Wed, 2 Apr 2014 21:19:09 +0000 (-0700) Subject: target/sbc: Add sbc_dif_generate software emulation X-Git-Tag: v3.15-rc1~12^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66a3d5bc47d2973820816226e957db9e85285455;p=pandora-kernel.git target/sbc: Add sbc_dif_generate software emulation This patch adds WRITE_INSERT emulation within target-core using TYPE1 / TYPE3 PI modes in sbc_dif_generate() code. This is useful in order for existing legacy fabrics that do not support protection offloads to interact with backend devices that currently have T10 PI enabled. v2 changes: - Rename to sbc_dif_generate() (Sagi) Cc: Martin K. Petersen Cc: Sagi Grimberg Cc: Or Gerlitz Cc: Quinn Tran Cc: Giridhar Malavali Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed