From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH v1 1/4] net/mlx4: move rdma-core calls to separate file Date: Wed, 24 Jan 2018 15:58:57 -0800 Message-ID: <20180124155857.52457b9d@xeon-e3> References: <20180124223625.1928-1-adrien.mazarguil@6wind.com> <20180124223625.1928-2-adrien.mazarguil@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Shahaf Shuler , Nelio Laranjeiro , dev@dpdk.org, Marcelo Ricardo Leitner To: Adrien Mazarguil Return-path: Received: from mail-pg0-f43.google.com (mail-pg0-f43.google.com [74.125.83.43]) by dpdk.org (Postfix) with ESMTP id B6A4C397D for ; Thu, 25 Jan 2018 00:59:00 +0100 (CET) Received: by mail-pg0-f43.google.com with SMTP id q67so3857586pga.9 for ; Wed, 24 Jan 2018 15:59:00 -0800 (PST) In-Reply-To: <20180124223625.1928-2-adrien.mazarguil@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" On Thu, 25 Jan 2018 00:25:00 +0100 Adrien Mazarguil wrote: > +const struct mlx4_glue *mlx4_glue = &(const struct mlx4_glue){ > + .fork_init = mlx4_glue_fork_init, > + .get_async_event = mlx4_glue_get_async_event, The cast should not be necessary here.