Lines Matching refs:flow_table
4835 static u32 rfs_slot(u32 hash, const struct rps_dev_flow_table *flow_table) in rfs_slot() argument
4837 return hash_32(hash, flow_table->log); in rfs_slot()
4848 struct rps_dev_flow_table *flow_table; in set_rps_cpu() local
4863 flow_table = rcu_dereference(rxqueue->rps_flow_table); in set_rps_cpu()
4864 if (!flow_table) in set_rps_cpu()
4866 flow_id = rfs_slot(skb_get_hash(skb), flow_table); in set_rps_cpu()
4872 rflow = &flow_table->flows[flow_id]; in set_rps_cpu()
4896 struct rps_dev_flow_table *flow_table; in get_rps_cpu() local
4917 flow_table = rcu_dereference(rxqueue->rps_flow_table); in get_rps_cpu()
4919 if (!flow_table && !map) in get_rps_cpu()
4928 if (flow_table && sock_flow_table) { in get_rps_cpu()
4945 rflow = &flow_table->flows[rfs_slot(hash, flow_table)]; in get_rps_cpu()
5005 struct rps_dev_flow_table *flow_table; in rps_may_expire_flow() local
5011 flow_table = rcu_dereference(rxqueue->rps_flow_table); in rps_may_expire_flow()
5012 if (flow_table && flow_id < (1UL << flow_table->log)) { in rps_may_expire_flow()
5013 rflow = &flow_table->flows[flow_id]; in rps_may_expire_flow()
5018 (int)(10 << flow_table->log))) in rps_may_expire_flow()