Lines Matching full:smt
51 * whole plus a spinlock per SMT entry. Entry lookups and allocations happen
57 * parallel. An SMT entry can be dropped by decrementing its reference count
64 * lifetime of an SMT entry is fully contained in the lifetime of the TOE.
68 * Allocate a free SMT entry. Must be called with smt_data.lock held.
106 * Write an SMT entry. Must be called with the entry locked.
125 s = sc->smt; in t4_write_sme()
129 /* Source MAC Table (SMT) contains 256 SMAC entries in t4_write_sme()
144 * at prev index from smt-tab. in t4_write_sme()
153 * at next index from smt-tab in t4_write_sme()
160 /* Source MAC Table (SMT) contains 256 SMAC entries */ in t4_write_sme()
167 /* fill pfvf0/src_mac0 from smt-tab */ in t4_write_sme()
184 * Allocate an SMT entry for use by a switching rule.
199 * Sets/updates the contents of a switching SMT entry that has been allocated
236 rw_init(&s->lock, "SMT"); in t4_init_smt()
247 sc->smt = s; in t4_init_smt()
275 struct smt_entry *e = &sc->smt->smtab[smtidx]; in do_smt_write_rpl()
302 struct smt_data *smt = sc->smt; in sysctl_smt() local
307 if (smt == NULL) in sysctl_smt()
318 e = &smt->smtab[0]; in sysctl_smt()
319 for (i = 0; i < smt->smt_size; i++, e++) { in sysctl_smt()