Home
last modified time | relevance | path

Searched refs:flow_idx (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/infiniband/hw/hfi1/
H A Dtid_rdma.c736 u32 flow_idx) in kern_set_hw_flow() argument
751 RCV_TID_FLOW_TABLE + 8 * flow_idx, reg); in kern_set_hw_flow()
754 static u32 kern_setup_hw_flow(struct hfi1_ctxtdata *rcd, u32 flow_idx) in kern_setup_hw_flow() argument
757 u32 generation = rcd->flows[flow_idx].generation; in kern_setup_hw_flow()
759 kern_set_hw_flow(rcd, generation, flow_idx); in kern_setup_hw_flow()
772 static void kern_clear_hw_flow(struct hfi1_ctxtdata *rcd, u32 flow_idx) in kern_clear_hw_flow() argument
775 rcd->flows[flow_idx].generation = in kern_clear_hw_flow()
776 kern_flow_generation_next(rcd->flows[flow_idx].generation); in kern_clear_hw_flow()
777 kern_set_hw_flow(rcd, KERN_GENERATION_RESERVED, flow_idx); in kern_clear_hw_flow()
1708 struct tid_rdma_flow *flow = &req->flows[req->flow_idx]; in hfi1_build_tid_rdma_read_packet()
[all …]
H A Dtid_rdma.h110 u16 flow_idx; /* flow index most recently set up */ member
H A Drc.c799 req->flow_idx = req->setup_head; in hfi1_make_rc_req()
807 req->flow_idx = req->clear_tail; in hfi1_make_rc_req()
1072 flow = &req->flows[req->flow_idx]; in hfi1_make_rc_req()
/linux/tools/testing/selftests/drivers/net/hw/
H A Dncdevmem.c333 int flow_idx, ret; in ethtool_add_flow() local
338 for (flow_idx = 0; flow_idx < MAX_FLOWS; flow_idx++) in ethtool_add_flow()
339 if (ntuple_ids[flow_idx] == -1) in ethtool_add_flow()
341 if (flow_idx == MAX_FLOWS) { in ethtool_add_flow()
366 ntuple_ids[flow_idx] = flow_id; in ethtool_add_flow()
/linux/drivers/net/ethernet/ti/
H A Dam65-cpsw-nuss.c436 struct page *page, u32 flow_idx) in am65_cpsw_nuss_rx_push() argument
468 swdata->flow_id = flow_idx; in am65_cpsw_nuss_rx_push()
470 return k3_udma_glue_push_rx_chn(rx_chn->rx_chn, flow_idx, in am65_cpsw_nuss_rx_push()
1282 u32 flow_idx = flow->id; in am65_cpsw_nuss_rx_packets() local
1290 ret = k3_udma_glue_pop_rx_chn(rx_chn->rx_chn, flow_idx, &desc_dma); in am65_cpsw_nuss_rx_packets()
1298 dev_dbg(dev, "%s RX tdown flow: %u\n", __func__, flow_idx); in am65_cpsw_nuss_rx_packets()
1306 __func__, flow_idx, &desc_dma); in am65_cpsw_nuss_rx_packets()
1377 ret = am65_cpsw_nuss_rx_push(common, new_page, flow_idx); in am65_cpsw_nuss_rx_packets()
/linux/net/mac80211/
H A Dtx.c1448 u32 flow_idx; in ieee80211_txq_enqueue() local
1464 flow_idx = fq_flow_idx(fq, skb); in ieee80211_txq_enqueue()
1465 fq_tin_enqueue(fq, tin, flow_idx, skb, in ieee80211_txq_enqueue()
3422 u32 flow_idx; in ieee80211_amsdu_aggregate() local
3457 flow_idx = fq_flow_idx(fq, skb); in ieee80211_amsdu_aggregate()
3466 flow = fq_flow_classify(fq, tin, flow_idx, skb); in ieee80211_amsdu_aggregate()