[PATCH 3/3] bnx2i: Enable support for host stats param

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Adheer Chandravanshi <adheer.chandravanshi@xxxxxxxxxx>

This enables the support for host stats param.

Signed-off-by: Adheer Chandravanshi <adheer.chandravanshi@xxxxxxxxxx>
---
 drivers/scsi/bnx2i/bnx2i_iscsi.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/drivers/scsi/bnx2i/bnx2i_iscsi.c b/drivers/scsi/bnx2i/bnx2i_iscsi.c
index 7289437..8b44c9a 100644
--- a/drivers/scsi/bnx2i/bnx2i_iscsi.c
+++ b/drivers/scsi/bnx2i/bnx2i_iscsi.c
@@ -2201,6 +2201,18 @@ static umode_t bnx2i_attr_is_visible(int param_type, int param)
 		case ISCSI_HOST_PARAM_NETDEV_NAME:
 		case ISCSI_HOST_PARAM_HWADDRESS:
 		case ISCSI_HOST_PARAM_IPADDRESS:
+		case ISCSI_HOST_PARAM_LOGIN_ACCEPT_RSPS:
+		case ISCSI_HOST_PARAM_LOGIN_OTHER_FAILS:
+		case ISCSI_HOST_PARAM_LOGIN_AUTHENTICATION_FAILS:
+		case ISCSI_HOST_PARAM_LOGIN_AUTHORIZATION_FAILS:
+		case ISCSI_HOST_PARAM_LOGIN_NEGOTIATION_FAILS:
+		case ISCSI_HOST_PARAM_LOGIN_REDIRECT_RSPS:
+		case ISCSI_HOST_PARAM_LOGOUT_NORMAL_RSPS:
+		case ISCSI_HOST_PARAM_LOGOUT_OTHER_RSPS:
+		case ISCSI_HOST_PARAM_DIGEST_ERR:
+		case ISCSI_HOST_PARAM_TIMEOUT_ERR:
+		case ISCSI_HOST_PARAM_FORMAT_ERR:
+		case ISCSI_HOST_PARAM_SESSION_FAILS:
 			return S_IRUGO;
 		default:
 			return 0;
-- 
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux