Home
last modified time | relevance | path

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

/freebsd/sys/dev/cxgbe/common/
H A Dt4_hw.c8430 int idx, const u8 *addr, bool persist, uint16_t *smt_idx) in t4_change_mac() argument
8439 mode = smt_idx ? FW_VI_MAC_SMT_AND_MPSTCAM : FW_VI_MAC_MPS_TCAM_ENTRY; in t4_change_mac()
8456 if (smt_idx) { in t4_change_mac()
8458 *smt_idx = G_FW_VI_MAC_CMD_SMTID(be32_to_cpu(c.op_to_viid)); in t4_change_mac()
8461 *smt_idx = (viid & M_FW_VIID_VIN) << 1; in t4_change_mac()
8463 *smt_idx = viid & M_FW_VIID_VIN; in t4_change_mac()
11474 int idx, const u8 *addr, bool persist, u8 *smt_idx, bool smac) in t4_add_mac() argument
11483 mode = smt_idx ? FW_VI_MAC_SMT_AND_MPSTCAM : FW_VI_MAC_MPS_TCAM_ENTRY; in t4_add_mac()
11502 if (smt_idx) { in t4_add_mac()
11505 *smt_idx = G_FW_VI_MAC_CMD_SMTID(be32_to_cpu(c.op_to_viid)); in t4_add_mac()
[all …]
H A Dcommon.h838 int idx, const u8 *addr, bool persist, uint16_t *smt_idx);
842 int idx, const u8 *addr, bool persist, u8 *smt_idx, bool smac);
/freebsd/sys/dev/cxgbe/crypto/
H A Dt6_kern_tls.c169 options |= V_SMAC_SEL(vi->smt_idx) | V_TX_CHAN(vi->pi->tx_chan); in mk_ktls_act_open_req()
204 options |= V_SMAC_SEL(vi->smt_idx) | V_TX_CHAN(vi->pi->tx_chan); in mk_ktls_act_open_req6()
/freebsd/sys/dev/cxgbe/
H A Dadapter.h207 uint16_t smt_idx; member
H A Dt4_main.c6339 ucaddr, true, &vi->smt_idx); in update_mac_settings()
/freebsd/sys/dev/cxgbe/tom/
H A Dt4_tom.c1141 opt0 |= V_SMAC_SEL(vi->smt_idx); in calc_options0()