DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] "TX WTHRESH must be set to 0 if tx_rs_thresh is greater than 1"
@ 2014-10-18 22:50 Matthew Hall
  2014-10-19 13:46 ` Marc Sune
  0 siblings, 1 reply; 5+ messages in thread
From: Matthew Hall @ 2014-10-18 22:50 UTC (permalink / raw)
  To: dev

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-10-20 20:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-18 22:50 [dpdk-dev] "TX WTHRESH must be set to 0 if tx_rs_thresh is greater than 1" Matthew Hall
2014-10-19 13:46 ` Marc Sune
2014-10-19 17:08   ` Matthew Hall
2014-10-20  9:36     ` Bruce Richardson
2014-10-20 20:29       ` Matthew Hall

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git