From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f181.google.com (mail-wr0-f181.google.com [209.85.128.181]) by dpdk.org (Postfix) with ESMTP id CA6621B261 for ; Fri, 6 Oct 2017 09:50:27 +0200 (CEST) Received: by mail-wr0-f181.google.com with SMTP id j14so12519447wre.8 for ; Fri, 06 Oct 2017 00:50:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=KiGg6vs1YuDqB82A64XbBh6jVPHKjk7qlQPKGGpJuF8=; b=spguYw3j+1D3dNuIN06/zHGcEcgh2ZJNIx4h0kbKcJgpj7+fJ/PDJ9p6SiEzl3PsAb qTnEDUI+WEyXPXbpMFLOXBro0Ociom9nXYxlWrdtd83RDWEQUTTi8KrSw1Eh/8A3LcHQ yR9APeLJKYzMbXbI1V/3ZbTJYUMBoI4S5KPZbSyTM76gG8dPs5KYZ33Z10uXCACzw4Pk aXrnWDktCGKI1Na0cWNJuat6zwzR5d/R8YdDxjreG5oj+XEJNcYe4BP9VnXBml5VYla+ o8rx+t6tCzTR54u3wzJ1dUqLJdMm7EX2WxbMQWAqWWfp42LVyJImcwR/PuCb7fs1xkL3 C8fA== 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:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=KiGg6vs1YuDqB82A64XbBh6jVPHKjk7qlQPKGGpJuF8=; b=d58As75audyDbetthX9fQsmJxgsa9aV8Vejv9kudrRR2aUFwvgXBHGHPatbZeObfgu I0bLg1wRID9LwX8A3mFJeOo4KImZrb9/c/uBpQXJwtHV2pZentUiqRDS4/tjSApnVKMu om58wnqiRG0IDdFJgw7MqSvrug5+N7TO828BqbmfkiqbqMdhWQZsWEaqomBCdJyE/UFC Vs1NmyOisUWmWTrlPYajIzd84hDUdSmw39EkxiGJwRJDG4D+krepUTvNaub03CO4vshs NiHJj2TEhokZBcDik4RKg3m0ZYgNuGJqi4doun83Rcbbddi/1YhDB3WoiWuA/LwTdDL3 aRaw== X-Gm-Message-State: AMCzsaVw0Tgg2lfWaSu6FOIdzHDrxtf+8gTS+jxyCUAUnWqhZwMrDlRF jA+8g9QZ7AburLjVqoAcQqgb X-Google-Smtp-Source: AOwi7QA4NMxSGLZJxplYIoE+H5EjWrTDQmlUP2FMYdy1VJKiQ1NNAQyq5M45jByM19ptMEHDhHWtjQ== X-Received: by 10.223.180.82 with SMTP id v18mr1272600wrd.61.1507276227311; Fri, 06 Oct 2017 00:50:27 -0700 (PDT) Received: from autoinstall.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id c37sm3200830wra.73.2017.10.06.00.50.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Oct 2017 00:50:26 -0700 (PDT) Date: Fri, 6 Oct 2017 09:50:16 +0200 From: =?iso-8859-1?Q?N=E9lio?= Laranjeiro To: Yongseok Koh Cc: adrien.mazarguil@6wind.com, dev@dpdk.org Message-ID: <20171006075016.GJ15330@autoinstall.dev.6wind.com> References: <20171005230032.7548-1-yskoh@mellanox.com> <20171005230032.7548-4-yskoh@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20171005230032.7548-4-yskoh@mellanox.com> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH v1 3/7] net/mlx5: use static assert for compile-time sanity checks 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: Fri, 06 Oct 2017 07:50:28 -0000 On Thu, Oct 05, 2017 at 04:00:28PM -0700, Yongseok Koh wrote: > Replace compile-time sanity check with static_assert() as c11 standard has > been set. Add mlx5_rxtx_vec.h and move the sanity checks to the file. > > Signed-off-by: Yongseok Koh Acked-by: Nelio Laranjeiro -- Nélio Laranjeiro 6WIND