From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id 734A6678B for ; Mon, 30 Sep 2013 11:02:20 +0200 (CEST) Received: by mail-wg0-f50.google.com with SMTP id f12so5325965wgh.29 for ; Mon, 30 Sep 2013 02:03:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:organization:to:subject:date:user-agent:cc :references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=CDLVps8apCRBvjFuAXA+UHrfK6ClT+P08ZzXla7bMlU=; b=D1Te7I4Y/NixSk2gYfBRmKNSOxibovbl6YiU8/+RR16gHgwf4HGKanYUhduBknYVZ/ MOPk8fjc5k+Gw2uEI9kCO16BIAK+yyPPmg+O80MpQO94CrMJMi9UNBcyID3fSfhokF4d gV2PUhRWu81UlLAmflVhCqyzv9J9MALwdNI0cbWQG2GXfpF/hKW5NA0bmE423WDBAgXi 082GuQLkLD6GC3hhXAGnYDTkOlFKygLujzPFOkO4QpbPlUefyKKu6oeLUOKilpc/1cW5 NDiu840fO2+8ZPc2HD3HU20tp+fllHnGDDzQ10tn0Ov50g0jnRgbmmWljl7ShgYqv5Gg Eb7Q== X-Gm-Message-State: ALoCoQkdIRxRlwXCNdOFBgZ2HfGa7DgBHHzwH9oNN8RMYdNWu018fUBuoeKsWpYu31AE1/oPhH3E X-Received: by 10.180.9.69 with SMTP id x5mr12873195wia.41.1380531782370; Mon, 30 Sep 2013 02:03:02 -0700 (PDT) Received: from angus.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id i8sm23861572wiy.6.1969.12.31.16.00.00 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 30 Sep 2013 02:03:01 -0700 (PDT) From: Thomas Monjalon Organization: 6WIND To: Qinglai Xiao Date: Mon, 30 Sep 2013 11:02:59 +0200 User-Agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; ) References: <1380202484-4835-1-git-send-email-jigsaw@gmail.com> <52454223.2090102@6wind.com> In-Reply-To: <52454223.2090102@6wind.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201309301103.00169.thomas.monjalon@6wind.com> Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] Add support for Tx->Rx loopback mode for 82599. 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: Mon, 30 Sep 2013 09:02:20 -0000 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