From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 4DD6820A47; Wed, 5 Jul 2017 02:43:34 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Wed, 05 Jul 2017 02:43:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=q9SXYY8BylNVc/H B2W3dG0b97UcImyeNv6Vg2wK13SE=; b=mO0p7bz203rK7sqWOdE8im0eY06QwLA aYhw8xAjJ3h0o7sK+7ZzjWjeSlqfwoyZfuMzQaJyeaNx0xH571+jZDCUK8V9Ls0S JLvMmYBZl9OIyG+yd+7M3wgYkN+6ghjmluf36q0YCTZJboSj8Izey8/g9xj6RA/s 05VIHuw6dEPU= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=q9SXYY8BylNVc/HB2W3dG0b97UcImyeNv6Vg2wK13SE=; b=Xl8yDr0X QDHfkY3Z9VbzURqhIIOtlGjjq5ZfVxxChCpv+UjcLsU88z6vw+1+2S/cY7seC4NB RozAWYk8aNeMkgD5Z3nrfEB6Iif2XSrCqgfZ5ga79Z9LX7xTs+6TgoprjUX1tQSA 6FfEFE+3aoMj8Ob/ePWvP9HkPTYpm1+pn2u0c1keXmdmnpxCP5aMAoUMSbgRmjCv sIepKX/zlqJ6bIofLpMZlEJuQhvN9jyiCozHaMpZykjjYm4a/yRkzW0Az/J9HlTM Rmdxaf1FvFT2axJFyyVA54PRdVq+tNnMRn8ev0revfq4H+r4JO5bjNLS5I5uZzWN Elz3cn3AbOF0pg== X-ME-Sender: X-Sasl-enc: UmXGc55x7XxrvbfBhQoKXAkk2CRYWlED3D0W8hWbDXiG 1499237014 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 040E624251; Wed, 5 Jul 2017 02:43:34 -0400 (EDT) From: Thomas Monjalon To: Gaetan Rivet Cc: dev@dpdk.org Date: Wed, 05 Jul 2017 08:43:33 +0200 Message-ID: <2593529.NLIRXTxzvs@xps> In-Reply-To: <90f1b32cb82c9c402b6c861bac4dfcd98efdb331.1496877105.git.gaetan.rivet@6wind.com> References: <90f1b32cb82c9c402b6c861bac4dfcd98efdb331.1496877105.git.gaetan.rivet@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v5 11/12] net/failsafe: support link status change event X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jul 2017 06:43:35 -0000 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);