Home
last modified time | relevance | path

Searched refs:hwtid (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.4/arch/mips/netlogic/common/
Dsmp.c63 unsigned int hwtid; in nlm_send_ipi_single() local
67 hwtid = cpu_logical_map(logical_cpu); in nlm_send_ipi_single()
68 picbase = nlm_get_node(nlm_hwtid_to_node(hwtid))->picbase; in nlm_send_ipi_single()
71 nlm_pic_send_ipi(picbase, hwtid, IRQ_IPI_SMP_FUNCTION, 0); in nlm_send_ipi_single()
73 nlm_pic_send_ipi(picbase, hwtid, IRQ_IPI_SMP_RESCHEDULE, 0); in nlm_send_ipi_single()
122 int hwtid; in nlm_init_secondary() local
124 hwtid = hard_smp_processor_id(); in nlm_init_secondary()
125 cpu_set_core(&current_cpu_data, hwtid / NLM_THREADS_PER_CORE); in nlm_init_secondary()
127 nlm_percpu_init(hwtid); in nlm_init_secondary()
128 nlm_smp_irq_init(hwtid); in nlm_init_secondary()
[all …]
Dirq.c233 void nlm_smp_irq_init(int hwtid) in nlm_smp_irq_init() argument
237 cpu = hwtid % nlm_threads_per_node(); in nlm_smp_irq_init()
238 node = hwtid / nlm_threads_per_node(); in nlm_smp_irq_init()
/Linux-v5.4/drivers/infiniband/hw/cxgb3/
Diwch_cm.c169 static void release_tid(struct t3cdev *tdev, u32 hwtid, struct sk_buff *skb) in release_tid() argument
178 OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_TID_RELEASE, hwtid)); in release_tid()
193 req->wr.wr_lo = htonl(V_WR_TID(ep->hwtid)); in iwch_quiesce_tid()
194 OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_SET_TCB_FIELD, ep->hwtid)); in iwch_quiesce_tid()
214 req->wr.wr_lo = htonl(V_WR_TID(ep->hwtid)); in iwch_resume_tid()
215 OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_SET_TCB_FIELD, ep->hwtid)); in iwch_resume_tid()
286 cxgb3_remove_tid(ep->com.tdev, (void *)ep, ep->hwtid); in __free_ep()
295 pr_debug("%s ep %p tid %d\n", __func__, ep, ep->hwtid); in release_ep_resources()
401 req->wr.wr_lo = htonl(V_WR_TID(ep->hwtid)); in send_halfclose()
402 OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_CLOSE_CON_REQ, ep->hwtid)); in send_halfclose()
[all …]
Diwch_cm.h180 u32 hwtid; member
Diwch_qp.c683 wqe->send.wrh.gen_tid_len = cpu_to_be32(V_FW_RIWR_TID(ep->hwtid)| in iwch_post_zb_read()
715 wqe->send.wrh.gen_tid_len = cpu_to_be32(V_FW_RIWR_TID(qhp->ep->hwtid)); in iwch_post_terminate()
822 init_attr.tid = qhp->ep->hwtid; in rdma_init()
/Linux-v5.4/drivers/infiniband/hw/cxgb4/
Dcm.c235 static void release_tid(struct c4iw_rdev *rdev, u32 hwtid, struct sk_buff *skb) in release_tid() argument
243 cxgb_mk_tid_release(skb, len, hwtid, 0); in release_tid()
335 __xa_erase(&ep->com.dev->hwtids, ep->hwtid); in remove_ep_tid()
347 err = __xa_insert(&ep->com.dev->hwtids, ep->hwtid, ep, GFP_KERNEL); in insert_ep_tid()
405 cxgb4_remove_tid(ep->com.dev->rdev.lldi.tids, 0, ep->hwtid, in _c4iw_free_ep()
427 if (ep->hwtid != -1) in release_ep_resources()
539 ep->hwtid); in pass_accept_rpl_arp_failure()
614 FW_WR_FLOWID_V(ep->hwtid)); in send_flowc()
651 pr_debug("ep %p tid %u\n", ep, ep->hwtid); in send_halfclose()
655 cxgb_mk_close_con_req(skb, wrlen, ep->hwtid, ep->txq_idx, in send_halfclose()
[all …]
Diw_cxgb4.h261 u32 hwtid, u32 qpid, in c4iw_wait_for_reply() argument
274 func, pci_name(rdev->lldi.pdev), hwtid, qpid); in c4iw_wait_for_reply()
281 pci_name(rdev->lldi.pdev), wr_waitp->ret, hwtid, qpid); in c4iw_wait_for_reply()
291 u32 hwtid, u32 qpid, in c4iw_ref_send_wait() argument
296 pr_debug("%s wr_wait %p hwtid %u qpid %u\n", func, wr_waitp, hwtid, in c4iw_ref_send_wait()
304 return c4iw_wait_for_reply(rdev, wr_waitp, hwtid, qpid, func); in c4iw_ref_send_wait()
885 u32 hwtid; member
Dqp.c1567 qhp->ep->hwtid); in post_terminate()
1578 FW_WR_FLOWID_V(qhp->ep->hwtid) | in post_terminate()
1698 pr_debug("qhp %p qid 0x%x tid %u\n", qhp, qhp->wq.sq.qid, ep->hwtid); in rdma_fini()
1711 FW_WR_FLOWID_V(ep->hwtid) | in rdma_fini()
1718 qhp->ep->hwtid, qhp->wq.sq.qid, __func__); in rdma_fini()
1755 qhp->wq.sq.qid, qhp->ep->hwtid, qhp->ep->ird, qhp->ep->ord); in rdma_init()
1775 FW_WR_FLOWID_V(qhp->ep->hwtid) | in rdma_init()
1821 qhp->ep->hwtid, qhp->wq.sq.qid, __func__); in rdma_init()
Ddevice.c275 ep->hwtid, (int)ep->com.state, in dump_qp()
295 ep->hwtid, (int)ep->com.state, in dump_qp()
581 ep->com.history, ep->hwtid, ep->atid, in dump_ep()
602 ep->com.history, ep->hwtid, ep->atid, in dump_ep()
Drestrack.c250 if (rdma_nl_put_driver_u32(msg, "hwtid", ep->hwtid)) in fill_res_ep_entry()
/Linux-v5.4/arch/mips/include/asm/netlogic/
Dcommon.h125 static inline int nlm_hwtid_to_node(int hwtid) in nlm_hwtid_to_node() argument
127 return hwtid / nlm_threads_per_node(); in nlm_hwtid_to_node()
/Linux-v5.4/drivers/crypto/chelsio/chtls/
Dchtls_cm.c1409 unsigned int hwtid; in chtls_pass_establish() local
1411 hwtid = GET_TID(req); in chtls_pass_establish()
1412 sk = lookup_tid(cdev->tids, hwtid); in chtls_pass_establish()
1557 unsigned int hwtid = GET_TID(req); in chtls_rx_data() local
1560 sk = lookup_tid(cdev->tids, hwtid); in chtls_rx_data()
1562 pr_err("can't find conn. for hwtid %u.\n", hwtid); in chtls_rx_data()
1609 unsigned int hwtid = GET_TID(req); in chtls_rx_pdu() local
1612 sk = lookup_tid(cdev->tids, hwtid); in chtls_rx_pdu()
1614 pr_err("can't find conn. for hwtid %u.\n", hwtid); in chtls_rx_pdu()
1678 unsigned int hwtid = GET_TID(req); in chtls_rx_cmp() local
[all …]
Dchtls.h202 u32 hwtid; /* TCP Control Block ID */ member
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_offload.c780 unsigned int hwtid = G_TID(ntohl(p->opcode_tid)); in do_hwtid_rpl() local
783 t3c_tid = lookup_tid(&(T3C_DATA(dev))->tid_maps, hwtid); in do_hwtid_rpl()
847 unsigned int hwtid = G_TID(ntohl(p->opcode_tid)); in do_abort_req_rss() local
850 t3c_tid = lookup_tid(&(T3C_DATA(dev))->tid_maps, hwtid); in do_abort_req_rss()
946 unsigned int hwtid = get_hwtid(skb); in do_term() local
950 t3c_tid = lookup_tid(&(T3C_DATA(dev))->tid_maps, hwtid); in do_term()