Home
last modified time | relevance | path

Searched refs:smt_idx (Results 1 - 25 of 28) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/
H A Dl2t.c102 req->params = htonl(V_L2T_W_IDX(e->idx) | V_L2T_W_IFF(e->smt_idx) | in setup_l2e_send_pending()
312 int smt_idx; in t3_l2t_get() local
325 smt_idx = p->port_id; in t3_l2t_get()
336 e->smt_idx == smt_idx) { in t3_l2t_get()
352 e->smt_idx = smt_idx; in t3_l2t_get()
H A Dl2t.h62 u16 smt_idx; /* SMT index */ member
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb3/
H A Dl2t.c102 req->params = htonl(V_L2T_W_IDX(e->idx) | V_L2T_W_IFF(e->smt_idx) | in setup_l2e_send_pending()
312 int smt_idx; in t3_l2t_get() local
325 smt_idx = p->port_id; in t3_l2t_get()
336 e->smt_idx == smt_idx) { in t3_l2t_get()
352 e->smt_idx = smt_idx; in t3_l2t_get()
H A Dl2t.h62 u16 smt_idx; /* SMT index */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_mps.c131 bool persistent, u8 *smt_idx) in cxgb4_update_mac_filt()
136 addr, persistent, smt_idx); in cxgb4_update_mac_filt()
129 cxgb4_update_mac_filt(struct port_info *pi, unsigned int viid, int *tcam_idx, const u8 *addr, bool persistent, u8 *smt_idx) cxgb4_update_mac_filt() argument
H A Dcxgb4.h689 u8 smt_idx; member
2027 int idx, const u8 *addr, bool persist, u8 *smt_idx);
2143 bool persistent, u8 *smt_idx);
2177 bool persistent, u8 *smt_idx);
H A Dt4_hw.c8158 * @smt_idx: the destination to store the new SMT index.
8170 int idx, const u8 *addr, bool persist, u8 *smt_idx) in t4_change_mac()
8179 mode = smt_idx ? FW_VI_MAC_SMT_AND_MPSTCAM : FW_VI_MAC_MPS_TCAM_ENTRY; in t4_change_mac()
8196 if (smt_idx) { in t4_change_mac()
8198 *smt_idx = FW_VI_MAC_CMD_SMTID_G in t4_change_mac()
8208 *smt_idx = (viid & FW_VIID_VIN_M) << 1; in t4_change_mac()
8210 *smt_idx = (viid & FW_VIID_VIN_M); in t4_change_mac()
8169 t4_change_mac(struct adapter *adap, unsigned int mbox, unsigned int viid, int idx, const u8 *addr, bool persist, u8 *smt_idx) t4_change_mac() argument
H A Dcxgb4_main.c452 * @smt_idx: the destination to store the new SMT index.
463 u8 *smt_idx) in cxgb4_change_mac()
470 *tcam_idx, addr, persist, smt_idx); in cxgb4_change_mac()
519 dev->dev_addr, true, &pi->smt_idx); in link_start()
3469 addr->sa_data, true, &pi->smt_idx); in cxgb_set_mac_addr()
461 cxgb4_change_mac(struct port_info *pi, unsigned int viid, int *tcam_idx, const u8 *addr, bool persist, u8 *smt_idx) cxgb4_change_mac() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_mps.c131 bool persistent, u8 *smt_idx) in cxgb4_update_mac_filt()
136 addr, persistent, smt_idx); in cxgb4_update_mac_filt()
129 cxgb4_update_mac_filt(struct port_info *pi, unsigned int viid, int *tcam_idx, const u8 *addr, bool persistent, u8 *smt_idx) cxgb4_update_mac_filt() argument
H A Dcxgb4.h687 u8 smt_idx; member
2023 int idx, const u8 *addr, bool persist, u8 *smt_idx);
2139 bool persistent, u8 *smt_idx);
2173 bool persistent, u8 *smt_idx);
H A Dt4_hw.c8127 * @smt_idx: the destination to store the new SMT index.
8139 int idx, const u8 *addr, bool persist, u8 *smt_idx) in t4_change_mac()
8148 mode = smt_idx ? FW_VI_MAC_SMT_AND_MPSTCAM : FW_VI_MAC_MPS_TCAM_ENTRY; in t4_change_mac()
8165 if (smt_idx) { in t4_change_mac()
8167 *smt_idx = FW_VI_MAC_CMD_SMTID_G in t4_change_mac()
8177 *smt_idx = (viid & FW_VIID_VIN_M) << 1; in t4_change_mac()
8179 *smt_idx = (viid & FW_VIID_VIN_M); in t4_change_mac()
8138 t4_change_mac(struct adapter *adap, unsigned int mbox, unsigned int viid, int idx, const u8 *addr, bool persist, u8 *smt_idx) t4_change_mac() argument
H A Dcxgb4_main.c451 * @smt_idx: the destination to store the new SMT index.
462 u8 *smt_idx) in cxgb4_change_mac()
469 *tcam_idx, addr, persist, smt_idx); in cxgb4_change_mac()
518 dev->dev_addr, true, &pi->smt_idx); in link_start()
3466 addr->sa_data, true, &pi->smt_idx); in cxgb_set_mac_addr()
460 cxgb4_change_mac(struct port_info *pi, unsigned int viid, int *tcam_idx, const u8 *addr, bool persist, u8 *smt_idx) cxgb4_change_mac() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
H A Dchcr_ktls.h62 u8 smt_idx; member
H A Dchcr_ktls.c212 SMAC_SEL_V(tx_info->smt_idx) | TX_CHAN_V(tx_info->tx_chan); in chcr_ktls_act_open_req()
264 SMAC_SEL_V(tx_info->smt_idx) | TX_CHAN_V(tx_info->tx_chan); in chcr_ktls_act_open_req6()
469 tx_info->smt_idx = pi->smt_idx; in chcr_ktls_dev_add()
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
H A Dchcr_ktls.h62 u8 smt_idx; member
H A Dchcr_ktls.c206 SMAC_SEL_V(tx_info->smt_idx) | TX_CHAN_V(tx_info->tx_chan); in chcr_ktls_act_open_req()
258 SMAC_SEL_V(tx_info->smt_idx) | TX_CHAN_V(tx_info->tx_chan); in chcr_ktls_act_open_req6()
463 tx_info->smt_idx = pi->smt_idx; in chcr_ktls_dev_add()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dsmp.c94 smt_idx, enumerator
1548 powerpc_topology[smt_idx].mask = smallcore_smt_mask; in fixup_topology()
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dsmp.c98 smt_idx, enumerator
1692 powerpc_topology[smt_idx].mask = smallcore_smt_mask; in fixup_topology()
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/cxgb3i/
H A Dcxgb3i.c175 V_L2T_IDX(e->idx) | V_TX_CHANNEL(e->smt_idx)); in send_act_open_req()
184 csk->mss_idx, e->idx, e->smt_idx); in send_act_open_req()
368 req->param = htonl(V_TX_PORT(l2t->smt_idx)); in make_tx_data_wr()
/kernel/linux/linux-6.6/drivers/scsi/cxgbi/cxgb3i/
H A Dcxgb3i.c176 V_L2T_IDX(e->idx) | V_TX_CHANNEL(e->smt_idx)); in send_act_open_req()
185 csk->mss_idx, e->idx, e->smt_idx); in send_act_open_req()
369 req->param = htonl(V_TX_PORT(l2t->smt_idx)); in make_tx_data_wr()
/kernel/linux/linux-5.10/drivers/target/iscsi/cxgbit/
H A Dcxgbit_cm.c938 ((struct port_info *)netdev_priv(ndev))->smt_idx; in cxgbit_offload_init()
974 ((struct port_info *)netdev_priv(ndev))->smt_idx; in cxgbit_offload_init()
/kernel/linux/linux-6.6/drivers/target/iscsi/cxgbit/
H A Dcxgbit_cm.c940 ((struct port_info *)netdev_priv(ndev))->smt_idx; in cxgbit_offload_init()
976 ((struct port_info *)netdev_priv(ndev))->smt_idx; in cxgbit_offload_init()
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/
H A Dcm.c2110 ep->smac_idx = ((struct port_info *)netdev_priv(pdev))->smt_idx; in import_ep()
2129 ep->smac_idx = ((struct port_info *)netdev_priv(pdev))->smt_idx; in import_ep()
/kernel/linux/linux-6.6/drivers/infiniband/hw/cxgb4/
H A Dcm.c2110 ep->smac_idx = ((struct port_info *)netdev_priv(pdev))->smt_idx; in import_ep()
2129 ep->smac_idx = ((struct port_info *)netdev_priv(pdev))->smt_idx; in import_ep()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_cm.c1236 csk->smac_idx = ((struct port_info *)netdev_priv(ndev))->smt_idx; in chtls_recv_sock()

Completed in 91 milliseconds

12