Add a sysctl to get the number of filters available.
sysctl dev.t4nex.<N>.nfilters sysctl dev.t5nex.<N>.nfilters MFC after: 3 days
This commit is contained in:
parent
de60c55689
commit
c43949eb1a
@ -4189,6 +4189,9 @@ t4_sysctls(struct adapter *sc)
|
||||
sizeof(sc->sge.counter_val), sysctl_int_array, "A",
|
||||
"interrupt holdoff packet counter values");
|
||||
|
||||
SYSCTL_ADD_INT(ctx, children, OID_AUTO, "nfilters", CTLFLAG_RD,
|
||||
NULL, sc->tids.nftids, "number of filters");
|
||||
|
||||
#ifdef SBUF_DRAIN
|
||||
/*
|
||||
* dev.t4nex.X.misc. Marked CTLFLAG_SKIP to avoid information overload.
|
||||
|
Loading…
x
Reference in New Issue
Block a user