Home
last modified time | relevance | path

Searched refs:msix_cfg (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/net/ethernet/huawei/hinic3/
H A Dhinic3_hw_comm.c15 struct comm_cmd_cfg_msix_ctrl_reg msix_cfg = {}; in hinic3_get_interrupt_cfg() local
19 msix_cfg.func_id = hinic3_global_func_id(hwdev); in hinic3_get_interrupt_cfg()
20 msix_cfg.msix_index = info->msix_index; in hinic3_get_interrupt_cfg()
21 msix_cfg.opcode = MGMT_MSG_CMD_OP_GET; in hinic3_get_interrupt_cfg()
23 mgmt_msg_params_init_default(&msg_params, &msix_cfg, sizeof(msix_cfg)); in hinic3_get_interrupt_cfg()
27 if (err || msix_cfg.head.status) { in hinic3_get_interrupt_cfg()
29 err, msix_cfg.head.status); in hinic3_get_interrupt_cfg()
33 info->lli_credit_limit = msix_cfg.lli_credit_cnt; in hinic3_get_interrupt_cfg()
34 info->lli_timer_cfg = msix_cfg.lli_timer_cnt; in hinic3_get_interrupt_cfg()
35 info->pending_limit = msix_cfg.pending_cnt; in hinic3_get_interrupt_cfg()
[all …]
/linux/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_config.h87 #define CFG_GET_IOQ_MSIX(cfg) ((cfg)->msix_cfg.ioq_msix)
88 #define CFG_GET_NON_IOQ_MSIX(cfg) ((cfg)->msix_cfg.non_ioq_msix)
89 #define CFG_GET_NON_IOQ_MSIX_NAMES(cfg) ((cfg)->msix_cfg.non_ioq_msix_names)
244 struct octep_msix_config msix_cfg; member
H A Doctep_cn9k_pf.c243 conf->msix_cfg.non_ioq_msix = CN93_NUM_NON_IOQ_INTR; in octep_init_config_cn93_pf()
244 conf->msix_cfg.ioq_msix = conf->pf_ring_cfg.active_io_rings; in octep_init_config_cn93_pf()
245 conf->msix_cfg.non_ioq_msix_names = cn93_non_ioq_msix_names; in octep_init_config_cn93_pf()
H A Doctep_cnxk_pf.c264 conf->msix_cfg.non_ioq_msix = CNXK_NUM_NON_IOQ_INTR; in octep_init_config_cnxk_pf()
265 conf->msix_cfg.ioq_msix = conf->pf_ring_cfg.active_io_rings; in octep_init_config_cnxk_pf()
266 conf->msix_cfg.non_ioq_msix_names = cnxk_non_ioq_msix_names; in octep_init_config_cnxk_pf()
/linux/drivers/net/ethernet/marvell/octeon_ep_vf/
H A Doctep_vf_config.h76 #define CFG_GET_IOQ_MSIX(cfg) ((cfg)->msix_cfg.ioq_msix)
155 struct octep_vf_msix_config msix_cfg; member
H A Doctep_vf_cn9k.c157 conf->msix_cfg.ioq_msix = conf->ring_cfg.active_io_rings; in octep_vf_init_config_cn93_vf()
H A Doctep_vf_cnxk.c160 conf->msix_cfg.ioq_msix = conf->ring_cfg.active_io_rings; in octep_vf_init_config_cnxk_vf()