Home
last modified time | relevance | path

Searched refs:nfilters (Results 1 – 6 of 6) sorted by relevance

/freebsd-13-stable/sys/dev/cxgb/common/
HDcxgb_mc5.c327 int t3_mc5_init(struct mc5 *mc5, unsigned int nservers, unsigned int nfilters, in t3_mc5_init() argument
338 if (nroutes > MAX_ROUTES || nroutes + nservers + nfilters > tcam_size) in t3_mc5_init()
341 if (nfilters) in t3_mc5_init()
354 tcam_size - nroutes - nfilters); in t3_mc5_init()
356 tcam_size - nroutes - nfilters - nservers); in t3_mc5_init()
HDcxgb_common.h329 unsigned int nfilters; /* size of filter region */ member
769 int t3_mc5_init(struct mc5 *mc5, unsigned int nservers, unsigned int nfilters,
HDcxgb_t3_hw.c3159 adap->params.mc5.nfilters - adap->params.mc5.nroutes; in partition_mem()
4164 adapter->params.mc5.nfilters, in t3_init_hw()
4529 adapter->params.mc5.nfilters = 0; in t3_prep_adapter()
/freebsd-13-stable/sys/dev/cxgb/
HDcxgb_main.c265 static int nfilters = -1; variable
266 SYSCTL_INT(_hw_cxgb, OID_AUTO, nfilters, CTLFLAG_RDTUN,
267 &nfilters, 0, "max number of entries in the filter table");
1603 if (is_offload(sc) && nfilters != 0) { in cxgb_up()
1606 if (nfilters < 0) in cxgb_up()
1607 sc->params.mc5.nfilters = mxf; in cxgb_up()
1609 sc->params.mc5.nfilters = min(nfilters, mxf); in cxgb_up()
3049 unsigned int nfilters = sc->params.mc5.nfilters; in cxgb_extension_ioctl() local
3055 if (nfilters == 0) in cxgb_extension_ioctl()
3059 if (f->filter_id >= nfilters || in cxgb_extension_ioctl()
[all …]
/freebsd-13-stable/sys/dev/cxgbe/
HDt4_filter.c1077 int rc, nfilters; in del_tcamfilter() local
1084 nfilters = sc->tids.nhpftids; in del_tcamfilter()
1090 nfilters = sc->tids.nftids; in del_tcamfilter()
1097 if (t->idx >= nfilters) { in del_tcamfilter()
1412 int i, nfilters; in get_tcamfilter() local
1422 nfilters = sc->tids.nhpftids; in get_tcamfilter()
1429 nfilters = sc->tids.nftids; in get_tcamfilter()
1437 if (in_use == 0 || f == NULL || t->idx >= nfilters) { in get_tcamfilter()
1444 for (i = t->idx; i < nfilters; i++, f++) { in get_tcamfilter()
/freebsd-13-stable/sys/dev/cxgbe/common/
HDt4_hw.c8180 unsigned int nfilters = 0; in t4_alloc_mac_filt() local
8230 nfilters++; in t4_alloc_mac_filt()
8241 ret = nfilters; in t4_alloc_mac_filt()
8353 unsigned int nfilters = 0; in t4_free_mac_filt() local
8395 nfilters++; in t4_free_mac_filt()
8403 ret = nfilters; in t4_free_mac_filt()