Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ethernet/microchip/sparx5/
A 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 */
A Dsparx5_tc_flower.c576 int link_val = target_cid % VCAP_CID_LOOKUP_SIZE; in sparx5_tc_add_rule_link_target()
/linux-6.3-rc2/drivers/net/ethernet/microchip/vcap/
A Dvcap_api.h16 #define VCAP_CID_LOOKUP_SIZE 100000 /* Chains in a lookup */ macro
A Dvcap_api.c1576 int cid_next = admin->first_cid + VCAP_CID_LOOKUP_SIZE; in vcap_chain_id_to_lookup()
1581 cid += VCAP_CID_LOOKUP_SIZE, cid_next += VCAP_CID_LOOKUP_SIZE) in vcap_chain_id_to_lookup()
1632 to_cid %= VCAP_CID_LOOKUP_SIZE; in vcap_chain_offset()
1635 diff %= VCAP_CID_LOOKUP_SIZE; /* Limit to a value within a lookup */ in vcap_chain_offset()
1653 next_cid = roundup(src_cid + 1, VCAP_CID_LOOKUP_SIZE); in vcap_is_next_lookup()
2178 int cid = rounddown(dst_cid, VCAP_CID_LOOKUP_SIZE); in vcap_path_exist()
2964 int next_chain = chain + VCAP_CID_LOOKUP_SIZE; in vcap_enable_rules()
3165 if (src_cid % VCAP_CID_LOOKUP_SIZE) in vcap_enable_lookups()
3167 if (dst_cid % VCAP_CID_LOOKUP_SIZE) in vcap_enable_lookups()

Completed in 14 milliseconds