src/dpdk/drivers/net/ice/base/ice_acl_ctrl.c
static void ice_acl_init_entry(struct ice_acl_scen *scen)
{
	/* low priority: start from the highest index, 25% of total entries
	 * normal priority: start from the highest index, 50% of total entries
	 * high priority: start from the lowest index, 25% of total entries
	 */
	scen->first_idx[ICE_ACL_PRIO_LOW] = scen->num_entry - 1;
	scen->first_idx[ICE_ACL_PRIO_NORMAL] = scen->num_entry -
		scen->num_entry / 4 - 1;
	scen->first_idx[ICE_ACL_PRIO_HIGH] = 0;

	scen->last_idx[ICE_ACL_PRIO_LOW] = scen->num_entry -
		scen->num_entry / 4;
	scen->last_idx[ICE_ACL_PRIO_NORMAL] = scen->num_entry / 4;
	scen->last_idx[ICE_ACL_PRIO_HIGH] = scen->num_entry / 4 - 1;
}
/**
 * ice_acl_init_entry
 * @scen: pointer to the scenario struct
 *
 * Initialize the scenario control structure.
 */
ice_acl_init_entry
@scen: pointer to the scenario struct

Initialize the scenario control structure.
ice_acl_init_entry @scen : pointer to the scenario struct Initialize the scenario control structure .
static void ice_acl_init_entry(struct ice_acl_scen *scen)
{
	scen->first_idx[ICE_ACL_PRIO_LOW] = scen->num_entry - 1;
	scen->first_idx[ICE_ACL_PRIO_NORMAL] = scen->num_entry -
		scen->num_entry / 4 - 1;
	scen->first_idx[ICE_ACL_PRIO_HIGH] = 0;
	scen->last_idx[ICE_ACL_PRIO_LOW] = scen->num_entry -
		scen->num_entry / 4;
	scen->last_idx[ICE_ACL_PRIO_NORMAL] = scen->num_entry / 4;
	scen->last_idx[ICE_ACL_PRIO_HIGH] = scen->num_entry / 4 - 1;
}
static void ice_acl_init_entry ( struct ice_acl_scen * scen ) { scen -> first_idx [ ICE_ACL_PRIO_LOW ] = scen -> num_entry - 1 ; scen -> first_idx [ ICE_ACL_PRIO_NORMAL ] = scen -> num_entry - scen -> num_entry / 4 - 1 ; scen -> first_idx [ ICE_ACL_PRIO_HIGH ] = 0 ; scen -> last_idx [ ICE_ACL_PRIO_LOW ] = scen -> num_entry - scen -> num_entry / 4 ; scen -> last_idx [ ICE_ACL_PRIO_NORMAL ] = scen -> num_entry / 4 ; scen -> last_idx [ ICE_ACL_PRIO_HIGH ] = scen -> num_entry / 4 - 1 ; }
ice_acl_init_entry
 @scen: pointer to the scenario struct
ice_acl_init_entry @scen : pointer to the scenario struct
/* low priority: start from the highest index, 25% of total entries
	 * normal priority: start from the highest index, 50% of total entries
	 * high priority: start from the lowest index, 25% of total entries
	 */