From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id 206A669C5 for ; Mon, 13 Feb 2017 18:39:27 +0100 (CET) Received: by mail-wm0-f43.google.com with SMTP id t18so8080251wmt.0 for ; Mon, 13 Feb 2017 09:39:27 -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:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=jC02PH+H2FD+zNrn/zRvV021y6dIObJDhCfHj8zuaE0=; b=zWCdsD71JMPNAJHZhlweewnB1LN+3wv9VnZfrXmETD3bSMGcD18cm5AaaR6oZEJXzl K7Xg0VS42DriWWs/2hlg5J4Dytha3Y6xxpTve/Dr5aJAVNENqe5hvuKOcz6CP9z5mGKv hpzgFc5UE2Q2E8yIAwWreORef1DC9lycQCIFkH5NID7hVmEYBW0N+HC/pVDvHImPRGAm c6hwc4T8rFyL0m1XnaDo80bP0zSFiSf0mQvOx5Y//GrB4lbJirND7lq2uuvWDS2TSfpg htcRUYsSY5hObmpSm13lCaao24rYIU9cNfscm/pQdHzvZFpsIgcdMtwsyZ0W1Q6gXxM4 +fSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=jC02PH+H2FD+zNrn/zRvV021y6dIObJDhCfHj8zuaE0=; b=kucBMhkgWaUWLpDZrQaokw2cn1UpYwX4CSaVKAGYVx5oV171TXqSJMRtxAtfg4IAXu N9AVwAL1B4O/10Jish3fIuaBTvb+FeLS3bNXI2YyRXzLInXmv7DWJEgK4gwmn+DmXKpI 8m2Kt9qNiBxGjeGCMK2X0yeMydgCFxz5gp48byaNnpKfbyb1eMO/2lRncpYKRL4wR0A/ WmV/gYGf40bewkGPs89WdybHNgHXH8YX+/IHA8HgUq7mOr7x791EP/BDTGswzZcFZ+jD YswqQL3cPrQn+mJHqSjTILF9hwN0KB9NB0DL6Y/hsbhvvDpX4c1SWf6jOso5rr4SqZaf WDZw== X-Gm-Message-State: AMke39nYPgSW2Sbkm3a+t5h+jz9wyj2du8NMcyjuHCcFJCPvybJciXQecp2+xPECVT2XH+gi X-Received: by 10.28.213.142 with SMTP id m136mr21245743wmg.90.1487007566953; Mon, 13 Feb 2017 09:39:26 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id b87sm6220108wmi.0.2017.02.13.09.39.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Feb 2017 09:39:26 -0800 (PST) From: Thomas Monjalon To: "Dumitrescu, Cristian" Cc: Ferruh Yigit , dev@dpdk.org, "Richardson, Bruce" , "Wiles, Keith" Date: Mon, 13 Feb 2017 18:39:25 +0100 Message-ID: <53116045.9rx8z4L4Mf@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <894e4d0b-9541-c374-eabb-a1e0320e7347@intel.com> References: <3EB4FA525960D640B5BDFFD6A3D891265274BEE4@IRSMSX108.ger.corp.intel.com> <3EB4FA525960D640B5BDFFD6A3D891265274C023@IRSMSX108.ger.corp.intel.com> <894e4d0b-9541-c374-eabb-a1e0320e7347@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] doc: deprecation notice for ethdev ops? 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, 13 Feb 2017 17:39:27 -0000 2017-02-13 17:36, Ferruh Yigit: > On 2/13/2017 5:21 PM, Dumitrescu, Cristian wrote: > > Do you have a specific example that might cause an issue when adding a new function at the end of the ethdev ops structure? I cannot think of any, given that the ops structure is marked as internal and it is only accessed through pointers. > > Adding at the end of the struct is probably safe. There is no guarantee in DPDK for drivers interface compatibility. You can add your op anywhere relevant in the structure.