Home
last modified time | relevance | path

Searched refs:kinfo (Results 1 – 23 of 23) sorted by relevance

/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/hns3_common/
A Dhclge_comm_tqp_stats.c12 struct hnae3_knic_private_info *kinfo = &handle->kinfo; in hclge_comm_tqps_get_stats() local
17 for (i = 0; i < kinfo->num_tqps; i++) { in hclge_comm_tqps_get_stats()
22 for (i = 0; i < kinfo->num_tqps; i++) { in hclge_comm_tqps_get_stats()
32 struct hnae3_knic_private_info *kinfo = &handle->kinfo; in hclge_comm_tqps_get_sset_count() local
39 struct hnae3_knic_private_info *kinfo = &handle->kinfo; in hclge_comm_tqps_get_strings() local
43 for (i = 0; i < kinfo->num_tqps; i++) { in hclge_comm_tqps_get_strings()
50 for (i = 0; i < kinfo->num_tqps; i++) { in hclge_comm_tqps_get_strings()
63 struct hnae3_knic_private_info *kinfo = &handle->kinfo; in hclge_comm_tqps_update_stats() local
69 for (i = 0; i < kinfo->num_tqps; i++) { in hclge_comm_tqps_update_stats()
105 struct hnae3_knic_private_info *kinfo = &handle->kinfo; in hclge_comm_reset_tqp_stats() local
[all …]
A Dhclge_comm_rss.c43 rss_cfg->rss_size = nic->kinfo.rss_size; in hclge_comm_rss_init_cfg()
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/
A Dhns3_dcbnl.c14 if (h->kinfo.dcb_ops->ieee_getets) in hns3_dcbnl_ieee_getets()
15 return h->kinfo.dcb_ops->ieee_getets(h, ets); in hns3_dcbnl_ieee_getets()
27 if (h->kinfo.dcb_ops->ieee_setets) in hns3_dcbnl_ieee_setets()
28 return h->kinfo.dcb_ops->ieee_setets(h, ets); in hns3_dcbnl_ieee_setets()
40 if (h->kinfo.dcb_ops->ieee_getpfc) in hns3_dcbnl_ieee_getpfc()
53 if (h->kinfo.dcb_ops->ieee_setpfc) in hns3_dcbnl_ieee_setpfc()
66 if (h->kinfo.dcb_ops->ieee_setapp) in hns3_dcbnl_ieee_setapp()
79 if (h->kinfo.dcb_ops->ieee_setapp) in hns3_dcbnl_ieee_delapp()
90 if (h->kinfo.dcb_ops->getdcbx) in hns3_dcbnl_getdcbx()
91 return h->kinfo.dcb_ops->getdcbx(h); in hns3_dcbnl_getdcbx()
[all …]
A Dhns3_ethtool.c211 kinfo = &h->kinfo; in hns3_lb_check_rx_ring()
212 for (i = kinfo->num_tqps; i < kinfo->num_tqps * 2; i++) { in hns3_lb_check_rx_ring()
526 struct hnae3_knic_private_info *kinfo = &handle->kinfo; in hns3_get_strings_tqps() local
532 kinfo->num_tqps, tx_prefix); in hns3_get_strings_tqps()
536 kinfo->num_tqps, rx_prefix); in hns3_get_strings_tqps()
574 struct hnae3_knic_private_info *kinfo = &handle->kinfo; in hns3_get_stats_tqps() local
987 cmd->data = h->kinfo.num_tqps; in hns3_get_rxnfc()
1149 u16 queue_num = h->kinfo.num_tqps; in hns3_is_ringparam_changed()
1176 h->kinfo.rx_buf_len = rx_buf_len; in hns3_change_rx_buf_len()
1574 h->kinfo.int_rl_setting = in hns3_set_coalesce()
[all …]
A Dhns3_enet.c611 struct hnae3_knic_private_info *kinfo = &h->kinfo; in hns3_nic_set_real_num_queue() local
795 kinfo = &h->kinfo; in hns3_nic_net_open()
2602 kinfo = &h->kinfo; in hns3_setup_tc()
2606 return (kinfo->dcb_ops && kinfo->dcb_ops->setup_tc) ? in hns3_setup_tc()
5069 struct hnae3_knic_private_info *kinfo = &priv->ae_handle->kinfo; in hns3_init_tx_ring_tc() local
5191 struct hnae3_knic_private_info *kinfo = &priv->ae_handle->kinfo; in hns3_info_show() local
5203 kinfo->tc_info.num_tc); in hns3_info_show()
5603 struct hnae3_knic_private_info *kinfo = &handle->kinfo; in hns3_reset_notify_down_enet() local
5618 struct hnae3_knic_private_info *kinfo = &handle->kinfo; in hns3_reset_notify_up_enet() local
5633 netdev_err(kinfo->netdev, in hns3_reset_notify_up_enet()
[all …]
A Dhns3_trace.h77 __string(devname, ring->tqp->handle->kinfo.netdev->name)
87 __assign_str(devname, ring->tqp->handle->kinfo.netdev->name);
109 __string(devname, ring->tqp->handle->kinfo.netdev->name)
120 __assign_str(devname, ring->tqp->handle->kinfo.netdev->name);
A Dhns3_debugfs.c674 for (i = 0; i < h->kinfo.num_tqps; i++) { in hns3_dbg_rx_queue_info()
778 for (i = 0; i < h->kinfo.num_tqps; i++) { in hns3_dbg_tx_queue_info()
826 for (i = 0; i < h->kinfo.num_tqps; i++) { in hns3_dbg_queue_map()
1025 struct hnae3_knic_private_info *kinfo = &h->kinfo; in hns3_dbg_dev_specs() local
1039 kinfo->rss_size); in hns3_dbg_dev_specs()
1041 kinfo->req_rss_size); in hns3_dbg_dev_specs()
1044 kinfo->num_tqps); in hns3_dbg_dev_specs()
1046 kinfo->rx_buf_len); in hns3_dbg_dev_specs()
1048 kinfo->num_tx_desc); in hns3_dbg_dev_specs()
1050 kinfo->num_rx_desc); in hns3_dbg_dev_specs()
[all …]
A Dhnae3.h871 struct hnae3_knic_private_info kinfo; member
/linux-6.3-rc2/fs/
A Dsignalfd.c89 new.ssi_code = kinfo->si_code; in signalfd_copyinfo()
90 switch (siginfo_layout(kinfo->si_signo, kinfo->si_code)) { in signalfd_copyinfo()
92 new.ssi_pid = kinfo->si_pid; in signalfd_copyinfo()
93 new.ssi_uid = kinfo->si_uid; in signalfd_copyinfo()
96 new.ssi_tid = kinfo->si_tid; in signalfd_copyinfo()
99 new.ssi_int = kinfo->si_int; in signalfd_copyinfo()
102 new.ssi_band = kinfo->si_band; in signalfd_copyinfo()
103 new.ssi_fd = kinfo->si_fd; in signalfd_copyinfo()
137 new.ssi_pid = kinfo->si_pid; in signalfd_copyinfo()
138 new.ssi_uid = kinfo->si_uid; in signalfd_copyinfo()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/hns3pf/
A Dhclge_dcb.c236 struct net_device *netdev = h->kinfo.netdev; in hclge_ieee_setets()
401 h->kinfo.dscp_app_cnt++; in hclge_ieee_setapp()
438 if (h->kinfo.dscp_app_cnt) in hclge_ieee_delapp()
439 h->kinfo.dscp_app_cnt--; in hclge_ieee_delapp()
441 if (!h->kinfo.dscp_app_cnt) { in hclge_ieee_delapp()
566 struct hnae3_knic_private_info *kinfo; in hclge_setup_tc() local
593 kinfo = &vport->nic.kinfo; in hclge_setup_tc()
596 kinfo->tc_info.mqprio_active = tc > 0; in hclge_setup_tc()
643 struct hnae3_knic_private_info *kinfo; in hclge_dcb_ops_set() local
652 kinfo = &vport->nic.kinfo; in hclge_dcb_ops_set()
[all …]
A Dhclge_tm.c589 struct hnae3_knic_private_info *kinfo = &vport->nic.kinfo; in hclge_tm_qs_shaper_cfg() local
637 struct hnae3_knic_private_info *kinfo = &vport->nic.kinfo; in hclge_vport_get_max_rss_size() local
658 struct hnae3_knic_private_info *kinfo = &vport->nic.kinfo; in hclge_vport_get_tqp_num() local
677 struct hnae3_knic_private_info *kinfo = &vport->nic.kinfo; in hclge_tm_update_kinfo_rss_size() local
703 if (kinfo->req_rss_size != kinfo->rss_size && kinfo->req_rss_size && in hclge_tm_update_kinfo_rss_size()
706 kinfo->rss_size, kinfo->req_rss_size); in hclge_tm_update_kinfo_rss_size()
707 kinfo->rss_size = kinfo->req_rss_size; in hclge_tm_update_kinfo_rss_size()
717 struct hnae3_knic_private_info *kinfo = &vport->nic.kinfo; in hclge_tm_vport_tc_info_update() local
735 kinfo->tc_info.tqp_offset[i] = i * kinfo->rss_size; in hclge_tm_vport_tc_info_update()
736 kinfo->tc_info.tqp_count[i] = kinfo->rss_size; in hclge_tm_vport_tc_info_update()
[all …]
A Dhclge_trace.h27 __string(devname, &hdev->vport[0].nic.kinfo.netdev->name)
36 __assign_str(devname, &hdev->vport[0].nic.kinfo.netdev->name);
59 __string(devname, &hdev->vport[0].nic.kinfo.netdev->name)
67 __assign_str(devname, &hdev->vport[0].nic.kinfo.netdev->name);
A Dhclge_mbx.c196 if (req->msg.param[i].tqp_index >= vport->nic.kinfo.rss_size) { in hclge_get_ring_chain_from_mbx()
199 vport->nic.kinfo.rss_size - 1U); in hclge_get_ring_chain_from_mbx()
207 hclge_get_queue_id(vport->nic.kinfo.tqp in hclge_get_ring_chain_from_mbx()
223 hclge_get_queue_id(vport->nic.kinfo.tqp in hclge_get_ring_chain_from_mbx()
493 struct hnae3_knic_private_info *kinfo = &vport->nic.kinfo; in hclge_get_basic_info() local
500 for (i = 0; i < kinfo->tc_info.num_tc; i++) in hclge_get_basic_info()
522 queue_info->rss_size = cpu_to_le16(vport->nic.kinfo.rss_size); in hclge_get_vf_queue_info()
733 if (queue_id >= handle->kinfo.num_tqps) { in hclge_get_queue_id_in_pf()
A Dhclge_main.c1748 struct hnae3_knic_private_info *kinfo = &vport->nic.kinfo; in hclge_assign_tqp() local
1769 kinfo->rss_size = min_t(u16, kinfo->rss_size, in hclge_assign_tqp()
1780 struct hnae3_knic_private_info *kinfo = &nic->kinfo; in hclge_knic_setup() local
1792 if (!kinfo->tqp) in hclge_knic_setup()
1809 kinfo = &nic->kinfo; in hclge_map_tqp_to_vport()
5878 struct hnae3_knic_private_info *kinfo = &vport->nic.kinfo; in hclge_config_action() local
12202 struct hnae3_knic_private_info *kinfo = &vport->nic.kinfo; in hclge_set_channels() local
12205 u16 cur_tqps = kinfo->num_tqps; in hclge_set_channels()
12247 cur_tqps, kinfo->rss_size * kinfo->tc_info.num_tc); in hclge_set_channels()
12619 struct hnae3_knic_private_info *kinfo = &handle->kinfo; in hclge_get_regs_len() local
[all …]
A Dhclge_debugfs.c1162 struct hnae3_knic_private_info *kinfo = &hdev->vport[0].nic.kinfo; in hclge_dbg_dump_qos_dscp_map() local
1171 tc_map_mode_str[kinfo->tc_map_mode]); in hclge_dbg_dump_qos_dscp_map()
1173 if (kinfo->tc_map_mode != HNAE3_TC_MAP_MODE_DSCP) in hclge_dbg_dump_qos_dscp_map()
1201 if (kinfo->dscp_prio[i] == HNAE3_PRIO_ID_INVALID) in hclge_dbg_dump_qos_dscp_map()
1205 i, kinfo->dscp_prio[i], dscp_tc[i]); in hclge_dbg_dump_qos_dscp_map()
/linux-6.3-rc2/drivers/infiniband/hw/qib/
A Dqib_file_ops.c120 sz = sizeof(*kinfo); in qib_get_base_info()
129 kinfo = kzalloc(sizeof(*kinfo), GFP_KERNEL); in qib_get_base_info()
130 if (kinfo == NULL) { in qib_get_base_info()
149 kinfo->spi_rcv_egrchunksize = kinfo->spi_rcv_egrbuftotlen / in qib_get_base_info()
160 kinfo->spi_unit = dd->unit; in qib_get_base_info()
161 kinfo->spi_port = ppd->port; in qib_get_base_info()
190 kinfo->spi_status = (u64) kinfo->spi_pioavailaddr + in qib_get_base_info()
214 kinfo->spi_sendbuf_status = in qib_get_base_info()
231 kinfo->spi_pioindex = (kinfo->spi_piobufbase - dd->pio2k_bufbase) / in qib_get_base_info()
251 sz = (ubase_size < sizeof(*kinfo)) ? ubase_size : sizeof(*kinfo); in qib_get_base_info()
[all …]
A Dqib_iba6120.c2014 struct qib_base_info *kinfo) in qib_6120_get_base_info() argument
2017 kinfo->spi_runtime_flags |= QIB_RUNTIME_FORCE_WC_ORDER; in qib_6120_get_base_info()
2019 kinfo->spi_runtime_flags |= QIB_RUNTIME_PCIE | in qib_6120_get_base_info()
A Dqib_iba7220.c2247 struct qib_base_info *kinfo) in qib_7220_get_base_info() argument
2249 kinfo->spi_runtime_flags |= QIB_RUNTIME_PCIE | in qib_7220_get_base_info()
2253 kinfo->spi_runtime_flags |= QIB_RUNTIME_SPECIAL_TRIGGER; in qib_7220_get_base_info()
A Dqib_iba7322.c3849 struct qib_base_info *kinfo) in qib_7322_get_base_info() argument
3851 kinfo->spi_runtime_flags |= QIB_RUNTIME_CTXT_MSB_IN_QP | in qib_7322_get_base_info()
3855 kinfo->spi_runtime_flags |= QIB_RUNTIME_RCHK; in qib_7322_get_base_info()
3857 kinfo->spi_runtime_flags |= QIB_RUNTIME_SPECIAL_TRIGGER; in qib_7322_get_base_info()
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/hns3vf/
A Dhclgevf_trace.h26 __string(devname, &hdev->nic.kinfo.netdev->name)
34 __assign_str(devname, &hdev->nic.kinfo.netdev->name);
58 __string(devname, &hdev->nic.kinfo.netdev->name)
67 __assign_str(devname, &hdev->nic.kinfo.netdev->name);
A Dhclgevf_main.c374 kinfo = &nic->kinfo; in hclgevf_knic_setup()
388 kinfo->tqp = devm_kcalloc(&hdev->pdev->dev, kinfo->num_tqps, in hclgevf_knic_setup()
390 if (!kinfo->tqp) in hclgevf_knic_setup()
403 kinfo->rss_size = min_t(u16, kinfo->num_tqps / num_tc, in hclgevf_knic_setup()
3056 struct hnae3_knic_private_info *kinfo = &nic->kinfo; in hclgevf_get_max_channels() local
3095 struct hnae3_knic_private_info *kinfo = &handle->kinfo; in hclgevf_update_rss_size() local
3107 if (kinfo->req_rss_size != kinfo->rss_size && kinfo->req_rss_size && in hclgevf_update_rss_size()
3109 kinfo->rss_size = kinfo->req_rss_size; in hclgevf_update_rss_size()
3114 kinfo->num_tqps = kinfo->tc_info.num_tc * kinfo->rss_size; in hclgevf_update_rss_size()
3121 struct hnae3_knic_private_info *kinfo = &handle->kinfo; in hclgevf_set_channels() local
[all …]
/linux-6.3-rc2/drivers/net/ethernet/microchip/sparx5/
A Dsparx5_tc_flower.c377 const struct vcap_set *kinfo; in sparx5_tc_select_protocol_keyset() local
400 kinfo = vcap_keyfieldset(vctrl, admin->vtype, in sparx5_tc_select_protocol_keyset()
402 if (!kinfo) in sparx5_tc_select_protocol_keyset()
412 mru = &multi->rule[kinfo->sw_per_item]; in sparx5_tc_select_protocol_keyset()
416 mru->value = kinfo->type_id; in sparx5_tc_select_protocol_keyset()
418 mru->value &= kinfo->type_id; in sparx5_tc_select_protocol_keyset()
419 mru->mask |= kinfo->type_id; in sparx5_tc_select_protocol_keyset()
/linux-6.3-rc2/kernel/
A Dsignal.c3804 static int copy_siginfo_from_user_any(kernel_siginfo_t *kinfo, in copy_siginfo_from_user_any() argument
3815 kinfo, (struct compat_siginfo __user *)info); in copy_siginfo_from_user_any()
3817 return copy_siginfo_from_user(kinfo, info); in copy_siginfo_from_user_any()
3855 kernel_siginfo_t kinfo; in SYSCALL_DEFINE4() local
3877 ret = copy_siginfo_from_user_any(&kinfo, info); in SYSCALL_DEFINE4()
3882 if (unlikely(sig != kinfo.si_signo)) in SYSCALL_DEFINE4()
3888 (kinfo.si_code >= 0 || kinfo.si_code == SI_TKILL)) in SYSCALL_DEFINE4()
3891 prepare_kill_siginfo(sig, &kinfo); in SYSCALL_DEFINE4()
3894 ret = kill_pid_info(sig, &kinfo, pid); in SYSCALL_DEFINE4()

Completed in 125 milliseconds