Indicates that the SSNS record was obtained through discovery.
Signed-off-by: Tomas Bzatek <tbzatek@redhat.com>
/* flags */
ssns->unavailable = !!(le16_to_cpu(raw_ssns->flags) &
NBFT_SSNS_UNAVAIL_NAMESPACE_UNAVAIL);
+ ssns->discovered = !!(le16_to_cpu(raw_ssns->flags) &
+ NBFT_SSNS_DISCOVERED_NAMESPACE);
/* security profile */
if (raw_ssns->security_desc_index) {
* Descriptor) or 0 if not supported.
* @dhcp_root_path_string: DHCP Root Path Override string (SSNS Extended
* Information Descriptor).
+ * @discovered: Indicates that this namespace was acquired
+ * through discovery.
* @unavailable: Namespace is unavailable as indicated by
* the pre-OS driver.
*/
int controller_id;
int asqsz;
char *dhcp_root_path_string;
+ bool discovered;
bool unavailable;
};