Searched refs:new_flow (Results 1 – 2 of 2) sorted by relevance
/net/openvswitch/ |
D | datapath.c | 947 struct sw_flow *flow = NULL, *new_flow; in ovs_flow_cmd_new() local 972 new_flow = ovs_flow_alloc(); in ovs_flow_cmd_new() 973 if (IS_ERR(new_flow)) { in ovs_flow_cmd_new() 974 error = PTR_ERR(new_flow); in ovs_flow_cmd_new() 991 ovs_flow_mask_key(&new_flow->key, key, true, &mask); in ovs_flow_cmd_new() 994 error = ovs_nla_get_identifier(&new_flow->id, a[OVS_FLOW_ATTR_UFID], in ovs_flow_cmd_new() 1001 &new_flow->key, &acts, log); in ovs_flow_cmd_new() 1007 reply = ovs_flow_cmd_alloc_info(acts, &new_flow->id, info, false, in ovs_flow_cmd_new() 1022 if (ovs_identifier_is_ufid(&new_flow->id)) in ovs_flow_cmd_new() 1023 flow = ovs_flow_tbl_lookup_ufid(&dp->table, &new_flow->id); in ovs_flow_cmd_new() [all …]
|
/net/core/ |
D | dev.c | 4671 unsigned int old_flow, new_flow; in skb_flow_limit() local 4681 new_flow = skb_get_hash(skb) & (fl->num_buckets - 1); in skb_flow_limit() 4683 fl->history[fl->history_head] = new_flow; in skb_flow_limit() 4691 if (++fl->buckets[new_flow] > (FLOW_LIMIT_HISTORY >> 1)) { in skb_flow_limit()
|