From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id 5FB0C9239 for ; Thu, 26 Nov 2015 21:36:23 +0100 (CET) Received: by wmvv187 with SMTP id v187so45546314wmv.1 for ; Thu, 26 Nov 2015 12:36:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :mime-version:content-transfer-encoding:content-type; bh=viWZtTit82Gu6suODVjXW0qi4RajO8KoknxxQ1gyFY4=; b=uYrKca+r7oLTONWcj1fT1XwhlKxZ2qt5SD2DKsI+BBI3IBxZAgNZjFPdl5oC6S/smU w2rOBViWGX5iB5o5BOpwoNxzwMyco/G02OoaQVW5fKdJEfB0eaKgX/ywSguKfZMhQcpH 4QDyS2ryVj8d4HPpZfrz4WB3xpU0xHNeIaVO67DtYBEF9U2htS3QE6x3qXGQ13272cO1 47HEDUZDG82yPz87pvl7B9ogkCtvnl6Fv7b+/Z8tH3yFWPZEsl7MXkeTBoVOZxSS/FF1 tHC1o9+f6McbQ68KEnDUZyqsBHEyBNbKu1F+Cm0ryvl5rHW/G1H6/7m4PnaLDBoGFoS1 uHbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:mime-version:content-transfer-encoding:content-type; bh=viWZtTit82Gu6suODVjXW0qi4RajO8KoknxxQ1gyFY4=; b=jDFEvADf/p+yo/571jSm+2Lu2T3+2PGkZNjc86e6fcK+Kv2fthfWMT6tZsFDzzSXCB LcLFXRRUl6t+Ely63mECk1VuRBZJS+F6De07YP0DuJX3nKywMLXOXIUZNdNqvqteJ1rq 3pLQKobYZA0NfWbgabovuZQjekdZkeaQpa5vTtCJ+oc5DzNmVMt8Co5Y3b8AOC0C9JxR BU3gWgPFf0t+Eo6Z2XlKwlsW4GaX63lVOfJ02r3UaOp02etaq2ZSPKWbs8iKlr8CypCi SFHbcSck++rlOJKTOmPzBjx0A3d1jKJ9V0FwlnRyK+JiQ9sSb3256BF0DMRPXcVm8dg9 HhFA== X-Gm-Message-State: ALoCoQlikmY33wgtPKhkwQApdlKSJ+kUecELtm+mXDA6gVWK+BVbicJ50XJj/BSGVPkOyWsb+VS+ X-Received: by 10.28.103.9 with SMTP id b9mr5687815wmc.8.1448570183237; Thu, 26 Nov 2015 12:36:23 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id 143sm4310807wmv.18.2015.11.26.12.36.22 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 26 Nov 2015 12:36:22 -0800 (PST) From: Thomas Monjalon To: dev@dpdk.org Date: Thu, 26 Nov 2015 21:35:03 +0100 Message-ID: <13076727.eWbPQotoSK@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: [dpdk-dev] API feature check _HAS_ X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Nov 2015 20:36:23 -0000 When introducing LRO, Vlad has defined the macro RTE_ETHDEV_HAS_LRO_SUPPORT: http://dpdk.org/browse/dpdk/commit/lib/librte_ether/rte_ethdev.h?id=8eecb329 It allows to use the feature without version check (before the release or after a backport). Do you think it is useful? Should we define other macros RTE_[API]_HAS_[FEATURE] for each new feature or API change? It's time to fix it before releasing the 2.2 version.