Searched refs:vcap_chain_id (Results 1 – 8 of 8) sorted by relevance
/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_vcap_impl.c | 284 return (rule->vcap_chain_id >= SPARX5_VCAP_CID_IS0_L0 && in sparx5_vcap_is0_is_first_chain() 285 rule->vcap_chain_id < SPARX5_VCAP_CID_IS0_L1) || in sparx5_vcap_is0_is_first_chain() 286 ((rule->vcap_chain_id >= SPARX5_VCAP_CID_IS0_L2 && in sparx5_vcap_is0_is_first_chain() 287 rule->vcap_chain_id < SPARX5_VCAP_CID_IS0_L3)) || in sparx5_vcap_is0_is_first_chain() 288 ((rule->vcap_chain_id >= SPARX5_VCAP_CID_IS0_L4 && in sparx5_vcap_is0_is_first_chain() 289 rule->vcap_chain_id < SPARX5_VCAP_CID_IS0_L5)); in sparx5_vcap_is0_is_first_chain() 295 return (rule->vcap_chain_id >= SPARX5_VCAP_CID_IS2_L0 && in sparx5_vcap_is2_is_first_chain() 296 rule->vcap_chain_id < SPARX5_VCAP_CID_IS2_L1) || in sparx5_vcap_is2_is_first_chain() 297 ((rule->vcap_chain_id >= SPARX5_VCAP_CID_IS2_L2 && in sparx5_vcap_is2_is_first_chain() 298 rule->vcap_chain_id < SPARX5_VCAP_CID_IS2_L3)); in sparx5_vcap_is2_is_first_chain() [all …]
|
D | sparx5_tc_flower.c | 419 admin, vrule->vcap_chain_id, in sparx5_tc_select_protocol_keyset()
|
/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_vcap_impl.c | 287 lookup = lan966x_vcap_is1_cid_to_lookup(rule->vcap_chain_id); in lan966x_vcap_validate_keyset() 292 lookup = lan966x_vcap_is2_cid_to_lookup(rule->vcap_chain_id); in lan966x_vcap_validate_keyset() 318 return (rule->vcap_chain_id >= LAN966X_VCAP_CID_IS2_L0 && in lan966x_vcap_is2_is_first_chain() 319 rule->vcap_chain_id < LAN966X_VCAP_CID_IS2_L1); in lan966x_vcap_is2_is_first_chain() 334 lookup = lan966x_vcap_is1_cid_to_lookup(rule->vcap_chain_id); in lan966x_vcap_is1_add_default_fields()
|
/drivers/net/ethernet/microchip/vcap/ |
D | vcap_api.h | 185 int vcap_chain_id; /* chain used for this rule */ member
|
D | vcap_api.c | 989 if (elem->data.vcap_chain_id >= min_cid && in vcap_admin_rule_count() 990 elem->data.vcap_chain_id < max_cid) in vcap_admin_rule_count() 2251 else if (vcap_path_exist(ri->vctrl, ri->ndev, ri->data.vcap_chain_id)) in vcap_rule_set_state() 2312 struct net_device *ndev, int vcap_chain_id, in vcap_alloc_rule() argument 2326 admin = vcap_find_admin(vctrl, vcap_chain_id); in vcap_alloc_rule() 2354 ri->data.vcap_chain_id = vcap_chain_id; in vcap_alloc_rule() 3010 if (!(ri->data.vcap_chain_id >= chain && in vcap_enable_rules() 3011 ri->data.vcap_chain_id < next_chain)) { in vcap_enable_rules() 3067 if (ri->data.vcap_chain_id != chain) in vcap_disable_rules() 3566 rule = vcap_alloc_rule(ri->vctrl, ri->ndev, ri->data.vcap_chain_id, in vcap_copy_rule()
|
D | vcap_api_client.h | 160 int vcap_chain_id,
|
D | vcap_api_debugfs.c | 247 out->prf(out->dst, " chain_id: %d\n", ri->data.vcap_chain_id); in vcap_show_admin_rule()
|
D | vcap_api_kunit.c | 1353 int vcap_chain_id = 8000000; in vcap_api_encode_rule_test() local 1377 rule = vcap_alloc_rule(&test_vctrl, &test_netdev, vcap_chain_id, user, in vcap_api_encode_rule_test() 1427 rule->vcap_chain_id, rule->cookie, true); in vcap_api_encode_rule_test()
|