napatech: Add Deprecation Warning Message for HBA

Added a message that HBA will be deprecated in the future and removed
hba from default conf file.
pull/5567/head
Phil Young 5 years ago committed by Victor Julien
parent 3030a3da18
commit dc5349a30c

@ -206,6 +206,9 @@ static void *NapatechConfigParser(const char *device)
*/
if (ConfGetInt("napatech.hba", &conf->hba) == 0) {
conf->hba = -1;
} else {
SCLogWarning(SC_WARN_COMPATIBILITY,
"Napatech Host Buffer Allocation (hba) will be deprecated in Suricata v7.0.");
}
return (void *) conf;
}

@ -1762,12 +1762,6 @@ ipfw:
napatech:
# The Host Buffer Allowance for all streams
# (-1 = OFF, 1 - 100 = percentage of the host buffer that can be held back)
# This may be enabled when sharing streams with another application.
# Otherwise, it should be turned off.
#hba: -1
# When use_all_streams is set to "yes" the initialization code will query
# the Napatech service for all configured streams and listen on all of them.
# When set to "no" the streams config array will be used.

Loading…
Cancel
Save