From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from minas.ics.muni.cz (minas.ics.muni.cz [147.251.4.46]) by dpdk.org (Postfix) with ESMTP id 733A6B41D for ; Wed, 18 Feb 2015 11:21:02 +0100 (CET) Received: from [147.251.17.26] (dhcp17-26.ics.muni.cz [147.251.17.26]) (authenticated user=98998@is.muni.cz bits=0) by minas.ics.muni.cz (8.14.4/8.14.4/Debian-4) with ESMTP id t1IAL0In039858 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Wed, 18 Feb 2015 11:21:02 +0100 Message-ID: <54E46786.1050602@ics.muni.cz> Date: Wed, 18 Feb 2015 11:20:54 +0100 From: =?ISO-8859-2?Q?Martin_Dra=B9ar?= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: dev@dpdk.org Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit X-Muni-Envelope-From: drasar@ics.muni.cz X-Muni-Spam-TestIP: 147.251.17.26 X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.3.9 (minas.ics.muni.cz [147.251.4.35]); Wed, 18 Feb 2015 11:21:02 +0100 (CET) X-Virus-Scanned: clamav-milter 0.98.5 at minas X-Virus-Status: Clean Subject: [dpdk-dev] Using bypass on Silicom PE210G2BPi9 with Intel 82599ES chip 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: Wed, 18 Feb 2015 10:21:02 -0000 Hi, I hope that I am using the correct mailing list... I have a Silicom PE210G2BPi9 LR card with Intel 82599ES chip that has a bypass. Now I would like to turn the bypass on and off from software. However, I am having some problems with it. I am able to check whether the card supports the bypass (i.e. for a card without bypass it shows me that bypass is not supported and for this one is), but I am not able to correctly get or set the bypass mode. If I call the following: uint32_t bypassState; rc = rte_eth_dev_bypass_state_show(port, &bypassState); Then the bypass state is always 0, which, according to documentation, is not a valid value. The same goes for rte_eth_dev_bypass_state_set. Does the DPDK support this card and this functionality? I am currently using DPDK 1.5.2r1. Thank you. Martin