Lines Matching refs:flow_table
4750 static u32 rfs_slot(u32 hash, const struct rps_dev_flow_table *flow_table) in rfs_slot() argument
4752 return hash_32(hash, flow_table->log); in rfs_slot()
4763 struct rps_dev_flow_table *flow_table; in set_rps_cpu() local
4778 flow_table = rcu_dereference(rxqueue->rps_flow_table); in set_rps_cpu()
4779 if (!flow_table) in set_rps_cpu()
4781 flow_id = rfs_slot(skb_get_hash(skb), flow_table); in set_rps_cpu()
4787 rflow = &flow_table->flows[flow_id]; in set_rps_cpu()
4811 struct rps_dev_flow_table *flow_table; in get_rps_cpu() local
4832 flow_table = rcu_dereference(rxqueue->rps_flow_table); in get_rps_cpu()
4834 if (!flow_table && !map) in get_rps_cpu()
4843 if (flow_table && sock_flow_table) { in get_rps_cpu()
4860 rflow = &flow_table->flows[rfs_slot(hash, flow_table)]; in get_rps_cpu()
4920 struct rps_dev_flow_table *flow_table; in rps_may_expire_flow() local
4926 flow_table = rcu_dereference(rxqueue->rps_flow_table); in rps_may_expire_flow()
4927 if (flow_table && flow_id < (1UL << flow_table->log)) { in rps_may_expire_flow()
4928 rflow = &flow_table->flows[flow_id]; in rps_may_expire_flow()
4933 (int)(10 << flow_table->log))) in rps_may_expire_flow()