Lines Matching defs:lldi

527 	struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(csk->cdev);
530 cxgb4_free_atid(lldi->tids, csk->atid);
543 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev);
544 struct tid_info *t = lldi->tids;
565 cxgb4_insert_tid(lldi->tids, csk, tid);
588 csk->advmss = lldi->mtus[GET_TCPOPT_MSS(tcp_opt)] - 40;
663 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev);
664 struct tid_info *t = lldi->tids;
683 cxgb4_remove_tid(lldi->tids, csk->port_id, GET_TID(rpl));
707 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev);
708 struct tid_info *t = lldi->tids;
728 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev);
729 struct tid_info *t = lldi->tids;
767 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev);
768 struct tid_info *t = lldi->tids;
813 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev);
814 struct tid_info *t = lldi->tids;
839 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev);
840 struct tid_info *t = lldi->tids;
940 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev);
941 struct tid_info *t = lldi->tids;
1025 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev);
1026 struct tid_info *t = lldi->tids;
1045 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev);
1046 struct tid_info *t = lldi->tids;
1098 struct cxgb4_lld_info *lldi;
1114 lldi = cxgbi_cdev_priv(csk->cdev);
1115 cxgb4_remove_tid(lldi->tids, 0, csk->tid);
1126 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev);
1137 csk->atid = cxgb4_alloc_atid(lldi->tids, csk);
1150 csk->l2t = cxgb4_l2t_get(lldi->l2t, n, ndev, 0);
1165 cxgb4_best_mtu(lldi->mtus, csk->mtu, &csk->mss_idx);
1169 step = lldi->ntxq / lldi->nchan;
1171 step = lldi->nrxq / lldi->nchan;
1172 csk->rss_qid = lldi->rxq_ids[cxgb4_port_idx(ndev) * step];
1173 csk->wr_max_cred = csk->wr_cred = lldi->wr_cred;
1392 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(cdev);
1404 err = cxgbi_ddp_init(cdev, lldi->vr->iscsi.start,
1405 lldi->vr->iscsi.start + lldi->vr->iscsi.size - 1,
1406 lldi->iscsi_iolen, lldi->iscsi_iolen);
1414 cxgb4_iscsi_init(lldi->ports[0], tagmask, pgsz_factor);
1427 ddp->rsvd_tag_mask, ddp->max_txsz, lldi->iscsi_iolen,
1428 ddp->max_rxsz, lldi->iscsi_iolen);
1435 static void *t4_uld_add(const struct cxgb4_lld_info *lldi)
1441 cdev = cxgbi_device_register(sizeof(*lldi), lldi->nports);
1443 pr_info("t4 device 0x%p, register failed.\n", lldi);
1447 cdev, lldi->adapter_type, lldi->nports,
1448 lldi->ports[0]->name, lldi->nchan, lldi->ntxq,
1449 lldi->nrxq, lldi->wr_cred);
1450 for (i = 0; i < lldi->nrxq; i++)
1453 cdev, i, lldi->rxq_ids[i]);
1455 memcpy(cxgbi_cdev_priv(cdev), lldi, sizeof(*lldi));
1457 cdev->pdev = lldi->pdev;
1458 cdev->ports = lldi->ports;
1459 cdev->nports = lldi->nports;
1460 cdev->mtus = lldi->mtus;
1469 cdev->pfvf = FW_VIID_PFN_GET(cxgb4_port_viid(lldi->ports[0])) << 8;
1471 cdev, lldi->ports[0]->name, cdev->pfvf);
1490 pi = netdev_priv(lldi->ports[i]);