From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v5 11/12] net/failsafe: support link status change event Date: Wed, 05 Jul 2017 08:43:33 +0200 Message-ID: <2593529.NLIRXTxzvs@xps> References: <90f1b32cb82c9c402b6c861bac4dfcd98efdb331.1496877105.git.gaetan.rivet@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Gaetan Rivet Return-path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 93CA62C8 for ; Wed, 5 Jul 2017 08:43:34 +0200 (CEST) In-Reply-To: <90f1b32cb82c9c402b6c861bac4dfcd98efdb331.1496877105.git.gaetan.rivet@6wind.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patch need to be rebased with this change: --- a/drivers/net/failsafe/failsafe_ether.c +++ b/drivers/net/failsafe/failsafe_ether.c @@ -417,7 +417,7 @@ failsafe_eth_rmv_event_callback(uint8_t port_id __rte_unused, void failsafe_eth_lsc_event_callback(uint8_t port_id __rte_unused, enum rte_eth_event_type event __rte_unused, - void *cb_arg) + void *cb_arg, void *ret __rte_unused) { struct rte_eth_dev *dev = cb_arg; int ret; @@ -426,5 +426,5 @@ failsafe_eth_lsc_event_callback(uint8_t port_id __rte_unused, /* We must pass on the LSC event */ if (ret) _rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_INTR_LSC, - NULL); + NULL, NULL); } --- a/drivers/net/failsafe/failsafe_private.h +++ b/drivers/net/failsafe/failsafe_private.h void failsafe_eth_lsc_event_callback(uint8_t port_id, enum rte_eth_event_type event, - void *cb_arg); + void *cb_arg, void *ret);