Home
last modified time | relevance | path

Searched refs:post_ct (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-6.6/net/openvswitch/
H A Dconntrack.h29 bool post_ct);
79 bool post_ct) in ovs_ct_fill_key()
77 ovs_ct_fill_key(const struct sk_buff *skb, struct sw_flow_key *key, bool post_ct) ovs_ct_fill_key() argument
H A Dflow.c1006 bool post_ct = false, post_ct_snat = false, post_ct_dnat = false; in ovs_flow_key_extract() local
1047 post_ct = tc_ext ? tc_ext->post_ct : false; in ovs_flow_key_extract()
1048 post_ct_snat = post_ct ? tc_ext->post_ct_snat : false; in ovs_flow_key_extract()
1049 post_ct_dnat = post_ct ? tc_ext->post_ct_dnat : false; in ovs_flow_key_extract()
1050 zone = post_ct ? tc_ext->zone : 0; in ovs_flow_key_extract()
1060 ovs_ct_fill_key(skb, key, post_ct); /* Must be after key_extract(). */ in ovs_flow_key_extract()
1061 if (post_ct) { in ovs_flow_key_extract()
H A Dconntrack.c232 /* Update 'key' based on skb->_nfct. If 'post_ct' is true, then OVS has
239 struct sw_flow_key *key, bool post_ct, in ovs_ct_update_key()
267 } else if (post_ct) { in ovs_ct_update_key()
280 bool post_ct) in ovs_ct_fill_key()
282 ovs_ct_update_key(skb, NULL, key, post_ct, false); in ovs_ct_fill_key()
237 ovs_ct_update_key(const struct sk_buff *skb, const struct ovs_conntrack_info *info, struct sw_flow_key *key, bool post_ct, bool keep_nat_flags) ovs_ct_update_key() argument
278 ovs_ct_fill_key(const struct sk_buff *skb, struct sw_flow_key *key, bool post_ct) ovs_ct_fill_key() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dct_fs.h20 struct mlx5_flow_table *ct_nat, struct mlx5_flow_table *post_ct);
H A Dct_fs_dmfs.c19 struct mlx5_flow_table *ct_nat, struct mlx5_flow_table *post_ct) in mlx5_ct_fs_dmfs_init()
18 mlx5_ct_fs_dmfs_init(struct mlx5_ct_fs *fs, struct mlx5_flow_table *ct, struct mlx5_flow_table *ct_nat, struct mlx5_flow_table *post_ct) mlx5_ct_fs_dmfs_init() argument
H A Dct_fs_smfs.c184 struct mlx5_flow_table *ct_nat, struct mlx5_flow_table *post_ct) in mlx5_ct_fs_smfs_init()
189 post_ct_tbl = mlx5_smfs_table_get_from_fs_ft(post_ct); in mlx5_ct_fs_smfs_init()
183 mlx5_ct_fs_smfs_init(struct mlx5_ct_fs *fs, struct mlx5_flow_table *ct, struct mlx5_flow_table *ct_nat, struct mlx5_flow_table *post_ct) mlx5_ct_fs_smfs_init() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_ct.c53 struct mlx5_flow_table *post_ct; member
740 attr->dest_ft = ct_priv->post_ct; in mlx5_tc_ct_entry_add_rule()
1383 dest.ft = ct_priv->post_ct; in tc_ct_pre_ct_add_rules()
1663 * + zone+nat match +---------------->+ post_ct (see below) +
1678 * + post_ct + original filter actions
1809 /* Put post_ct rule on post_ct flow table */ in __mlx5_tc_ct_flow_offload()
1812 ct_flow->post_ct_attr->ft = ct_priv->post_ct; in __mlx5_tc_ct_flow_offload()
2132 ct_priv->post_ct = mlx5_chains_create_global_table(chains); in mlx5_tc_ct_init()
2133 if (IS_ERR(ct_priv->post_ct)) { in mlx5_tc_ct_init()
[all...]
/kernel/linux/linux-6.6/include/net/
H A Dpkt_sched.h282 u8 post_ct:1; member
285 u16 zone; /* Only valid if post_ct = true */
/kernel/linux/linux-5.10/net/openvswitch/
H A Dconntrack.c228 /* Update 'key' based on skb->_nfct. If 'post_ct' is true, then OVS has
235 struct sw_flow_key *key, bool post_ct, in ovs_ct_update_key()
263 } else if (post_ct) { in ovs_ct_update_key()
233 ovs_ct_update_key(const struct sk_buff *skb, const struct ovs_conntrack_info *info, struct sw_flow_key *key, bool post_ct, bool keep_nat_flags) ovs_ct_update_key() argument
/kernel/linux/linux-6.6/net/sched/
H A Dact_ct.c977 tc_skb_cb(skb)->post_ct = false; in tcf_ct_act()
1078 tc_skb_cb(skb)->post_ct = true; in tcf_ct_act()
H A Dcls_flower.c318 bool post_ct = tc_skb_cb(skb)->post_ct; in fl_classify() local
337 post_ct, zone); in fl_classify()
H A Dcls_api.c1801 ext->post_ct = cb->post_ct; in tcf_classify()
/kernel/linux/linux-6.6/net/core/
H A Dflow_dissector.c321 size_t mapsize, bool post_ct, u16 zone) in skb_flow_dissect_ct()
333 if (!ct && !post_ct) in skb_flow_dissect_ct()
318 skb_flow_dissect_ct(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, u16 *ctinfo_map, size_t mapsize, bool post_ct, u16 zone) skb_flow_dissect_ct() argument
H A Ddev.c3956 tc_skb_cb(skb)->post_ct = false; in tc_run()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_ct.c2045 struct mlx5_flow_table *post_ct = mlx5e_tc_post_act_get_ft(ct_priv->post_act); in mlx5_tc_ct_fs_init() local
2063 err = ct_priv->fs_ops->init(ct_priv->fs, ct_priv->ct, ct_priv->ct_nat, post_ct); in mlx5_tc_ct_fs_init()
/kernel/linux/linux-6.6/include/linux/
H A Dskbuff.h328 u8 post_ct:1; member
1543 bool post_ct, u16 zone);

Completed in 46 milliseconds