target/spc: Only expose PI mode page bits when supported by fabric
authorNicholas Bellinger <nab@linux-iscsi.org>
Wed, 2 Apr 2014 20:28:49 +0000 (13:28 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 7 Apr 2014 08:48:55 +0000 (01:48 -0700)
commitd45aca42a25c4ba7a73115fcf2283ee1a822665e
tree33abf9b97aa066f72da1a0d057304d712b0e6ca5
parentd2c5304c7ade0356c63e31f79a33452b3d4e3772
target/spc: Only expose PI mode page bits when supported by fabric

Only expose the control modepage bit for Application Tag Owner (ATO)
if the session + fabric support DIX PASS operations.

Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Cc: Martin K. Petersen <martin.petersen@oracle.com>
Cc: Or Gerlitz <ogerlitz@mellanox.com>
Cc: Quinn Tran <quinn.tran@qlogic.com>
Cc: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_spc.c