Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/hfi1/
H A Dtid_rdma.c63 #define MAX_FLOWS roundup_pow_of_two(MAX_REQ + 1) macro
1479 if (!CIRC_SPACE(req->setup_head, clear_tail, MAX_FLOWS) || in hfi1_kern_exp_rcv_setup()
1480 CIRC_CNT(req->setup_head, clear_tail, MAX_FLOWS) >= in hfi1_kern_exp_rcv_setup()
1534 req->setup_head = (req->setup_head + 1) & (MAX_FLOWS - 1); in hfi1_kern_exp_rcv_setup()
1564 if (!CIRC_CNT(req->setup_head, req->clear_tail, MAX_FLOWS)) in hfi1_kern_exp_rcv_clear()
1580 req->clear_tail = (req->clear_tail + 1) & (MAX_FLOWS - 1); in hfi1_kern_exp_rcv_clear()
1600 while (CIRC_CNT(req->setup_head, req->clear_tail, MAX_FLOWS)) { in hfi1_kern_exp_rcv_clear_all()
1639 flows = kmalloc_node(MAX_FLOWS * sizeof(*flows), gfp, in hfi1_kern_exp_rcv_alloc_flows()
1644 for (i = 0; i < MAX_FLOWS; i++) { in hfi1_kern_exp_rcv_alloc_flows()
1689 for ( ; CIRC_CNT(head, tail, MAX_FLOWS); in find_flow_ib()
[all …]
/linux/tools/testing/selftests/drivers/net/hw/
H A Dncdevmem.c104 #define MAX_FLOWS 8 macro
105 static int ntuple_ids[MAX_FLOWS] = { -1, -1, -1, -1, -1, -1, -1, -1, };
338 for (flow_idx = 0; flow_idx < MAX_FLOWS; flow_idx++) in ethtool_add_flow()
341 if (flow_idx == MAX_FLOWS) { in ethtool_add_flow()
401 for (i = 0; i < MAX_FLOWS; i++) { in reset_flow_steering()
/linux/net/wireless/
H A Dnl80211.c1384 PUT_TXQVAL_U32(MAX_FLOWS, max_flows); in nl80211_put_txq_stats()