src/dpdk/drivers/net/failsafe/failsafe_intr.c
static void
fs_rx_event_proxy_service_uninstall(struct fs_priv *priv)
{
	/* Unregister the event service. */
	switch (priv->rxp.sstate) {
	case SS_RUNNING:
		rte_service_map_lcore_set(priv->rxp.sid, priv->rxp.scid, 0);
		/* fall through */
	case SS_READY:
		rte_service_runstate_set(priv->rxp.sid, 0);
		rte_service_set_stats_enable(priv->rxp.sid, 0);
		rte_service_component_runstate_set(priv->rxp.sid, 0);
		/* fall through */
	case SS_REGISTERED:
		rte_service_component_unregister(priv->rxp.sid);
		/* fall through */
	default:
		break;
	}
}
/**
 * Uninstall failsafe Rx event proxy service.
 *
 * @param priv
 *   Pointer to failsafe private structure.
 */
Uninstall failsafe Rx event proxy service.
@param priv
Pointer to failsafe private structure.
Uninstall failsafe Rx event proxy service . @param priv Pointer to failsafe private structure .
static void
fs_rx_event_proxy_service_uninstall(struct fs_priv *priv)
{
	switch (priv->rxp.sstate) {
	case SS_RUNNING:
		rte_service_map_lcore_set(priv->rxp.sid, priv->rxp.scid, 0);
	case SS_READY:
		rte_service_runstate_set(priv->rxp.sid, 0);
		rte_service_set_stats_enable(priv->rxp.sid, 0);
		rte_service_component_runstate_set(priv->rxp.sid, 0);
	case SS_REGISTERED:
		rte_service_component_unregister(priv->rxp.sid);
	default:
		break;
	}
}
static void fs_rx_event_proxy_service_uninstall ( struct fs_priv * priv ) { switch ( priv -> rxp . sstate ) { case SS_RUNNING : rte_service_map_lcore_set ( priv -> rxp . sid , priv -> rxp . scid , 0 ) ; case SS_READY : rte_service_runstate_set ( priv -> rxp . sid , 0 ) ; rte_service_set_stats_enable ( priv -> rxp . sid , 0 ) ; rte_service_component_runstate_set ( priv -> rxp . sid , 0 ) ; case SS_REGISTERED : rte_service_component_unregister ( priv -> rxp . sid ) ; default : break ; } }
Uninstall failsafe Rx event proxy service.
Uninstall failsafe Rx event proxy service .
/* Unregister the event service. */ /* fall through */ /* fall through */ /* fall through */