From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.mhcomputing.net (master.mhcomputing.net [74.208.46.186]) by dpdk.org (Postfix) with ESMTP id 1A7CD68FB for ; Sun, 19 Oct 2014 19:00:31 +0200 (CEST) Received: from android-fb5fc4f6ed62fb42.attlocal.net (99-34-229-174.lightspeed.sntcca.sbcglobal.net [99.34.229.174]) by mail.mhcomputing.net (Postfix) with ESMTPSA id 847D180C3D9; Sun, 19 Oct 2014 10:07:43 -0700 (PDT) User-Agent: K-9 Mail for Android In-Reply-To: <5443C0B3.6060805@bisdn.de> References: <20141018225002.GA17115@mhcomputing.net> <5443C0B3.6060805@bisdn.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 From: Matthew Hall Date: Sun, 19 Oct 2014 10:08:29 -0700 To: Marc Sune ,dev@dpdk.org Message-ID: <5809CF89-13EB-4698-B4B4-AFD41897DD33@mhcomputing.net> Subject: Re: [dpdk-dev] "TX WTHRESH must be set to 0 if tx_rs_thresh is greater than 1" 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: Sun, 19 Oct 2014 17:00:31 -0000 1.7.1 with a few minor clang compatibility patches in the example apps -- Sent from my mobile device. On October 19, 2014 6:46:27 AM PDT, Marc Sune wrote: >Which DPDK version are you using > >marc > >On 19/10/14 00:50, Matthew Hall wrote: >> Hello, >> >> I'm just trying to understand what you're supposed to do about this >error to >> get the optiomal configuration / performance. The error message and >comments >> seem like they're designed for Intel ethernet driver hackers not >security >> hackers like myself! ;-) >> >> Note: I'm trying out the Intel 82545EM in VirtualBox because the >virtio-net >> approach didn't work, for reasons I enumerated in some previous >mails. >> >> /* >> * If rs_bit_thresh is greater than 1, then TX WTHRESH should be >> * set to 0. If WTHRESH is greater than zero, the RS bit is >ignored >> * by the NIC and all descriptors are written back after the NIC >> * accumulates WTHRESH descriptors. >> */ >> if (tx_conf->tx_thresh.wthresh != 0 && tx_rs_thresh != 1) { >> RTE_LOG(ERR, PMD, "TX WTHRESH must be set to 0 if " >> "tx_rs_thresh is greater than 1. (tx_rs_thresh=%u " >> "port=%d queue=%d)\n", (unsigned int)tx_rs_thresh, >> (int)dev->data->port_id, (int)queue_idx); >> return -(EINVAL); >> } >> >> Thanks, >> Matthew.