From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-f193.google.com (mail-pl1-f193.google.com [209.85.214.193]) by dpdk.org (Postfix) with ESMTP id 455552B87 for ; Thu, 28 Feb 2019 18:24:38 +0100 (CET) Received: by mail-pl1-f193.google.com with SMTP id m10so10047534plt.10 for ; Thu, 28 Feb 2019 09:24:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=B4WKx9e+/hiypfzP1VXSHL5M+zhUnfXfdh8OPjHruw4=; b=HaEPZKIb6xPA1cGZt1GScIaLi6enFTbm6YYj/aGoLQFyfKtLXTYloi7OSl0vyLdPuE 2T7I8/pRBKgU9+PLZapTOd1BmYdTK4xrRFHBwC58x8njYH9YnNPtPfh69rCNr9dPcfOT THWJG0UDajpueEGPOc5cQYbUs0FjftNwF31fuWanX4w/B1Wwv41r6HG+6P4dQUVL5lt5 OXNPtPGm/2IZImN5GUZR/xY1y7McrwAp4PAMuRij+xzq1NRnmxPJO8xHzj72BJp5/Xho 5qhAZcBba8tAsEi2J0MALBndW/NVjZCOI/DMUptHew/K5+StZ7AHdaOAEcGKgJbDzO/M jANQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=B4WKx9e+/hiypfzP1VXSHL5M+zhUnfXfdh8OPjHruw4=; b=kEi3NxqMSVdyjzMwIHfYTHfqfDmplf15lTx9yHii1XXGkORgpotLuHmux1YvLPkM8m apf76ZbArW2dX+7z610MQHFKiNoSyuPWHqgyYC+MF5seT7ZpJFw8+AdXg1Smxu6FCakJ SX9rgiKj4L01Apr57e/kFWjNXYUfA6lDjp/W94TNhor2pqMzaQHd2KwwtcsFI8lz6XlC H2LwFUaMpIn7SvRYO2Y9IKQEX3Z2P7rQG23g29TcM6aFWRGPI6nv7yoPEzZVZpm1bnrG l1okpg8vcwa4g1ZBxux0qt3ELgqttM8ijaahrXTgRMwVf6sr9B76RyuPtzCc3TBP79o3 ml+w== X-Gm-Message-State: APjAAAXXqhzgZShDt6ZlNL3UgFkn7HW4lZROrCoQUwPgp1sdmnxQWCXv zyecBB5XKqzDwv8L1apByjsLnQ== X-Google-Smtp-Source: APXvYqyURoVH4uwar2MpT8kl5iKNrJewMOI1g4VLftj2gUt6ogvzr34ecZZGzMIglsJheFJ3zQWw4Q== X-Received: by 2002:a17:902:6b8a:: with SMTP id p10mr458187plk.109.1551374677393; Thu, 28 Feb 2019 09:24:37 -0800 (PST) Received: from shemminger-XPS-13-9360 (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id h64sm34345701pfc.142.2019.02.28.09.24.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 28 Feb 2019 09:24:37 -0800 (PST) Date: Thu, 28 Feb 2019 09:24:34 -0800 From: Stephen Hemminger To: Raslan Darawsheh Cc: "gaetan.rivet@6wind.com" , "dev@dpdk.org" , Thomas Monjalon Message-ID: <20190228092434.20685ac8@shemminger-XPS-13-9360> In-Reply-To: <1551368952-1871-5-git-send-email-rasland@mellanox.com> References: <1551368952-1871-1-git-send-email-rasland@mellanox.com> <1551368952-1871-5-git-send-email-rasland@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 4/4] net/failsafe: support secondary process 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: Thu, 28 Feb 2019 17:24:38 -0000 On Thu, 28 Feb 2019 15:49:28 +0000 Raslan Darawsheh wrote: > + eth_dev->rx_pkt_burst = (eth_rx_burst_t)&failsafe_rx_burst; > + eth_dev->tx_pkt_burst = (eth_tx_burst_t)&failsafe_tx_burst; Why is cast necessary here. The function signature should match.