/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/ |
H A D | provider.c | 149 if ((addr >= pci_resource_start(rdev->lldi.pdev, 0)) && in c4iw_mmap() 150 (addr < (pci_resource_start(rdev->lldi.pdev, 0) + in c4iw_mmap() 151 pci_resource_len(rdev->lldi.pdev, 0)))) { in c4iw_mmap() 160 } else if ((addr >= pci_resource_start(rdev->lldi.pdev, 2)) && in c4iw_mmap() 161 (addr < (pci_resource_start(rdev->lldi.pdev, 2) + in c4iw_mmap() 162 pci_resource_len(rdev->lldi.pdev, 2)))) { in c4iw_mmap() 170 if (!is_t4(rdev->lldi.adapter_type)) in c4iw_mmap() 251 memcpy(&(gid->raw[0]), dev->rdev.lldi.ports[port-1]->dev_addr, 6); in c4iw_query_gid() 267 memcpy(&props->sys_image_guid, dev->rdev.lldi.ports[0]->dev_addr, 6); in c4iw_query_device() 268 props->hw_ver = CHELSIO_CHIP_RELEASE(dev->rdev.lldi in c4iw_query_device() [all...] |
H A D | device.c | 102 le.poll_sge_ts = cxgb4_read_sge_timestamp(wq->rdev->lldi.ports[0]); in c4iw_log_wr_stats() 130 #define ts2ns(ts) div64_u64((ts) * dev->rdev.lldi.cclk_ps, 1000) in wr_log_show() 383 ret = cxgb4_read_tpte(stagd->devp->rdev.lldi.ports[0], (u32)id<<8, in dump_stag() 386 dev_err(&stagd->devp->rdev.lldi.pdev->dev, in dump_stag() 796 if (rdev->lldi.udb_density != rdev->lldi.ucq_density) { in c4iw_rdev_open() 798 pci_name(rdev->lldi.pdev), rdev->lldi.udb_density, in c4iw_rdev_open() 799 rdev->lldi.ucq_density); in c4iw_rdev_open() 802 if (rdev->lldi in c4iw_rdev_open() [all...] |
H A D | cm.c | 212 error = cxgb4_l2t_send(rdev->lldi.ports[0], skb, l2e); in c4iw_l2t_send() 229 error = cxgb4_ofld_send(rdev->lldi.ports[0], skb); in c4iw_ofld_send() 250 ep->emss = ep->com.dev->rdev.lldi.mtus[TCPOPT_MSS_G(opt)] - in set_emss() 401 ep->com.dev->rdev.lldi.ports[0], in _c4iw_free_ep() 405 cxgb4_remove_tid(ep->com.dev->rdev.lldi.tids, 0, ep->hwtid, in _c4iw_free_ep() 558 cxgb4_clip_release(ep->com.dev->rdev.lldi.ports[0], in act_open_req_arp_failure() 562 cxgb4_free_atid(ep->com.dev->rdev.lldi.tids, ep->atid); in act_open_req_arp_failure() 618 (ep->com.dev->rdev.lldi.pf)); in send_flowc() 736 enum chip_type adapter_type = ep->com.dev->rdev.lldi.adapter_type; in send_connect() 741 netdev = ep->com.dev->rdev.lldi in send_connect() [all...] |
H A D | resource.c | 43 rdev->lldi.vr->qp.start, in c4iw_init_qid_table() 44 rdev->lldi.vr->qp.size, in c4iw_init_qid_table() 45 rdev->lldi.vr->qp.size, 0)) in c4iw_init_qid_table() 48 for (i = rdev->lldi.vr->qp.start; in c4iw_init_qid_table() 49 i < rdev->lldi.vr->qp.start + rdev->lldi.vr->qp.size; i++) in c4iw_init_qid_table() 308 pbl_start = rdev->lldi.vr->pbl.start; in c4iw_pblpool_create() 309 pbl_chunk = rdev->lldi.vr->pbl.size; in c4iw_pblpool_create() 350 pci_name(rdev->lldi.pdev)); in c4iw_rqtpool_alloc() 395 if (rdev->lldi in c4iw_rqtpool_create() [all...] |
H A D | mem.c | 56 return (is_t4(dev->rdev.lldi.adapter_type) || in mr_exceeds_hw_limits() 57 is_t5(dev->rdev.lldi.adapter_type)) && in mr_exceeds_hw_limits() 92 T5_ULP_MEMIO_FID_V(rdev->lldi.rxq_ids[0])); in _c4iw_write_mem_dma_aligned() 120 if (is_t4(rdev->lldi.adapter_type)) in _c4iw_write_mem_inline() 200 daddr = dma_map_single(&rdev->lldi.pdev->dev, data, len, DMA_TO_DEVICE); in _c4iw_write_mem_dma() 201 if (dma_mapping_error(&rdev->lldi.pdev->dev, daddr)) in _c4iw_write_mem_dma() 226 dma_unmap_single(&rdev->lldi.pdev->dev, save, len, DMA_TO_DEVICE); in _c4iw_write_mem_dma() 240 if (!rdev->lldi.ulptx_memwrite_dsgl || !use_dsgl) { in write_adapter_mem() 255 pci_name(rdev->lldi.pdev)); in write_adapter_mem() 333 (rdev->lldi in write_tpt_entry() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/cxgb4/ |
H A D | provider.c | 150 if ((addr >= pci_resource_start(rdev->lldi.pdev, 0)) && in c4iw_mmap() 151 (addr < (pci_resource_start(rdev->lldi.pdev, 0) + in c4iw_mmap() 152 pci_resource_len(rdev->lldi.pdev, 0)))) { in c4iw_mmap() 161 } else if ((addr >= pci_resource_start(rdev->lldi.pdev, 2)) && in c4iw_mmap() 162 (addr < (pci_resource_start(rdev->lldi.pdev, 2) + in c4iw_mmap() 163 pci_resource_len(rdev->lldi.pdev, 2)))) { in c4iw_mmap() 171 if (!is_t4(rdev->lldi.adapter_type)) in c4iw_mmap() 252 memcpy(&(gid->raw[0]), dev->rdev.lldi.ports[port-1]->dev_addr, 6); in c4iw_query_gid() 269 dev->rdev.lldi.ports[0]->dev_addr); in c4iw_query_device() 270 props->hw_ver = CHELSIO_CHIP_RELEASE(dev->rdev.lldi in c4iw_query_device() [all...] |
H A D | device.c | 102 le.poll_sge_ts = cxgb4_read_sge_timestamp(wq->rdev->lldi.ports[0]); in c4iw_log_wr_stats() 130 #define ts2ns(ts) div64_u64((ts) * dev->rdev.lldi.cclk_ps, 1000) in wr_log_show() 383 ret = cxgb4_read_tpte(stagd->devp->rdev.lldi.ports[0], (u32)id<<8, in dump_stag() 386 dev_err(&stagd->devp->rdev.lldi.pdev->dev, in dump_stag() 796 if (rdev->lldi.udb_density != rdev->lldi.ucq_density) { in c4iw_rdev_open() 798 pci_name(rdev->lldi.pdev), rdev->lldi.udb_density, in c4iw_rdev_open() 799 rdev->lldi.ucq_density); in c4iw_rdev_open() 802 if (rdev->lldi in c4iw_rdev_open() [all...] |
H A D | cm.c | 212 error = cxgb4_l2t_send(rdev->lldi.ports[0], skb, l2e); in c4iw_l2t_send() 229 error = cxgb4_ofld_send(rdev->lldi.ports[0], skb); in c4iw_ofld_send() 250 ep->emss = ep->com.dev->rdev.lldi.mtus[TCPOPT_MSS_G(opt)] - in set_emss() 401 ep->com.dev->rdev.lldi.ports[0], in _c4iw_free_ep() 405 cxgb4_remove_tid(ep->com.dev->rdev.lldi.tids, 0, ep->hwtid, in _c4iw_free_ep() 558 cxgb4_clip_release(ep->com.dev->rdev.lldi.ports[0], in act_open_req_arp_failure() 562 cxgb4_free_atid(ep->com.dev->rdev.lldi.tids, ep->atid); in act_open_req_arp_failure() 618 (ep->com.dev->rdev.lldi.pf)); in send_flowc() 736 enum chip_type adapter_type = ep->com.dev->rdev.lldi.adapter_type; in send_connect() 741 netdev = ep->com.dev->rdev.lldi in send_connect() [all...] |
H A D | resource.c | 43 rdev->lldi.vr->qp.start, in c4iw_init_qid_table() 44 rdev->lldi.vr->qp.size, in c4iw_init_qid_table() 45 rdev->lldi.vr->qp.size, 0)) in c4iw_init_qid_table() 48 for (i = rdev->lldi.vr->qp.start; in c4iw_init_qid_table() 49 i < rdev->lldi.vr->qp.start + rdev->lldi.vr->qp.size; i++) in c4iw_init_qid_table() 308 pbl_start = rdev->lldi.vr->pbl.start; in c4iw_pblpool_create() 309 pbl_chunk = rdev->lldi.vr->pbl.size; in c4iw_pblpool_create() 350 pci_name(rdev->lldi.pdev)); in c4iw_rqtpool_alloc() 395 if (rdev->lldi in c4iw_rqtpool_create() [all...] |
H A D | mem.c | 56 return (is_t4(dev->rdev.lldi.adapter_type) || in mr_exceeds_hw_limits() 57 is_t5(dev->rdev.lldi.adapter_type)) && in mr_exceeds_hw_limits() 92 T5_ULP_MEMIO_FID_V(rdev->lldi.rxq_ids[0])); in _c4iw_write_mem_dma_aligned() 120 if (is_t4(rdev->lldi.adapter_type)) in _c4iw_write_mem_inline() 200 daddr = dma_map_single(&rdev->lldi.pdev->dev, data, len, DMA_TO_DEVICE); in _c4iw_write_mem_dma() 201 if (dma_mapping_error(&rdev->lldi.pdev->dev, daddr)) in _c4iw_write_mem_dma() 226 dma_unmap_single(&rdev->lldi.pdev->dev, save, len, DMA_TO_DEVICE); in _c4iw_write_mem_dma() 240 if (!rdev->lldi.ulptx_memwrite_dsgl || !use_dsgl) { in write_adapter_mem() 255 pci_name(rdev->lldi.pdev)); in write_adapter_mem() 333 (rdev->lldi in write_tpt_entry() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/cxgb4i/ |
H A D | cxgb4i.c | 210 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(csk->cdev); in send_act_open_req() local 230 if (is_t4(lldi->adapter_type)) { in send_act_open_req() 253 } else if (is_t5(lldi->adapter_type)) { in send_act_open_req() 319 CHELSIO_CHIP_VERSION(lldi->adapter_type), csk, in send_act_open_req() 329 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(csk->cdev); in send_act_open_req6() local 349 if (is_t4(lldi->adapter_type)) { in send_act_open_req6() 374 } else if (is_t5(lldi->adapter_type)) { in send_act_open_req6() 430 CHELSIO_CHIP_VERSION(lldi->adapter_type), csk, csk->state, in send_act_open_req6() 717 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev); in cxgb4i_make_tx_data_wr() local 725 u32 force = is_t5(lldi in cxgb4i_make_tx_data_wr() 881 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(csk->cdev); free_atid() local 897 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev); do_act_establish() local 991 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(csk->cdev); csk_act_open_retry_timer() local 1050 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev); do_act_open_rpl() local 1096 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev); do_peer_close() local 1117 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev); do_close_con_rpl() local 1156 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev); do_abort_req_rss() local 1204 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev); do_abort_rpl_rss() local 1228 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev); do_rx_data() local 1250 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev); do_rx_iscsi_hdr() local 1353 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev); do_rx_iscsi_data() local 1451 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev); do_rx_data_ddp() local 1515 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev); do_rx_iscsi_cmp() local 1607 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev); do_fw4_ack() local 1627 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev); do_set_tcb_rpl() local 1686 struct cxgb4_lld_info *lldi; release_offload_resources() local 1768 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev); init_act_open() local 1974 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev); ulp_mem_io_set_hdr() local 2153 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev); cxgb4i_ddp_init() local 2210 t4_uld_add(const struct cxgb4_lld_info *lldi) t4_uld_add() argument 2235 memcpy(cxgbi_cdev_priv(cdev), lldi, sizeof(*lldi)); t4_uld_add() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/cxgbi/cxgb4i/ |
H A D | cxgb4i.c | 211 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(csk->cdev); in send_act_open_req() local 231 if (is_t4(lldi->adapter_type)) { in send_act_open_req() 254 } else if (is_t5(lldi->adapter_type)) { in send_act_open_req() 320 CHELSIO_CHIP_VERSION(lldi->adapter_type), csk, in send_act_open_req() 330 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(csk->cdev); in send_act_open_req6() local 350 if (is_t4(lldi->adapter_type)) { in send_act_open_req6() 375 } else if (is_t5(lldi->adapter_type)) { in send_act_open_req6() 431 CHELSIO_CHIP_VERSION(lldi->adapter_type), csk, csk->state, in send_act_open_req6() 718 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev); in cxgb4i_make_tx_data_wr() local 726 u32 force = is_t5(lldi in cxgb4i_make_tx_data_wr() 882 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(csk->cdev); free_atid() local 898 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev); do_act_establish() local 992 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(csk->cdev); csk_act_open_retry_timer() local 1051 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev); do_act_open_rpl() local 1097 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev); do_peer_close() local 1118 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev); do_close_con_rpl() local 1157 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev); do_abort_req_rss() local 1205 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev); do_abort_rpl_rss() local 1229 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev); do_rx_data() local 1251 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev); do_rx_iscsi_hdr() local 1354 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev); do_rx_iscsi_data() local 1452 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev); do_rx_data_ddp() local 1516 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev); do_rx_iscsi_cmp() local 1608 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev); do_fw4_ack() local 1628 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev); do_set_tcb_rpl() local 1687 struct cxgb4_lld_info *lldi; release_offload_resources() local 1769 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev); init_act_open() local 1975 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev); ulp_mem_io_set_hdr() local 2154 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev); cxgb4i_ddp_init() local 2211 t4_uld_add(const struct cxgb4_lld_info *lldi) t4_uld_add() argument 2236 memcpy(cxgbi_cdev_priv(cdev), lldi, sizeof(*lldi)); t4_uld_add() local [all...] |
/kernel/linux/linux-5.10/drivers/target/iscsi/cxgbit/ |
H A D | cxgbit_cm.c | 63 func, pci_name(cdev->lldi.pdev), tid); in cxgbit_wait_for_reply() 69 pci_name(cdev->lldi.pdev), wr_waitp->ret, tid); in cxgbit_wait_for_reply() 153 __func__, cdev->lldi.ports[0]->name, stid, sin6->sin6_port); in cxgbit_create_server6() 158 ret = cxgb4_clip_get(cdev->lldi.ports[0], in cxgbit_create_server6() 170 ret = cxgb4_create_server6(cdev->lldi.ports[0], in cxgbit_create_server6() 173 cdev->lldi.rxq_ids[0]); in cxgbit_create_server6() 184 cxgb4_clip_release(cdev->lldi.ports[0], in cxgbit_create_server6() 204 __func__, cdev->lldi.ports[0]->name, stid, sin->sin_port); in cxgbit_create_server4() 209 ret = cxgb4_create_server(cdev->lldi.ports[0], in cxgbit_create_server4() 212 cdev->lldi in cxgbit_create_server4() 234 struct cxgb4_lld_info *lldi = &cdev->lldi; cxgbit_find_device() local 1133 struct cxgb4_lld_info *lldi = &csk->com.cdev->lldi; cxgbit_pass_accept_rpl() local 1904 struct cxgb4_lld_info *lldi = &cdev->lldi; cxgbit_set_tcb_rpl() local 1925 struct cxgb4_lld_info *lldi = &cdev->lldi; cxgbit_rx_data() local 1965 struct cxgb4_lld_info *lldi = &cdev->lldi; cxgbit_rx_cpl() local [all...] |
H A D | cxgbit_ddp.c | 298 struct cxgb4_lld_info *lldi = &cdev->lldi; in cxgbit_ddp_init() local 299 struct net_device *ndev = cdev->lldi.ports[0]; in cxgbit_ddp_init() 303 if (!lldi->vr->iscsi.size) { in cxgbit_ddp_init() 310 tformat.pgsz_order[i] = (lldi->iscsi_pgsz_order >> (i << 3)) in cxgbit_ddp_init() 312 cxgbi_tagmask_check(lldi->iscsi_tagmask, &tformat); in cxgbit_ddp_init() 314 ret = cxgbi_ppm_init(lldi->iscsi_ppm, cdev->lldi.ports[0], in cxgbit_ddp_init() 315 cdev->lldi.pdev, &cdev->lldi, in cxgbit_ddp_init() [all...] |
H A D | cxgbit_main.c | 33 struct cxgb4_lld_info *lldi = &cdev->lldi; in cxgbit_set_mdsl() local 38 mdsl = min_t(u32, lldi->iscsi_iolen - ISCSI_PDU_NONPAYLOAD_LEN, in cxgbit_set_mdsl() 46 static void *cxgbit_uld_add(const struct cxgb4_lld_info *lldi) in cxgbit_uld_add() argument 50 if (is_t4(lldi->adapter_type)) in cxgbit_uld_add() 60 cdev->lldi = *lldi; in cxgbit_uld_add() 71 pci_name(lldi->pdev)); in cxgbit_uld_add() 73 if (lldi->fw_vers >= 0x10d2b00) in cxgbit_uld_add() 84 pci_name(lldi in cxgbit_uld_add() 432 struct cxgb4_lld_info *lldi = &cdev->lldi; cxgbit_uld_lro_rx_handler() local [all...] |
/kernel/linux/linux-6.6/drivers/target/iscsi/cxgbit/ |
H A D | cxgbit_cm.c | 63 func, pci_name(cdev->lldi.pdev), tid); in cxgbit_wait_for_reply() 69 pci_name(cdev->lldi.pdev), wr_waitp->ret, tid); in cxgbit_wait_for_reply() 153 __func__, cdev->lldi.ports[0]->name, stid, sin6->sin6_port); in cxgbit_create_server6() 158 ret = cxgb4_clip_get(cdev->lldi.ports[0], in cxgbit_create_server6() 170 ret = cxgb4_create_server6(cdev->lldi.ports[0], in cxgbit_create_server6() 173 cdev->lldi.rxq_ids[0]); in cxgbit_create_server6() 184 cxgb4_clip_release(cdev->lldi.ports[0], in cxgbit_create_server6() 204 __func__, cdev->lldi.ports[0]->name, stid, sin->sin_port); in cxgbit_create_server4() 209 ret = cxgb4_create_server(cdev->lldi.ports[0], in cxgbit_create_server4() 212 cdev->lldi in cxgbit_create_server4() 234 struct cxgb4_lld_info *lldi = &cdev->lldi; cxgbit_find_device() local 1135 struct cxgb4_lld_info *lldi = &csk->com.cdev->lldi; cxgbit_pass_accept_rpl() local 1902 struct cxgb4_lld_info *lldi = &cdev->lldi; cxgbit_set_tcb_rpl() local 1923 struct cxgb4_lld_info *lldi = &cdev->lldi; cxgbit_rx_data() local 1963 struct cxgb4_lld_info *lldi = &cdev->lldi; cxgbit_rx_cpl() local [all...] |
H A D | cxgbit_main.c | 33 struct cxgb4_lld_info *lldi = &cdev->lldi; in cxgbit_set_mdsl() local 38 if (is_t5(lldi->adapter_type)) { in cxgbit_set_mdsl() 39 mdsl = min_t(u32, lldi->iscsi_iolen - CXGBIT_PDU_NONPAYLOAD_LEN, in cxgbit_set_mdsl() 42 mdsl = lldi->iscsi_iolen - CXGBIT_PDU_NONPAYLOAD_LEN; in cxgbit_set_mdsl() 53 static void *cxgbit_uld_add(const struct cxgb4_lld_info *lldi) in cxgbit_uld_add() argument 57 if (is_t4(lldi->adapter_type)) in cxgbit_uld_add() 67 cdev->lldi = *lldi; in cxgbit_uld_add() 78 pci_name(lldi in cxgbit_uld_add() 439 struct cxgb4_lld_info *lldi = &cdev->lldi; cxgbit_uld_lro_rx_handler() local [all...] |
H A D | cxgbit_ddp.c | 298 struct cxgb4_lld_info *lldi = &cdev->lldi; in cxgbit_ddp_init() local 299 struct net_device *ndev = cdev->lldi.ports[0]; in cxgbit_ddp_init() 303 if (!lldi->vr->iscsi.size) { in cxgbit_ddp_init() 310 tformat.pgsz_order[i] = (lldi->iscsi_pgsz_order >> (i << 3)) in cxgbit_ddp_init() 312 cxgbi_tagmask_check(lldi->iscsi_tagmask, &tformat); in cxgbit_ddp_init() 314 ret = cxgbi_ppm_init(lldi->iscsi_ppm, cdev->lldi.ports[0], in cxgbit_ddp_init() 315 cdev->lldi.pdev, &cdev->lldi, in cxgbit_ddp_init() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
H A D | chtls_main.c | 136 for (i = 0; i < cdev->lldi->nports; i++) { in chtls_inline_feature() 170 kfree(cdev->lldi); in chtls_free_uld() 197 strlcat(tlsdev->name, cdev->lldi->ports[0]->name, in chtls_register_dev() 237 struct cxgb4_lld_info *lldi; in chtls_uld_add() local 245 lldi = kzalloc(sizeof(*lldi), GFP_KERNEL); in chtls_uld_add() 246 if (!lldi) in chtls_uld_add() 252 *lldi = *info; in chtls_uld_add() 253 cdev->lldi = lldi; in chtls_uld_add() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
H A D | chtls_main.c | 136 for (i = 0; i < cdev->lldi->nports; i++) { in chtls_inline_feature() 170 kfree(cdev->lldi); in chtls_free_uld() 197 strlcat(tlsdev->name, cdev->lldi->ports[0]->name, in chtls_register_dev() 237 struct cxgb4_lld_info *lldi; in chtls_uld_add() local 245 lldi = kzalloc(sizeof(*lldi), GFP_KERNEL); in chtls_uld_add() 246 if (!lldi) in chtls_uld_add() 252 *lldi = *info; in chtls_uld_add() 253 cdev->lldi = lldi; in chtls_uld_add() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/libcxgb/ |
H A D | libcxgb_cm.c | 78 cxgb_our_interface(struct cxgb4_lld_info *lldi, in cxgb_our_interface() argument 85 for (i = 0; i < lldi->nports; i++) in cxgb_our_interface() 86 if (lldi->ports[i] == egress_dev) in cxgb_our_interface() 92 cxgb_find_route(struct cxgb4_lld_info *lldi, in cxgb_find_route() argument 109 if (!cxgb_our_interface(lldi, get_real_dev, n->dev) && in cxgb_find_route() 121 cxgb_find_route6(struct cxgb4_lld_info *lldi, in cxgb_find_route6() argument 138 (!cxgb_our_interface(lldi, get_real_dev, in cxgb_find_route6()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/libcxgb/ |
H A D | libcxgb_cm.c | 78 cxgb_our_interface(struct cxgb4_lld_info *lldi, in cxgb_our_interface() argument 85 for (i = 0; i < lldi->nports; i++) in cxgb_our_interface() 86 if (lldi->ports[i] == egress_dev) in cxgb_our_interface() 92 cxgb_find_route(struct cxgb4_lld_info *lldi, in cxgb_find_route() argument 109 if (!cxgb_our_interface(lldi, get_real_dev, n->dev) && in cxgb_find_route() 121 cxgb_find_route6(struct cxgb4_lld_info *lldi, in cxgb_find_route6() argument 138 (!cxgb_our_interface(lldi, get_real_dev, in cxgb_find_route6()
|
/kernel/linux/linux-5.10/drivers/crypto/chelsio/ |
H A D | chcr_algo.c | 774 qid = u_ctx->lldi.rxq_ids[rxqidx]; in create_wreq() 775 fid = u_ctx->lldi.rxq_ids[0]; in create_wreq() 778 rx_channel_id = cxgb4_port_e2cchan(u_ctx->lldi.ports[portno]); in create_wreq() 826 rx_channel_id = cxgb4_port_e2cchan(u_ctx->lldi.ports[rx_channel_id]); in create_cipher_wr() 1181 chcr_cipher_dma_unmap(&ULD_CTX(c_ctx(tfm))->lldi.pdev->dev, in chcr_handle_cipher_resp() 1204 chcr_cipher_dma_unmap(&ULD_CTX(c_ctx(tfm))->lldi.pdev->dev, in chcr_handle_cipher_resp() 1216 wrparam.qid = u_ctx->lldi.rxq_ids[reqctx->rxqidx]; in chcr_handle_cipher_resp() 1225 skb->dev = u_ctx->lldi.ports[0]; in chcr_handle_cipher_resp() 1237 chcr_cipher_dma_unmap(&ULD_CTX(c_ctx(tfm))->lldi.pdev->dev, req); in chcr_handle_cipher_resp() 1281 err = chcr_cipher_dma_map(&ULD_CTX(c_ctx(tfm))->lldi in process_cipher() [all...] |
H A D | chcr_core.h | 108 struct cxgb4_lld_info lldi; member 128 return pci_get_drvdata(u_ctx->lldi.pdev); in padap()
|
/kernel/linux/linux-6.6/drivers/crypto/chelsio/ |
H A D | chcr_algo.c | 770 qid = u_ctx->lldi.rxq_ids[rxqidx]; in create_wreq() 771 fid = u_ctx->lldi.rxq_ids[0]; in create_wreq() 774 rx_channel_id = cxgb4_port_e2cchan(u_ctx->lldi.ports[portno]); in create_wreq() 819 rx_channel_id = cxgb4_port_e2cchan(u_ctx->lldi.ports[rx_channel_id]); in create_cipher_wr() 1174 chcr_cipher_dma_unmap(&ULD_CTX(c_ctx(tfm))->lldi.pdev->dev, in chcr_handle_cipher_resp() 1197 chcr_cipher_dma_unmap(&ULD_CTX(c_ctx(tfm))->lldi.pdev->dev, in chcr_handle_cipher_resp() 1209 wrparam.qid = u_ctx->lldi.rxq_ids[reqctx->rxqidx]; in chcr_handle_cipher_resp() 1218 skb->dev = u_ctx->lldi.ports[0]; in chcr_handle_cipher_resp() 1230 chcr_cipher_dma_unmap(&ULD_CTX(c_ctx(tfm))->lldi.pdev->dev, req); in chcr_handle_cipher_resp() 1274 err = chcr_cipher_dma_map(&ULD_CTX(c_ctx(tfm))->lldi in process_cipher() [all...] |