Home
last modified time | relevance | path

Searched refs:ct_flow (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_ct.c1818 struct mlx5_ct_flow *ct_flow; in __mlx5_tc_ct_flow_offload() local
1822 ct_flow = kzalloc(sizeof(*ct_flow), GFP_KERNEL); in __mlx5_tc_ct_flow_offload()
1823 if (!ct_flow) { in __mlx5_tc_ct_flow_offload()
1835 ct_flow->ft = ft; in __mlx5_tc_ct_flow_offload()
1838 ct_flow->pre_ct_attr = mlx5_alloc_flow_attr(ct_priv->ns_type); in __mlx5_tc_ct_flow_offload()
1839 if (!ct_flow->pre_ct_attr) { in __mlx5_tc_ct_flow_offload()
1844 pre_ct_attr = ct_flow->pre_ct_attr; in __mlx5_tc_ct_flow_offload()
1863 ct_flow->chain_mapping = chain_mapping; in __mlx5_tc_ct_flow_offload()
1900 ct_flow->pre_ct_rule = mlx5_tc_rule_insert(priv, orig_spec, in __mlx5_tc_ct_flow_offload()
1902 if (IS_ERR(ct_flow->pre_ct_rule)) { in __mlx5_tc_ct_flow_offload()
[all …]
Dtc_ct.h28 struct mlx5_ct_flow *ct_flow; member
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c3321 is_action_keys_supported(const struct flow_action_entry *act, bool ct_flow, in is_action_keys_supported() argument
3348 if (ct_flow && *modify_tuple) { in is_action_keys_supported()
3363 if (ct_flow && offset >= offsetof(struct ipv6hdr, saddr)) in is_action_keys_supported()
3366 if (ct_flow && *modify_tuple) { in is_action_keys_supported()
3374 if (ct_flow) { in is_action_keys_supported()
3385 bool ct_flow, struct netlink_ext_ack *extack, in modify_tuple_supported() argument
3392 if (ct_flow) { in modify_tuple_supported()
3418 u32 actions, bool ct_flow, in modify_header_match_supported() argument
3446 if (!is_action_keys_supported(act, ct_flow, in modify_header_match_supported()
3452 if (!modify_tuple_supported(modify_tuple, ct_clear, ct_flow, extack, in modify_header_match_supported()
[all …]