Home
last modified time | relevance | path

Searched refs:fc_cfg (Results 1 – 8 of 8) sorted by relevance

/dpdk/drivers/common/cnxk/
H A Droc_nix_fc.c23 fc_cfg->rxchan_cfg.enable = true; in nix_fc_rxchan_bpid_get()
25 fc_cfg->rxchan_cfg.enable = false; in nix_fc_rxchan_bpid_get()
27 fc_cfg->type = ROC_NIX_FC_RXCHAN_CFG; in nix_fc_rxchan_bpid_get()
122 aq->qidx = fc_cfg->cq_cfg.rq; in nix_fc_cq_config_get()
132 aq->qidx = fc_cfg->cq_cfg.rq; in nix_fc_cq_config_get()
162 aq->qidx = fc_cfg->cq_cfg.rq; in nix_fc_cq_config_set()
166 if (fc_cfg->cq_cfg.enable) { in nix_fc_cq_config_set()
182 aq->qidx = fc_cfg->cq_cfg.rq; in nix_fc_cq_config_set()
186 if (fc_cfg->cq_cfg.enable) { in nix_fc_cq_config_set()
231 fc_cfg->tm_cfg.tc, in roc_nix_fc_config_set()
[all …]
H A Droc_nix.h776 struct roc_nix_fc_cfg *fc_cfg);
779 struct roc_nix_fc_cfg *fc_cfg);
/dpdk/drivers/net/cnxk/
H A Dcnxk_ethdev_ops.c226 struct roc_nix_fc_cfg fc_cfg; in nix_fc_cq_config_set() local
232 fc_cfg.cq_cfg.enable = enable; in nix_fc_cq_config_set()
235 fc_cfg.cq_cfg.rq = qid; in nix_fc_cq_config_set()
289 struct roc_nix_fc_cfg fc_cfg; in cnxk_nix_flow_ctrl_set() local
303 struct roc_nix_fc_cfg fc_cfg; in cnxk_nix_flow_ctrl_set() local
309 fc_cfg.tm_cfg.sq = txq->qid; in cnxk_nix_flow_ctrl_set()
1039 struct roc_nix_fc_cfg fc_cfg; in nix_priority_flow_ctrl_configure() local
1068 mode = conf->fc_cfg.mode; in nix_priority_flow_ctrl_configure()
1084 fc_cfg.cq_cfg.rq = cq->qid; in nix_priority_flow_ctrl_configure()
1120 fc_cfg.tm_cfg.sq = sq->qid; in nix_priority_flow_ctrl_configure()
[all …]
H A Dcnxk_ethdev.c323 struct cnxk_fc_cfg *fc = &dev->fc_cfg; in nix_init_flow_ctrl_config()
348 struct cnxk_fc_cfg *fc = &dev->fc_cfg; in nix_update_flow_ctrl_config()
349 struct rte_eth_fc_conf fc_cfg = {0}; in nix_update_flow_ctrl_config() local
354 fc_cfg.mode = fc->mode; in nix_update_flow_ctrl_config()
359 (fc_cfg.mode == RTE_ETH_FC_FULL || fc_cfg.mode == RTE_ETH_FC_RX_PAUSE)) { in nix_update_flow_ctrl_config()
360 fc_cfg.mode = in nix_update_flow_ctrl_config()
361 (fc_cfg.mode == RTE_ETH_FC_FULL || in nix_update_flow_ctrl_config()
362 fc_cfg.mode == RTE_ETH_FC_TX_PAUSE) ? in nix_update_flow_ctrl_config()
1029 struct roc_nix_fc_cfg fc_cfg = {0}; in cnxk_nix_configure() local
1266 fc_cfg.type = ROC_NIX_FC_RXCHAN_CFG; in cnxk_nix_configure()
[all …]
H A Dcnxk_ethdev.h159 struct cnxk_fc_cfg fc_cfg; member
404 struct cnxk_fc_cfg fc_cfg; member
/dpdk/drivers/net/octeontx/base/
H A Docteontx_bgx.c360 if (cfg->fc_cfg == BGX_PORT_FC_CFG_SET) in octeontx_bgx_port_flow_ctrl_cfg()
368 if (cfg->fc_cfg == BGX_PORT_FC_CFG_SET) in octeontx_bgx_port_flow_ctrl_cfg()
H A Docteontx_bgx.h143 bgx_port_fc_t fc_cfg; member
/dpdk/drivers/net/octeontx/
H A Docteontx_ethdev_ops.c281 conf.fc_cfg = BGX_PORT_FC_CFG_SET; in octeontx_dev_flow_ctrl_set()