Home
last modified time | relevance | path

Searched refs:VCAP_CID_LOOKUP_SIZE (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/microchip/sparx5/
Dsparx5_vcap_impl.h26 (VCAP_CID_INGRESS_L5 + VCAP_CID_LOOKUP_SIZE - 1) /* IS0/CLM Max */
33 (VCAP_CID_INGRESS_STAGE2_L3 + VCAP_CID_LOOKUP_SIZE - 1) /* IS2 Max */
41 (VCAP_CID_EGRESS_STAGE2_L1 + VCAP_CID_LOOKUP_SIZE - 1) /* ES2 Max */
Dsparx5_tc_flower.c584 int link_val = target_cid % VCAP_CID_LOOKUP_SIZE; in sparx5_tc_add_rule_link_target()
/linux-6.6.21/drivers/net/ethernet/microchip/vcap/
Dvcap_api.h16 #define VCAP_CID_LOOKUP_SIZE 100000 /* Chains in a lookup */ macro
Dvcap_api.c982 int max_cid = roundup(cid + 1, VCAP_CID_LOOKUP_SIZE); in vcap_admin_rule_count()
983 int min_cid = rounddown(cid, VCAP_CID_LOOKUP_SIZE); in vcap_admin_rule_count()
1609 int cid_next = admin->first_cid + VCAP_CID_LOOKUP_SIZE; in vcap_chain_id_to_lookup()
1614 cid += VCAP_CID_LOOKUP_SIZE, cid_next += VCAP_CID_LOOKUP_SIZE) in vcap_chain_id_to_lookup()
1665 to_cid %= VCAP_CID_LOOKUP_SIZE; in vcap_chain_offset()
1668 diff %= VCAP_CID_LOOKUP_SIZE; /* Limit to a value within a lookup */ in vcap_chain_offset()
1686 next_cid = roundup(src_cid + 1, VCAP_CID_LOOKUP_SIZE); in vcap_is_next_lookup()
2211 int cid = rounddown(dst_cid, VCAP_CID_LOOKUP_SIZE); in vcap_path_exist()
2997 int next_chain = chain + VCAP_CID_LOOKUP_SIZE; in vcap_enable_rules()
3198 if (src_cid % VCAP_CID_LOOKUP_SIZE) in vcap_enable_lookups()
[all …]
/linux-6.6.21/drivers/net/ethernet/microchip/lan966x/
Dlan966x_tc_flower.c343 int link_val = target_cid % VCAP_CID_LOOKUP_SIZE; in lan966x_tc_add_rule_link_target()