Home
last modified time | relevance | path

Searched refs:port_cfg (Results 1 – 11 of 11) sorted by relevance

/f-stack/dpdk/drivers/net/mvpp2/
H A Dmrvl_qos.c747 struct port_cfg *port_cfg = &mrvl_qos_cfg->port[portid]; in mrvl_configure_rxqs() local
761 if (port_cfg->tc[tc].pcps > RTE_DIM(port_cfg->tc[0].pcp)) { in mrvl_configure_rxqs()
779 port_cfg->default_tc; in mrvl_configure_rxqs()
783 if (port_cfg->tc[tc].dscps > RTE_DIM(port_cfg->tc[0].dscp)) { in mrvl_configure_rxqs()
805 if (port_cfg->tc[tc].inqs > RTE_DIM(port_cfg->tc[0].inq)) { in mrvl_configure_rxqs()
830 if (port_cfg->tc[i].inqs == 0) in mrvl_configure_rxqs()
833 port_cfg->tc[i].inqs, in mrvl_configure_rxqs()
839 if (port_cfg->setup_policer) in mrvl_configure_rxqs()
860 struct port_cfg *port_cfg = &mrvl_qos_cfg->port[portid]; in mrvl_configure_txqs() local
867 if (port_cfg->rate_limit_enable) in mrvl_configure_txqs()
[all …]
H A Dmrvl_qos.h22 struct port_cfg { struct
/f-stack/freebsd/contrib/octeon-sdk/
H A Dcvmx-helper-loop.c111 cvmx_pip_prt_cfgx_t port_cfg; in __cvmx_helper_loop_enable() local
126 port_cfg.u64 = cvmx_read_csr(CVMX_PIP_PRT_CFGX(offset)); in __cvmx_helper_loop_enable()
127 port_cfg.s.maxerr_en = 0; in __cvmx_helper_loop_enable()
128 port_cfg.s.minerr_en = 0; in __cvmx_helper_loop_enable()
129 cvmx_write_csr(CVMX_PIP_PRT_CFGX(offset), port_cfg.u64); in __cvmx_helper_loop_enable()
H A Dcvmx-helper-npi.c133 cvmx_pip_prt_cfgx_t port_cfg; in __cvmx_helper_npi_enable() local
137 port_cfg.u64 = cvmx_read_csr(CVMX_PIP_PRT_CFGX(ipd_port)); in __cvmx_helper_npi_enable()
138 port_cfg.s.lenerr_en = 0; in __cvmx_helper_npi_enable()
139 port_cfg.s.maxerr_en = 0; in __cvmx_helper_npi_enable()
140 port_cfg.s.minerr_en = 0; in __cvmx_helper_npi_enable()
141 cvmx_write_csr(CVMX_PIP_PRT_CFGX(ipd_port), port_cfg.u64); in __cvmx_helper_npi_enable()
H A Dcvmx-helper.c529 cvmx_pip_prt_cfgx_t port_cfg; in cvmx_helper_fcs_op() local
549 port_cfg.u64 = cvmx_read_csr(CVMX_PIP_PRT_CFGX(pknd)); in cvmx_helper_fcs_op()
550 port_cfg.s.crc_en = (has_fcs) ? 1 : 0; in cvmx_helper_fcs_op()
551 cvmx_write_csr(CVMX_PIP_PRT_CFGX(pknd), port_cfg.u64); in cvmx_helper_fcs_op()
H A Dcvmx-pip.h295 cvmx_pip_prt_cfgx_t port_cfg, in cvmx_pip_config_port() argument
310 cvmx_write_csr(CVMX_PIP_PRT_CFGX(port_num), port_cfg.u64); in cvmx_pip_config_port()
/f-stack/dpdk/drivers/bus/dpaa/base/fman/
H A Dnetcfg_layer.c42 struct fm_eth_port_cfg *p_cfg = &cfg_ptr->port_cfg[i]; in dump_netcfg()
127 struct fm_eth_port_cfg *cfg = &netcfg->port_cfg[idx]; in netcfg_acquire()
/f-stack/dpdk/drivers/bus/dpaa/include/
H A Dnetcfg.h27 struct fm_eth_port_cfg port_cfg[0]; member
/f-stack/dpdk/drivers/bus/dpaa/
H A Ddpaa_bus.c65 return &dpaa_netcfg->port_cfg[dev_id]; in dpaa_get_eth_port_cfg()
176 cfg = &dpaa_netcfg->port_cfg[i]; in dpaa_create_device_list()
/f-stack/dpdk/drivers/net/qede/base/
H A Decore_mcp.c2027 u32 port_cfg, val; in ecore_mcp_read_ufp_config() local
2033 port_cfg = ecore_rd(p_hwfn, p_ptt, p_hwfn->mcp_info->port_addr + in ecore_mcp_read_ufp_config()
2035 val = GET_MFW_FIELD(port_cfg, OEM_CFG_CHANNEL_TYPE); in ecore_mcp_read_ufp_config()
2040 val = GET_MFW_FIELD(port_cfg, OEM_CFG_SCHED_TYPE); in ecore_mcp_read_ufp_config()
/f-stack/dpdk/drivers/net/i40e/base/
H A Di40e_common.c4146 u64 port_cfg = 0; in i40e_parse_discover_capabilities() local
4151 i40e_aq_debug_read_register(hw, port_cfg_reg, &port_cfg, NULL); in i40e_parse_discover_capabilities()
4152 if (!(port_cfg & I40E_PRTGEN_CNF_PORT_DIS_MASK)) in i40e_parse_discover_capabilities()