From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] Add support for Tx->Rx loopback mode for 82599. Date: Mon, 30 Sep 2013 11:02:59 +0200 Message-ID: <201309301103.00169.thomas.monjalon@6wind.com> References: <1380202484-4835-1-git-send-email-jigsaw@gmail.com> <52454223.2090102@6wind.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Qinglai Xiao Return-path: In-Reply-To: <52454223.2090102-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" 27/09/2013 10:30, Ivan Boule : > On 09/26/2013 03:34 PM, Qinglai Xiao wrote: > > 82599 has two loopback operation modes, Tx->Rx and Rx->Tx. > > For the time being only Tx->Rx is supported. > > > > The new field lpbk_mode added in struct rte_eth_conf defines loopback > > operation mode for certain ethernet controller. By default the value > > of lpbk_mode is 0, meaning loopback mode disabled. > > > > Since each ethernet controller has its own definition of loopback modes, > > API user has to check both datasheet and implementation of certain driver > > so as to understand what are valid values to be set, and what are the > > expected behaviors. > > > > Check IXGBE_LPBK_82599_XXX which are defined in ixgbe_ethdev.h > > for valid values of 82599 loopback mode. > > > > Signed-off-by: Qinglai Xiao > > Acked-by: Ivan Boule applied with title "ixgbe: add Tx->Rx loopback mode for 82599" -- Thomas