From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ivan Boule Subject: Re: [PATCH] ethdev: fix non-reconfigurable pmd init Date: Mon, 16 Sep 2013 11:43:51 +0200 Message-ID: <5236D2D7.6000103@6wind.com> References: <1379079521-28859-1-git-send-email-thomas.monjalon@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Thomas Monjalon Return-path: In-Reply-To: <1379079521-28859-1-git-send-email-thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" On 09/13/2013 03:38 PM, Thomas Monjalon wrote: > Some Poll-Mode Drivers (PMD) are not reconfigurable and, > thus, do not implement (rx|tx)_queue_release functions. > For these drivers, the functions rte_eth_dev_(rx|tx)_queue_config > must return an ENOTSUP error only when reconfiguring, > but not at initial configuration. > > Move the FUNC_PTR_OR_ERR_RET check into the case of reconfiguration. > > Signed-off-by: Thomas Monjalon > Acked-by: Ivan Boule -- Ivan Boule 6WIND Development Engineer