kinfo 103 drivers/infiniband/hw/qib/qib_file_ops.c struct qib_base_info *kinfo = NULL; kinfo 120 drivers/infiniband/hw/qib/qib_file_ops.c sz = sizeof(*kinfo); kinfo 129 drivers/infiniband/hw/qib/qib_file_ops.c kinfo = kzalloc(sizeof(*kinfo), GFP_KERNEL); kinfo 130 drivers/infiniband/hw/qib/qib_file_ops.c if (kinfo == NULL) { kinfo 135 drivers/infiniband/hw/qib/qib_file_ops.c ret = dd->f_get_base_info(rcd, kinfo); kinfo 139 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_rcvhdr_cnt = dd->rcvhdrcnt; kinfo 140 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_rcvhdrent_size = dd->rcvhdrentsize; kinfo 141 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_tidegrcnt = rcd->rcvegrcnt; kinfo 142 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_rcv_egrbufsize = dd->rcvegrbufsize; kinfo 146 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_rcv_egrbuftotlen = kinfo 148 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_rcv_egrperchunk = rcd->rcvegrbufs_perchunk; kinfo 149 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_rcv_egrchunksize = kinfo->spi_rcv_egrbuftotlen / kinfo 151 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_tidcnt = dd->rcvtidcnt / subctxt_cnt; kinfo 153 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_tidcnt += dd->rcvtidcnt % subctxt_cnt; kinfo 158 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_nctxts = dd->cfgctxts; kinfo 160 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_unit = dd->unit; kinfo 161 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_port = ppd->port; kinfo 163 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_tid_maxsize = PAGE_SIZE; kinfo 184 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_rcvhdr_base = (u64) rcd->rcvhdrq_phys; kinfo 185 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_rcvhdr_tailaddr = (u64) rcd->rcvhdrqtailaddr_phys; kinfo 186 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_rhf_offset = dd->rhf_offset; kinfo 187 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_rcv_egrbufs = (u64) rcd->rcvegr_phys; kinfo 188 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_pioavailaddr = (u64) dd->pioavailregs_phys; kinfo 190 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_status = (u64) kinfo->spi_pioavailaddr + kinfo 193 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_uregbase = (u64) dd->uregbase + dd->ureg_align * rcd->ctxt; kinfo 195 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_piocnt = rcd->piocnt; kinfo 196 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_piobufbase = (u64) rcd->piobufs; kinfo 197 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_sendbuf_status = cvt_kvaddr(rcd->user_event_mask); kinfo 199 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_piocnt = (rcd->piocnt / subctxt_cnt) + kinfo 202 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_piobufbase = (u64) rcd->piobufs + kinfo 204 drivers/infiniband/hw/qib/qib_file_ops.c (rcd->piocnt - kinfo->spi_piocnt); kinfo 208 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_piocnt = rcd->piocnt / subctxt_cnt; kinfo 209 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_piobufbase = (u64) rcd->piobufs + kinfo 210 drivers/infiniband/hw/qib/qib_file_ops.c dd->palign * kinfo->spi_piocnt * slave; kinfo 214 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_sendbuf_status = kinfo 217 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_subctxt_uregbase = cvt_kvaddr(rcd->subctxt_uregbase); kinfo 219 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_subctxt_rcvegrbuf = kinfo 221 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_subctxt_rcvhdr_base = kinfo 231 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_pioindex = (kinfo->spi_piobufbase - dd->pio2k_bufbase) / kinfo 233 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_pioalign = dd->palign; kinfo 234 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_qpair = QIB_KD_QP; kinfo 240 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_piosize = dd->piosize2k - 2 * sizeof(u32); kinfo 241 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_mtu = ppd->ibmaxlen; /* maxlen, not ibmtu */ kinfo 242 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_ctxt = rcd->ctxt; kinfo 243 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_subctxt = subctxt_fp(fp); kinfo 244 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_sw_version = QIB_KERN_SWVERSION; kinfo 245 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_sw_version |= 1U << 31; /* QLogic-built, not kernel.org */ kinfo 246 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_hw_version = dd->revision; kinfo 249 drivers/infiniband/hw/qib/qib_file_ops.c kinfo->spi_runtime_flags |= QIB_RUNTIME_MASTER; kinfo 251 drivers/infiniband/hw/qib/qib_file_ops.c sz = (ubase_size < sizeof(*kinfo)) ? ubase_size : sizeof(*kinfo); kinfo 252 drivers/infiniband/hw/qib/qib_file_ops.c if (copy_to_user(ubase, kinfo, sz)) kinfo 255 drivers/infiniband/hw/qib/qib_file_ops.c kfree(kinfo); kinfo 2018 drivers/infiniband/hw/qib/qib_iba6120.c struct qib_base_info *kinfo) kinfo 2021 drivers/infiniband/hw/qib/qib_iba6120.c kinfo->spi_runtime_flags |= QIB_RUNTIME_FORCE_WC_ORDER; kinfo 2023 drivers/infiniband/hw/qib/qib_iba6120.c kinfo->spi_runtime_flags |= QIB_RUNTIME_PCIE | kinfo 2247 drivers/infiniband/hw/qib/qib_iba7220.c struct qib_base_info *kinfo) kinfo 2249 drivers/infiniband/hw/qib/qib_iba7220.c kinfo->spi_runtime_flags |= QIB_RUNTIME_PCIE | kinfo 2253 drivers/infiniband/hw/qib/qib_iba7220.c kinfo->spi_runtime_flags |= QIB_RUNTIME_SPECIAL_TRIGGER; kinfo 3873 drivers/infiniband/hw/qib/qib_iba7322.c struct qib_base_info *kinfo) kinfo 3875 drivers/infiniband/hw/qib/qib_iba7322.c kinfo->spi_runtime_flags |= QIB_RUNTIME_CTXT_MSB_IN_QP | kinfo 3879 drivers/infiniband/hw/qib/qib_iba7322.c kinfo->spi_runtime_flags |= QIB_RUNTIME_RCHK; kinfo 3881 drivers/infiniband/hw/qib/qib_iba7322.c kinfo->spi_runtime_flags |= QIB_RUNTIME_SPECIAL_TRIGGER; kinfo 637 drivers/net/ethernet/hisilicon/hns3/hnae3.h struct hnae3_knic_private_info kinfo; kinfo 14 drivers/net/ethernet/hisilicon/hns3/hns3_dcbnl.c if (h->kinfo.dcb_ops->ieee_getets) kinfo 15 drivers/net/ethernet/hisilicon/hns3/hns3_dcbnl.c return h->kinfo.dcb_ops->ieee_getets(h, ets); kinfo 27 drivers/net/ethernet/hisilicon/hns3/hns3_dcbnl.c if (h->kinfo.dcb_ops->ieee_setets) kinfo 28 drivers/net/ethernet/hisilicon/hns3/hns3_dcbnl.c return h->kinfo.dcb_ops->ieee_setets(h, ets); kinfo 40 drivers/net/ethernet/hisilicon/hns3/hns3_dcbnl.c if (h->kinfo.dcb_ops->ieee_getpfc) kinfo 41 drivers/net/ethernet/hisilicon/hns3/hns3_dcbnl.c return h->kinfo.dcb_ops->ieee_getpfc(h, pfc); kinfo 53 drivers/net/ethernet/hisilicon/hns3/hns3_dcbnl.c if (h->kinfo.dcb_ops->ieee_setpfc) kinfo 54 drivers/net/ethernet/hisilicon/hns3/hns3_dcbnl.c return h->kinfo.dcb_ops->ieee_setpfc(h, pfc); kinfo 64 drivers/net/ethernet/hisilicon/hns3/hns3_dcbnl.c if (h->kinfo.dcb_ops->getdcbx) kinfo 65 drivers/net/ethernet/hisilicon/hns3/hns3_dcbnl.c return h->kinfo.dcb_ops->getdcbx(h); kinfo 75 drivers/net/ethernet/hisilicon/hns3/hns3_dcbnl.c if (h->kinfo.dcb_ops->setdcbx) kinfo 76 drivers/net/ethernet/hisilicon/hns3/hns3_dcbnl.c return h->kinfo.dcb_ops->setdcbx(h, mode); kinfo 96 drivers/net/ethernet/hisilicon/hns3/hns3_dcbnl.c struct net_device *dev = handle->kinfo.netdev; kinfo 98 drivers/net/ethernet/hisilicon/hns3/hns3_dcbnl.c if ((!handle->kinfo.dcb_ops) || (handle->flags & HNAE3_SUPPORT_VF)) kinfo 31 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c queue_max = h->kinfo.num_tqps; kinfo 40 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c if (queue_num >= h->kinfo.num_tqps) { kinfo 43 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c h->kinfo.num_tqps - 1); kinfo 57 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c ring = ring_data[(u32)(i + h->kinfo.num_tqps)].ring; kinfo 142 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c for (i = 0; i < h->kinfo.num_tqps; i++) { kinfo 180 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c if (q_num >= h->kinfo.num_tqps) { kinfo 182 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c h->kinfo.num_tqps - 1); kinfo 217 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c ring = ring_data[q_num + h->kinfo.num_tqps].ring; kinfo 256 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c hns3_set_vector_coalesce_rl(tqp_vector, h->kinfo.int_rl_setting); kinfo 262 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct hnae3_knic_private_info *kinfo = &h->kinfo; kinfo 263 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c unsigned int queue_size = kinfo->rss_size * kinfo->num_tc; kinfo 266 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c if (kinfo->num_tc <= 1) { kinfo 269 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ret = netdev_set_num_tc(netdev, kinfo->num_tc); kinfo 277 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c if (!kinfo->tc_info[i].enable) kinfo 281 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c kinfo->tc_info[i].tc, kinfo 282 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c kinfo->tc_info[i].tqp_count, kinfo 283 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c kinfo->tc_info[i].tqp_offset); kinfo 309 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c rss_size = alloc_tqps / h->kinfo.num_tc; kinfo 396 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c for (j = 0; j < h->kinfo.num_tqps; j++) kinfo 397 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c hns3_tqp_enable(h->kinfo.tqp[j]); kinfo 409 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c hns3_tqp_disable(h->kinfo.tqp[j]); kinfo 447 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct hnae3_knic_private_info *kinfo; kinfo 465 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c kinfo = &h->kinfo; kinfo 467 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c netdev_set_prio_tc_map(netdev, i, kinfo->prio_tc[i]); kinfo 481 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct net_device *ndev = h->kinfo.netdev; kinfo 486 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c for (i = 0; i < h->kinfo.num_tqps; i++) { kinfo 505 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c for (i = 0; i < h->kinfo.num_tqps; i++) kinfo 506 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c hns3_tqp_disable(h->kinfo.tqp[i]); kinfo 995 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c !(handle->kinfo.netdev->features & NETIF_F_HW_VLAN_CTAG_TX)) { kinfo 1490 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c int queue_num = priv->ae_handle->kinfo.num_tqps; kinfo 1577 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct hnae3_knic_private_info *kinfo; kinfo 1594 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c kinfo = &h->kinfo; kinfo 1598 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c return (kinfo->dcb_ops && kinfo->dcb_ops->setup_tc) ? kinfo 1599 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c kinfo->dcb_ops->setup_tc(h, tc ? tc : 1, prio_tc) : -EOPNOTSUPP; kinfo 2332 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct net_device *netdev = ring->tqp->handle->kinfo.netdev; kinfo 2522 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct net_device *netdev = ring->tqp->handle->kinfo.netdev; kinfo 2638 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct net_device *netdev = ring->tqp->handle->kinfo.netdev; kinfo 2786 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c rss_type = handle->kinfo.rss_type; kinfo 2795 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct net_device *netdev = ring->tqp->handle->kinfo.netdev; kinfo 3329 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c for (i = 0; i < h->kinfo.num_tqps; i++) { kinfo 3331 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c u16 tqp_num = h->kinfo.num_tqps; kinfo 3389 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c u16 tqp_num = h->kinfo.num_tqps; kinfo 3490 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c int queue_num = priv->ae_handle->kinfo.num_tqps; kinfo 3500 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c desc_num = priv->ae_handle->kinfo.num_tx_desc; kinfo 3505 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c desc_num = priv->ae_handle->kinfo.num_rx_desc; kinfo 3551 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c array3_size(h->kinfo.num_tqps, kinfo 3558 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c for (i = 0; i < h->kinfo.num_tqps; i++) { kinfo 3559 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ret = hns3_queue_to_ring(h->kinfo.tqp[i], priv); kinfo 3569 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c priv->ring_data[i + h->kinfo.num_tqps].ring); kinfo 3585 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c for (i = 0; i < h->kinfo.num_tqps; i++) { kinfo 3588 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c priv->ring_data[i + h->kinfo.num_tqps].ring); kinfo 3695 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct hnae3_knic_private_info *kinfo = &priv->ae_handle->kinfo; kinfo 3699 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct hnae3_tc_info *tc_info = &kinfo->tc_info[i]; kinfo 3718 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c int ring_num = h->kinfo.num_tqps * 2; kinfo 3747 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c for (i = 0; i < h->kinfo.num_tqps; i++) { kinfo 3749 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c hns3_fini_ring(priv->ring_data[i + h->kinfo.num_tqps].ring); kinfo 3836 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct hnae3_knic_private_info *kinfo = &priv->ae_handle->kinfo; kinfo 3839 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c dev_info(priv->dev, "Task queue pairs numbers: %d\n", kinfo->num_tqps); kinfo 3840 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c dev_info(priv->dev, "RSS size: %d\n", kinfo->rss_size); kinfo 3841 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c dev_info(priv->dev, "Allocated RSS size: %d\n", kinfo->req_rss_size); kinfo 3842 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c dev_info(priv->dev, "RX buffer length: %d\n", kinfo->rx_buf_len); kinfo 3843 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c dev_info(priv->dev, "Desc num per TX queue: %d\n", kinfo->num_tx_desc); kinfo 3844 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c dev_info(priv->dev, "Desc num per RX queue: %d\n", kinfo->num_rx_desc); kinfo 3845 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c dev_info(priv->dev, "Total number of enabled TCs: %d\n", kinfo->num_tc); kinfo 3872 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c handle->kinfo.netdev = netdev; kinfo 3962 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct net_device *netdev = handle->kinfo.netdev; kinfo 4004 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct net_device *netdev = handle->kinfo.netdev; kinfo 4024 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct hnae3_knic_private_info *kinfo = &handle->kinfo; kinfo 4025 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct net_device *ndev = kinfo->netdev; kinfo 4114 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c netdev_warn(ring->tqp->handle->kinfo.netdev, kinfo 4153 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct net_device *ndev = h->kinfo.netdev; kinfo 4157 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c for (i = 0; i < h->kinfo.num_tqps; i++) { kinfo 4163 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ring = priv->ring_data[i + h->kinfo.num_tqps].ring; kinfo 4176 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct net_device *ndev = h->kinfo.netdev; kinfo 4182 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c for (i = 0; i < h->kinfo.num_tqps; i++) { kinfo 4196 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c rx_ring = priv->ring_data[i + h->kinfo.num_tqps].ring; kinfo 4245 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct hnae3_knic_private_info *kinfo = &handle->kinfo; kinfo 4246 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct net_device *ndev = kinfo->netdev; kinfo 4269 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct hnae3_knic_private_info *kinfo = &handle->kinfo; kinfo 4270 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct hns3_nic_priv *priv = netdev_priv(kinfo->netdev); kinfo 4275 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c if (netif_running(kinfo->netdev)) { kinfo 4276 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ret = hns3_nic_net_open(kinfo->netdev); kinfo 4279 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c netdev_err(kinfo->netdev, kinfo 4290 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct net_device *netdev = handle->kinfo.netdev; kinfo 4339 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct net_device *netdev = handle->kinfo.netdev; kinfo 4366 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct net_device *netdev = handle->kinfo.netdev; kinfo 4451 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c struct hnae3_knic_private_info *kinfo = &h->kinfo; kinfo 4471 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c if (kinfo->rss_size == new_tqp_num) kinfo 4486 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c org_tqp_num = h->kinfo.num_tqps; kinfo 196 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c struct hnae3_knic_private_info *kinfo; kinfo 199 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c kinfo = &h->kinfo; kinfo 200 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c for (i = kinfo->num_tqps; i < kinfo->num_tqps * 2; i++) { kinfo 402 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c return ((HNS3_TQP_STATS_COUNT * h->kinfo.num_tqps) + kinfo 442 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c struct hnae3_knic_private_info *kinfo = &handle->kinfo; kinfo 448 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c kinfo->num_tqps, tx_prefix); kinfo 452 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c kinfo->num_tqps, rx_prefix); kinfo 482 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c struct hnae3_knic_private_info *kinfo = &handle->kinfo; kinfo 488 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c for (i = 0; i < kinfo->num_tqps; i++) { kinfo 497 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c for (i = 0; i < kinfo->num_tqps; i++) { kinfo 498 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c ring = nic_priv->ring_data[i + kinfo->num_tqps].ring; kinfo 591 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c int queue_num = h->kinfo.num_tqps; kinfo 870 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c cmd->data = h->kinfo.num_tqps; kinfo 900 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c h->kinfo.num_tx_desc = tx_desc_num; kinfo 901 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c h->kinfo.num_rx_desc = rx_desc_num; kinfo 903 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c for (i = 0; i < h->kinfo.num_tqps; i++) { kinfo 905 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c priv->ring_data[i + h->kinfo.num_tqps].ring->desc_num = kinfo 916 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c tmp_rings = kcalloc(handle->kinfo.num_tqps * 2, kinfo 921 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c for (i = 0; i < handle->kinfo.num_tqps * 2; i++) { kinfo 960 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c u16 queue_num = h->kinfo.num_tqps; kinfo 999 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c for (i = 0; i < h->kinfo.num_tqps * 2; i++) kinfo 1003 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c for (i = 0; i < h->kinfo.num_tqps * 2; i++) kinfo 1089 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c u16 queue_num = h->kinfo.num_tqps; kinfo 1112 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c cmd->tx_coalesce_usecs_high = h->kinfo.int_rl_setting; kinfo 1113 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c cmd->rx_coalesce_usecs_high = h->kinfo.int_rl_setting; kinfo 1225 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c int queue_num = h->kinfo.num_tqps; kinfo 1243 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c hns3_set_vector_coalesce_rl(tx_vector, h->kinfo.int_rl_setting); kinfo 1244 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c hns3_set_vector_coalesce_rl(rx_vector, h->kinfo.int_rl_setting); kinfo 1251 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c u16 queue_num = h->kinfo.num_tqps; kinfo 1262 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c h->kinfo.int_rl_setting = kinfo 226 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c struct net_device *netdev = h->kinfo.netdev; kinfo 318 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c struct net_device *netdev = h->kinfo.netdev; kinfo 383 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c struct net_device *netdev = h->kinfo.netdev; kinfo 456 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c struct hnae3_knic_private_info *kinfo; kinfo 465 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c kinfo = &vport->nic.kinfo; kinfo 466 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c kinfo->dcb_ops = &hns3_dcb_ops; kinfo 538 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hnae3_knic_private_info *kinfo = &handle->kinfo; kinfo 546 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c for (i = 0; i < kinfo->num_tqps; i++) { kinfo 547 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c queue = handle->kinfo.tqp[i]; kinfo 565 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c for (i = 0; i < kinfo->num_tqps; i++) { kinfo 566 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c queue = handle->kinfo.tqp[i]; kinfo 590 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hnae3_knic_private_info *kinfo = &handle->kinfo; kinfo 595 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c for (i = 0; i < kinfo->num_tqps; i++) { kinfo 596 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c tqp = container_of(kinfo->tqp[i], struct hclge_tqp, q); kinfo 600 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c for (i = 0; i < kinfo->num_tqps; i++) { kinfo 601 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c tqp = container_of(kinfo->tqp[i], struct hclge_tqp, q); kinfo 610 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hnae3_knic_private_info *kinfo = &handle->kinfo; kinfo 613 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c return kinfo->num_tqps * (2); kinfo 618 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hnae3_knic_private_info *kinfo = &handle->kinfo; kinfo 622 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c for (i = 0; i < kinfo->num_tqps; i++) { kinfo 623 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_tqp *tqp = container_of(handle->kinfo.tqp[i], kinfo 630 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c for (i = 0; i < kinfo->num_tqps; i++) { kinfo 631 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_tqp *tqp = container_of(kinfo->tqp[i], kinfo 1502 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hnae3_knic_private_info *kinfo = &vport->nic.kinfo; kinfo 1511 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c hdev->htqp[i].q.tx_desc_num = kinfo->num_tx_desc; kinfo 1512 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c hdev->htqp[i].q.rx_desc_num = kinfo->num_rx_desc; kinfo 1513 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c kinfo->tqp[alloced] = &hdev->htqp[i].q; kinfo 1519 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c kinfo->rss_size = min_t(u16, hdev->rss_size_max, kinfo 1523 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c kinfo->rss_size = min_t(u16, kinfo->rss_size, kinfo 1534 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hnae3_knic_private_info *kinfo = &nic->kinfo; kinfo 1538 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c kinfo->num_tx_desc = num_tx_desc; kinfo 1539 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c kinfo->num_rx_desc = num_rx_desc; kinfo 1541 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c kinfo->rx_buf_len = hdev->rx_buf_len; kinfo 1543 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c kinfo->tqp = devm_kcalloc(&hdev->pdev->dev, num_tqps, kinfo 1545 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (!kinfo->tqp) kinfo 1559 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hnae3_knic_private_info *kinfo; kinfo 1562 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c kinfo = &nic->kinfo; kinfo 1565 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c container_of(kinfo->tqp[i], struct hclge_tqp, q); kinfo 2288 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c roce->rinfo.netdev = nic->kinfo.netdev; kinfo 4117 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c vport->nic.kinfo.rss_type = PKT_HASH_TYPE_L4; kinfo 4120 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c vport->nic.kinfo.rss_type = PKT_HASH_TYPE_L3; kinfo 4122 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c vport->nic.kinfo.rss_type = PKT_HASH_TYPE_NONE; kinfo 6558 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hnae3_knic_private_info *kinfo; kinfo 6597 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c kinfo = &vport->nic.kinfo; kinfo 6598 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c for (i = 0; i < kinfo->num_tqps; i++) { kinfo 6626 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hnae3_knic_private_info *kinfo; kinfo 6631 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c kinfo = &vport->nic.kinfo; kinfo 6632 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c for (i = 0; i < kinfo->num_tqps; i++) { kinfo 6633 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c queue = handle->kinfo.tqp[i]; kinfo 6694 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c for (i = 0; i < handle->kinfo.num_tqps; i++) kinfo 8509 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c queue = handle->kinfo.tqp[queue_id]; kinfo 9524 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hnae3_knic_private_info *kinfo = &handle->kinfo; kinfo 9529 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c vport->alloc_tqps / kinfo->num_tc); kinfo 9538 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c ch->combined_count = handle->kinfo.rss_size; kinfo 9555 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hnae3_knic_private_info *kinfo = &vport->nic.kinfo; kinfo 9559 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c int cur_rss_size = kinfo->rss_size; kinfo 9560 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c int cur_tqps = kinfo->num_tqps; kinfo 9567 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c kinfo->req_rss_size = new_tqps_num; kinfo 9575 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c roundup_size = roundup_pow_of_two(kinfo->rss_size); kinfo 9586 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c tc_offset[i] = kinfo->rss_size * i; kinfo 9602 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c rss_indir[i] = i % kinfo->rss_size; kinfo 9615 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c cur_rss_size, kinfo->rss_size, kinfo 9616 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c cur_tqps, kinfo->rss_size * kinfo->num_tc); kinfo 9919 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hnae3_knic_private_info *kinfo) kinfo 9947 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c for (j = 0; j < kinfo->num_tqps; j++) { kinfo 9955 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c data_num_sum += (reg_num + separator_num) * kinfo->num_tqps; kinfo 9975 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hnae3_knic_private_info *kinfo = &handle->kinfo; kinfo 10009 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c return (cmdq_lines + common_lines + ring_lines * kinfo->num_tqps + kinfo 10017 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hnae3_knic_private_info *kinfo = &handle->kinfo; kinfo 10033 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c reg += hclge_fetch_pf_reg(hdev, reg, kinfo); kinfo 150 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c hclge_get_queue_id(vport->nic.kinfo.tqp[req->msg[4]]); kinfo 167 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c hclge_get_queue_id(vport->nic.kinfo.tqp kinfo 370 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c struct hnae3_knic_private_info *kinfo = &vport->nic.kinfo; kinfo 375 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c for (i = 0; i < kinfo->num_tc; i++) kinfo 394 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c memcpy(&resp_data[2], &vport->nic.kinfo.rss_size, sizeof(u16)); kinfo 516 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c struct hnae3_knic_private_info *kinfo = &vport->nic.kinfo; kinfo 524 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c kinfo->num_tc = vport->vport_id ? 1 : kinfo 530 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c vport->alloc_tqps / kinfo->num_tc); kinfo 533 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c if (kinfo->req_rss_size != kinfo->rss_size && kinfo->req_rss_size && kinfo 534 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c kinfo->req_rss_size <= max_rss_size) { kinfo 536 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c kinfo->rss_size, kinfo->req_rss_size); kinfo 537 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c kinfo->rss_size = kinfo->req_rss_size; kinfo 538 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c } else if (kinfo->rss_size > max_rss_size || kinfo 539 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c (!kinfo->req_rss_size && kinfo->rss_size < max_rss_size)) { kinfo 544 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c if (!kinfo->req_rss_size) kinfo 547 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c kinfo->num_tc); kinfo 550 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c kinfo->rss_size = max_rss_size; kinfo 553 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c kinfo->num_tqps = kinfo->num_tc * kinfo->rss_size; kinfo 555 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c vport->alloc_rss_size = kinfo->rss_size; kinfo 559 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c if (hdev->hw_tc_map & BIT(i) && i < kinfo->num_tc) { kinfo 560 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c kinfo->tc_info[i].enable = true; kinfo 561 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c kinfo->tc_info[i].tqp_offset = i * kinfo->rss_size; kinfo 562 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c kinfo->tc_info[i].tqp_count = kinfo->rss_size; kinfo 563 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c kinfo->tc_info[i].tc = i; kinfo 566 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c kinfo->tc_info[i].enable = false; kinfo 567 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c kinfo->tc_info[i].tqp_offset = 0; kinfo 568 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c kinfo->tc_info[i].tqp_count = 1; kinfo 569 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c kinfo->tc_info[i].tc = 0; kinfo 573 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c memcpy(kinfo->prio_tc, hdev->tm_info.prio_tc, kinfo 753 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c struct hnae3_knic_private_info *kinfo = &vport->nic.kinfo; kinfo 754 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c struct hnae3_queue **tqp = kinfo->tqp; kinfo 759 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c for (i = 0; i < kinfo->num_tc; i++) { kinfo 760 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c v_tc_info = &kinfo->tc_info[i]; kinfo 784 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c struct hnae3_knic_private_info *kinfo = kinfo 785 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c &vport[k].nic.kinfo; kinfo 787 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c for (i = 0; i < kinfo->num_tc; i++) { kinfo 887 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c struct hnae3_knic_private_info *kinfo = &vport->nic.kinfo; kinfo 893 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c for (i = 0; i < kinfo->num_tc; i++) { kinfo 1005 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c struct hnae3_knic_private_info *kinfo = &vport->nic.kinfo; kinfo 1016 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c for (i = 0; i < kinfo->num_tc; i++) { kinfo 1135 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c struct hnae3_knic_private_info *kinfo = &vport->nic.kinfo; kinfo 1147 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c for (i = 0; i < kinfo->num_tc; i++) { kinfo 1362 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c struct hnae3_knic_private_info *kinfo; kinfo 1369 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c kinfo = &vport[k].nic.kinfo; kinfo 1370 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c kinfo->prio_tc[i] = prio_tc[i]; kinfo 100 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c struct hnae3_knic_private_info *kinfo = &handle->kinfo; kinfo 107 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c for (i = 0; i < kinfo->num_tqps; i++) { kinfo 108 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c tqp = container_of(kinfo->tqp[i], struct hclgevf_tqp, q); kinfo 144 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c struct hnae3_knic_private_info *kinfo = &handle->kinfo; kinfo 149 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c for (i = 0; i < kinfo->num_tqps; i++) { kinfo 150 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c tqp = container_of(kinfo->tqp[i], struct hclgevf_tqp, q); kinfo 153 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c for (i = 0; i < kinfo->num_tqps; i++) { kinfo 154 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c tqp = container_of(kinfo->tqp[i], struct hclgevf_tqp, q); kinfo 163 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c struct hnae3_knic_private_info *kinfo = &handle->kinfo; kinfo 165 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c return kinfo->num_tqps * 2; kinfo 170 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c struct hnae3_knic_private_info *kinfo = &handle->kinfo; kinfo 174 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c for (i = 0; i < kinfo->num_tqps; i++) { kinfo 175 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c struct hclgevf_tqp *tqp = container_of(kinfo->tqp[i], kinfo 182 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c for (i = 0; i < kinfo->num_tqps; i++) { kinfo 183 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c struct hclgevf_tqp *tqp = container_of(kinfo->tqp[i], kinfo 385 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c struct hnae3_knic_private_info *kinfo; kinfo 389 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c kinfo = &nic->kinfo; kinfo 390 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c kinfo->num_tc = 0; kinfo 391 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c kinfo->num_tx_desc = hdev->num_tx_desc; kinfo 392 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c kinfo->num_rx_desc = hdev->num_rx_desc; kinfo 393 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c kinfo->rx_buf_len = hdev->rx_buf_len; kinfo 396 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c kinfo->num_tc++; kinfo 398 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c kinfo->rss_size kinfo 399 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c = min_t(u16, hdev->rss_size_max, new_tqps / kinfo->num_tc); kinfo 400 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c new_tqps = kinfo->rss_size * kinfo->num_tc; kinfo 401 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c kinfo->num_tqps = min(new_tqps, hdev->num_tqps); kinfo 403 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c kinfo->tqp = devm_kcalloc(&hdev->pdev->dev, kinfo->num_tqps, kinfo 405 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c if (!kinfo->tqp) kinfo 408 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c for (i = 0; i < kinfo->num_tqps; i++) { kinfo 411 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c kinfo->tqp[i] = &hdev->htqp[i].q; kinfo 417 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c kinfo->num_tqps = min_t(u16, hdev->num_nic_msix - 1, kinfo->num_tqps); kinfo 418 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c kinfo->rss_size = min_t(u16, kinfo->num_tqps / kinfo->num_tc, kinfo 419 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c kinfo->rss_size); kinfo 1167 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c struct hnae3_knic_private_info *kinfo = &handle->kinfo; kinfo 1171 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c for (i = 0; i < kinfo->num_tqps; i++) { kinfo 1172 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c tqp = container_of(kinfo->tqp[i], struct hclgevf_tqp, q); kinfo 2035 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c roce->rinfo.netdev = nic->kinfo.netdev; kinfo 2074 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c rss_cfg->rss_size = hdev->nic.kinfo.rss_size; kinfo 2162 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c for (i = 0; i < handle->kinfo.num_tqps; i++) kinfo 2825 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c struct hnae3_knic_private_info *kinfo = &nic->kinfo; kinfo 2828 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c hdev->num_tqps / kinfo->num_tc); kinfo 2849 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c ch->combined_count = handle->kinfo.rss_size; kinfo 2864 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c struct hnae3_knic_private_info *kinfo = &handle->kinfo; kinfo 2868 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c kinfo->req_rss_size = new_tqps_num; kinfo 2871 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c hdev->num_tqps / kinfo->num_tc); kinfo 2876 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c if (kinfo->req_rss_size != kinfo->rss_size && kinfo->req_rss_size && kinfo 2877 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c kinfo->req_rss_size <= max_rss_size) kinfo 2878 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c kinfo->rss_size = kinfo->req_rss_size; kinfo 2879 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c else if (kinfo->rss_size > max_rss_size || kinfo 2880 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c (!kinfo->req_rss_size && kinfo->rss_size < max_rss_size)) kinfo 2881 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c kinfo->rss_size = max_rss_size; kinfo 2883 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c kinfo->num_tqps = kinfo->num_tc * kinfo->rss_size; kinfo 2890 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c struct hnae3_knic_private_info *kinfo = &handle->kinfo; kinfo 2891 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c u16 cur_rss_size = kinfo->rss_size; kinfo 2892 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c u16 cur_tqps = kinfo->num_tqps; kinfo 2899 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c ret = hclgevf_set_rss_tc_mode(hdev, kinfo->rss_size); kinfo 2913 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c rss_indir[i] = i % kinfo->rss_size; kinfo 2926 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c cur_rss_size, kinfo->rss_size, kinfo 2927 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c cur_tqps, kinfo->rss_size * kinfo->num_tc); kinfo 82 fs/signalfd.c kernel_siginfo_t const *kinfo) kinfo 97 fs/signalfd.c new.ssi_signo = kinfo->si_signo; kinfo 98 fs/signalfd.c new.ssi_errno = kinfo->si_errno; kinfo 99 fs/signalfd.c new.ssi_code = kinfo->si_code; kinfo 100 fs/signalfd.c switch (siginfo_layout(kinfo->si_signo, kinfo->si_code)) { kinfo 102 fs/signalfd.c new.ssi_pid = kinfo->si_pid; kinfo 103 fs/signalfd.c new.ssi_uid = kinfo->si_uid; kinfo 106 fs/signalfd.c new.ssi_tid = kinfo->si_tid; kinfo 107 fs/signalfd.c new.ssi_overrun = kinfo->si_overrun; kinfo 108 fs/signalfd.c new.ssi_ptr = (long) kinfo->si_ptr; kinfo 109 fs/signalfd.c new.ssi_int = kinfo->si_int; kinfo 112 fs/signalfd.c new.ssi_band = kinfo->si_band; kinfo 113 fs/signalfd.c new.ssi_fd = kinfo->si_fd; kinfo 125 fs/signalfd.c new.ssi_addr = (long) kinfo->si_addr; kinfo 127 fs/signalfd.c new.ssi_trapno = kinfo->si_trapno; kinfo 131 fs/signalfd.c new.ssi_addr = (long) kinfo->si_addr; kinfo 133 fs/signalfd.c new.ssi_trapno = kinfo->si_trapno; kinfo 135 fs/signalfd.c new.ssi_addr_lsb = (short) kinfo->si_addr_lsb; kinfo 138 fs/signalfd.c new.ssi_pid = kinfo->si_pid; kinfo 139 fs/signalfd.c new.ssi_uid = kinfo->si_uid; kinfo 140 fs/signalfd.c new.ssi_status = kinfo->si_status; kinfo 141 fs/signalfd.c new.ssi_utime = kinfo->si_utime; kinfo 142 fs/signalfd.c new.ssi_stime = kinfo->si_stime; kinfo 148 fs/signalfd.c new.ssi_pid = kinfo->si_pid; kinfo 149 fs/signalfd.c new.ssi_uid = kinfo->si_uid; kinfo 150 fs/signalfd.c new.ssi_ptr = (long) kinfo->si_ptr; kinfo 151 fs/signalfd.c new.ssi_int = kinfo->si_int; kinfo 154 fs/signalfd.c new.ssi_call_addr = (long) kinfo->si_call_addr; kinfo 155 fs/signalfd.c new.ssi_syscall = kinfo->si_syscall; kinfo 156 fs/signalfd.c new.ssi_arch = kinfo->si_arch; kinfo 3673 kernel/signal.c static int copy_siginfo_from_user_any(kernel_siginfo_t *kinfo, siginfo_t *info) kinfo 3683 kernel/signal.c kinfo, (struct compat_siginfo __user *)info); kinfo 3685 kernel/signal.c return copy_siginfo_from_user(kinfo, info); kinfo 3723 kernel/signal.c kernel_siginfo_t kinfo; kinfo 3745 kernel/signal.c ret = copy_siginfo_from_user_any(&kinfo, info); kinfo 3750 kernel/signal.c if (unlikely(sig != kinfo.si_signo)) kinfo 3756 kernel/signal.c (kinfo.si_code >= 0 || kinfo.si_code == SI_TKILL)) kinfo 3759 kernel/signal.c prepare_kill_siginfo(sig, &kinfo); kinfo 3762 kernel/signal.c ret = kill_pid_info(sig, &kinfo, pid);