Searched refs:smt_idx (Results 1 - 11 of 11) sorted by path

/freebsd-11-stable/sys/dev/cxgb/ulp/iw_cxgb/
H A Diw_cxgb_qp.c877 init_attr.chan = toep->tp_l2t->smt_idx;
/freebsd-11-stable/sys/dev/cxgb/ulp/tom/
H A Dcxgb_cpl_io.c364 req->param = htonl(V_TX_PORT(toep->tp_l2t->smt_idx));
850 opt0h |= V_L2T_IDX(e->idx) | V_TX_CHANNEL(e->smt_idx);
H A Dcxgb_l2t.c85 struct port_info *pi = &sc->port[e->smt_idx]; /* smt_idx is port_id */
98 req->params = htonl(V_L2T_W_IDX(e->idx) | V_L2T_W_IFF(e->smt_idx) |
334 unsigned int smt_idx = pi->port_id; local
338 if (e->addr == addr && e->ifp == ifp && e->smt_idx == smt_idx) {
354 e->smt_idx = smt_idx;
H A Dcxgb_l2t.h62 uint16_t smt_idx; /* SMT index */ member in struct:l2t_entry
/freebsd-11-stable/sys/dev/cxgbe/tom/
H A Dt4_tom_l2t.c355 u_int hash, smt_idx = pi->port_id; local
370 e->smt_idx == smt_idx) {
386 e->smt_idx = smt_idx;
H A Dt4_tom.c608 V_L2T_IDX(e->idx) | V_SMAC_SEL(vi->smt_idx) |
/freebsd-11-stable/sys/dev/cxgbe/
H A Dadapter.h196 uint16_t smt_idx; member in struct:vi_info
H A Dt4_l2t.h67 uint16_t smt_idx; /* SMT index */ member in struct:l2t_entry
H A Dt4_main.c4777 ucaddr, true, &vi->smt_idx);
/freebsd-11-stable/sys/dev/cxgbe/common/
H A Dcommon.h773 int idx, const u8 *addr, bool persist, uint16_t *smt_idx);
H A Dt4_hw.c8078 * @smt_idx: add MAC to SMT and return its index, or NULL
8093 int idx, const u8 *addr, bool persist, uint16_t *smt_idx)
8102 mode = smt_idx ? FW_VI_MAC_SMT_AND_MPSTCAM : FW_VI_MAC_MPS_TCAM_ENTRY;
8119 if (smt_idx) {
8121 *smt_idx = G_FW_VI_MAC_CMD_SMTID(be32_to_cpu(c.op_to_viid));
8124 *smt_idx = (viid & M_FW_VIID_VIN) << 1;
8126 *smt_idx = viid & M_FW_VIID_VIN;
8092 t4_change_mac(struct adapter *adap, unsigned int mbox, unsigned int viid, int idx, const u8 *addr, bool persist, uint16_t *smt_idx) argument

Completed in 263 milliseconds