summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSarah Catania <sarah.catania@broadcom.com>2025-12-10 16:16:57 -0800
committerMartin K. Petersen <martin.petersen@oracle.com>2025-12-16 21:56:48 -0500
commitbd2bc528691e11ea945fbac485eb84c102a521d8 (patch)
treee1d5db81d1f14cdf5d5b668abaacc4daa216abb5 /include/linux
parent8f0b4cce4481fb22653697cced8d0d04027cb1e8 (diff)
scsi: scsi_transport_fc: Introduce encryption group in fc_rport attribute
Introduce a new structure for reporting an encrypted session over an fc_rport. The encryption group is added as an attribute in struct fc_rport and reports information in fc_encryption_info. This structure contains a status member variable, which stores a bit value indicating an encrypted session. Signed-off-by: Sarah Catania <sarah.catania@broadcom.com> Signed-off-by: Justin Tee <justin.tee@broadcom.com> Link: https://patch.msgid.link/20251211001659.138635-2-justintee8345@gmail.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/transport_class.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/transport_class.h b/include/linux/transport_class.h
index 2efc271a96fa..a009d66db15a 100644
--- a/include/linux/transport_class.h
+++ b/include/linux/transport_class.h
@@ -56,6 +56,7 @@ struct anon_transport_class cls = { \
struct transport_container {
struct attribute_container ac;
const struct attribute_group *statistics;
+ const struct attribute_group *encryption;
};
#define attribute_container_to_transport_container(x) \