Home
last modified time | relevance | path

Searched refs:ct_zone (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/net/ethernet/sfc/
H A Dtc_conntrack.c352 static int efx_tc_ct_replace(struct efx_tc_ct_zone *ct_zone, in efx_tc_ct_replace() argument
358 struct efx_nic *efx = ct_zone->efx; in efx_tc_ct_replace()
386 conn->zone = ct_zone; in efx_tc_ct_replace()
441 mutex_lock(&ct_zone->mutex); in efx_tc_ct_replace()
442 list_add_tail(&conn->list, &ct_zone->cts); in efx_tc_ct_replace()
443 mutex_unlock(&ct_zone->mutex); in efx_tc_ct_replace()
485 static int efx_tc_ct_destroy(struct efx_tc_ct_zone *ct_zone, in efx_tc_ct_destroy() argument
488 struct efx_nic *efx = ct_zone->efx; in efx_tc_ct_destroy()
499 mutex_lock(&ct_zone->mutex); in efx_tc_ct_destroy()
502 mutex_unlock(&ct_zone->mutex); in efx_tc_ct_destroy()
[all …]
H A Dtc_conntrack.h37 struct efx_tc_ct_zone *ct_zone);
H A Dtc.c452 match->value.ct_zone = fm.key->ct_zone; in efx_tc_flower_parse_match()
453 match->mask.ct_zone = fm.mask->ct_zone; in efx_tc_flower_parse_match()
984 struct efx_tc_ct_zone *ct_zone; in efx_tc_flower_handle_lhs_actions() local
1050 ct_zone = efx_tc_ct_register_zone(efx, fa->ct.zone, in efx_tc_flower_handle_lhs_actions()
1052 if (IS_ERR(ct_zone)) { in efx_tc_flower_handle_lhs_actions()
1054 return PTR_ERR(ct_zone); in efx_tc_flower_handle_lhs_actions()
1056 act->zone = ct_zone; in efx_tc_flower_handle_lhs_actions()
H A Dtc.h119 u16 ct_zone; member
/linux/net/netfilter/
H A Dnf_conntrack_bpf.c113 struct nf_conntrack_zone ct_zone; in __bpf_nf_ct_alloc_entry() local
151 nf_ct_zone_init(&ct_zone, in __bpf_nf_ct_alloc_entry()
154 ct_zone = nf_ct_zone_dflt; in __bpf_nf_ct_alloc_entry()
157 ct = nf_conntrack_alloc(net, &ct_zone, &otuple, &rtuple, in __bpf_nf_ct_alloc_entry()
179 struct nf_conntrack_zone ct_zone; in __bpf_nf_ct_lookup() local
213 nf_ct_zone_init(&ct_zone, in __bpf_nf_ct_lookup()
216 ct_zone = nf_ct_zone_dflt; in __bpf_nf_ct_lookup()
219 hash = nf_conntrack_find_get(net, &ct_zone, &tuple); in __bpf_nf_ct_lookup()
/linux/net/openvswitch/
H A Dopenvswitch_trace.h61 __entry->key_ct_zone = key->ct_zone;
131 __entry->key_ct_zone = key->ct_zone;
138 TP_printk("dpaddr=%p dp_name=%s dev=%s skbaddr=%p len=%u data_len=%u truesize=%u nr_frags=%d gso_size=%d gso_type=%#x ovs_flow_hash=0x%08x recirc_id=0x%08x keyaddr=%p eth_type=0x%04x ct_state=%02x ct_orig_proto=%02x ct_zone=%04x flow_key_valid=%d upcall_cmd=%u upcall_port=%u upcall_mru=%u",
H A Dconntrack.h82 key->ct_zone = 0; in ovs_ct_fill_key()
H A Dconntrack.c203 key->ct_zone = zone->id; in __ovs_ct_update_key()
297 nla_put_u16(skb, OVS_KEY_ATTR_CT_ZONE, output->ct_zone)) in ovs_ct_put_key()
549 (key->ct_zone == info->zone.id); in ovs_ct_executed()
1765 struct nf_conntrack_zone ct_zone; in __ovs_ct_limit_get_zone_limit() local
1771 nf_ct_zone_init(&ct_zone, zone_id, NF_CT_DEFAULT_ZONE_DIR, 0); in __ovs_ct_limit_get_zone_limit()
1774 &ct_zone); in __ovs_ct_limit_get_zone_limit()
H A Dflow.h108 u16 ct_zone; /* Conntrack zone. */ member
H A Dflow_netlink.c1241 u16 ct_zone = nla_get_u16(a[OVS_KEY_ATTR_CT_ZONE]); in metadata_from_nlattrs() local
1243 SW_FLOW_KEY_PUT(match, ct_zone, ct_zone, is_mask); in metadata_from_nlattrs()
1974 key->ct_zone = 0; in ovs_nla_get_flow_metadata()
H A Dflow.c1064 key->ct_zone = zone; in ovs_flow_key_extract()
/linux/include/net/
H A Dflow_dissector.h276 u16 ct_zone; member
/linux/net/sched/
H A Dcls_flower.c1777 fl_set_key_val(tb, &key->ct_zone, TCA_FLOWER_KEY_CT_ZONE, in fl_set_key_ct()
1778 &mask->ct_zone, TCA_FLOWER_KEY_CT_ZONE_MASK, in fl_set_key_ct()
1779 sizeof(key->ct_zone)); in fl_set_key_ct()
3316 fl_dump_key_val(skb, &key->ct_zone, TCA_FLOWER_KEY_CT_ZONE, in fl_dump_key_ct()
3317 &mask->ct_zone, TCA_FLOWER_KEY_CT_ZONE_MASK, in fl_dump_key_ct()
3318 sizeof(key->ct_zone))) in fl_dump_key_ct()
/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dconntrack.c1913 if (!ct.mask->ct_zone) { in nfp_fl_ct_handle_post_ct()
1915 } else if (ct.mask->ct_zone != U16_MAX) { in nfp_fl_ct_handle_post_ct()
1921 zt = get_nfp_zone_entry(priv, ct.key->ct_zone, wildcarded); in nfp_fl_ct_handle_post_ct()
/linux/net/core/
H A Dflow_dissector.c345 key->ct_zone = zone; in skb_flow_dissect_ct()
352 key->ct_zone = ct->zone.id; in skb_flow_dissect_ct()