From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.warmcat.com (mail.warmcat.com [163.172.24.82]) by dpdk.org (Postfix) with ESMTP id A005423A for ; Mon, 28 May 2018 05:32:02 +0200 (CEST) To: dev@dpdk.org From: Andy Green Message-ID: <43ec6b34-b68c-618e-ab14-1f1b85f3315c@warmcat.com> Date: Mon, 28 May 2018 11:31:42 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: [dpdk-dev] Stable ABI status of rte_meter_[t|s]rtcm_profile_config 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: Mon, 28 May 2018 03:32:02 -0000 Hi - Between 18.02 and the putative 18.05 there were changes in the way the meter stuff deals with its config. I updated the related code in lagopus, but I get warnings about using the new APIs (it's the same for rte_meter_trtcm_profile_config()) ./dpdk/meter.c: In function 'dpdk_register_meter': ./dpdk/meter.c:119:7: warning: 'rte_meter_srtcm_profile_config' is deprecated: Symbol is not yet part of stable ABI [-Wdeprecated-declarations] rte_meter_srtcm_profile_config(&lband->sp, ¶m); ^ In file included from ./dpdk/meter.c:27:0: /home/agreen/lagopus/src/dpdk/build/include/rte_meter.h:86:1: note: declared here rte_meter_srtcm_profile_config(struct rte_meter_srtcm_profile *p, ^ ./dpdk/meter.c:132:7: warning: 'rte_meter_srtcm_profile_config' is deprecated: Symbol is not yet part of stable ABI [-Wdeprecated-declarations] rte_meter_srtcm_profile_config(&lband->sp, ¶m); ^ In file included from ./dpdk/meter.c:27:0: /home/agreen/lagopus/src/dpdk/build/include/rte_meter.h:86:1: note: declared here rte_meter_srtcm_profile_config(struct rte_meter_srtcm_profile *p, As far as I can see this api change is not optional, it changes the parameters for related apis to require a struct prepared with these new apis. -Andy