src/dpdk/drivers/net/sfc/sfc_mae.c
static int
sfc_mae_actions_bundle_submit(const struct sfc_mae_actions_bundle *bundle,
			      efx_mae_actions_t *spec)
{
	int rc = 0;

	switch (bundle->type) {
	case SFC_MAE_ACTIONS_BUNDLE_EMPTY:
		break;
	case SFC_MAE_ACTIONS_BUNDLE_VLAN_PUSH:
		rc = efx_mae_action_set_populate_vlan_push(
			spec, bundle->vlan_push_tpid, bundle->vlan_push_tci);
		break;
	default:
		SFC_ASSERT(B_FALSE);
		break;
	}

	return rc;
}
/*
 * Combine configuration of RTE flow actions tracked by the bundle into a
 * single action and submit the result to MAE action set specification.
 * Do nothing in the case of dummy action bundle.
 */
Combine configuration of RTE flow actions tracked by the bundle into a
single action and submit the result to MAE action set specification.
Do nothing in the case of dummy action bundle.
Combine configuration of RTE flow actions tracked by the bundle into a single action and submit the result to MAE action set specification . Do nothing in the case of dummy action bundle .
static int
sfc_mae_actions_bundle_submit(const struct sfc_mae_actions_bundle *bundle,
			      efx_mae_actions_t *spec)
{
	int rc = 0;
	switch (bundle->type) {
	case SFC_MAE_ACTIONS_BUNDLE_EMPTY:
		break;
	case SFC_MAE_ACTIONS_BUNDLE_VLAN_PUSH:
		rc = efx_mae_action_set_populate_vlan_push(
			spec, bundle->vlan_push_tpid, bundle->vlan_push_tci);
		break;
	default:
		SFC_ASSERT(B_FALSE);
		break;
	}
	return rc;
}
static int sfc_mae_actions_bundle_submit ( const struct sfc_mae_actions_bundle * bundle , efx_mae_actions_t * spec ) { int rc = 0 ; switch ( bundle -> type ) { case SFC_MAE_ACTIONS_BUNDLE_EMPTY : break ; case SFC_MAE_ACTIONS_BUNDLE_VLAN_PUSH : rc = efx_mae_action_set_populate_vlan_push ( spec , bundle -> vlan_push_tpid , bundle -> vlan_push_tci ) ; break ; default : SFC_ASSERT ( B_FALSE ) ; break ; } return rc ; }
Combine configuration of RTE flow actions tracked by the bundle into a
 single action and submit the result to MAE action set specification.
Combine configuration of RTE flow actions tracked by the bundle into a single action and submit the result to MAE action set specification .