Home
last modified time | relevance | path

Searched refs:flow_cfg (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/dma/ti/
Dk3-udma-glue.c551 struct k3_udma_glue_rx_flow_cfg *flow_cfg) in k3_udma_glue_cfg_rx_flow() argument
576 flow_cfg->ring_rxfdq0_id, in k3_udma_glue_cfg_rx_flow()
577 flow_cfg->ring_rxq_id, in k3_udma_glue_cfg_rx_flow()
585 ret = k3_ringacc_ring_cfg(flow->ringrx, &flow_cfg->rx_cfg); in k3_udma_glue_cfg_rx_flow()
591 ret = k3_ringacc_ring_cfg(flow->ringrxfdq, &flow_cfg->rxfdq_cfg); in k3_udma_glue_cfg_rx_flow()
627 if (flow_cfg->rx_error_handling) in k3_udma_glue_cfg_rx_flow()
632 req.rx_src_tag_lo_sel = flow_cfg->src_tag_lo_sel; in k3_udma_glue_cfg_rx_flow()
944 struct k3_udma_glue_rx_flow_cfg *flow_cfg) in k3_udma_glue_rx_flow_init() argument
949 return k3_udma_glue_cfg_rx_flow(rx_chn, flow_idx, flow_cfg); in k3_udma_glue_rx_flow_init()
/Linux-v5.10/include/linux/dma/
Dk3-udma-glue.h117 u32 flow_idx, struct k3_udma_glue_rx_flow_cfg *flow_cfg);
/Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_nix.c2304 static int get_flowkey_alg_idx(struct nix_hw *nix_hw, u32 flow_cfg) in get_flowkey_alg_idx() argument
2310 if (nix_hw->flowkey.flowkey[i] == flow_cfg) in get_flowkey_alg_idx()
2316 static int set_flowkey_fields(struct nix_rx_flowkey_alg *alg, u32 flow_cfg) in set_flowkey_fields() argument
2351 field = &tmp; max_bit_pos = fls(flow_cfg); in set_flowkey_fields()
2356 valid_key = flow_cfg & key_type; in set_flowkey_fields()
2546 static int reserve_flowkey_alg_idx(struct rvu *rvu, int blkaddr, u32 flow_cfg) in reserve_flowkey_alg_idx() argument
2561 rc = set_flowkey_fields((struct nix_rx_flowkey_alg *)field, flow_cfg); in reserve_flowkey_alg_idx()
2573 hw->flowkey.flowkey[rc] = flow_cfg; in reserve_flowkey_alg_idx()