Thanks, I had validated the 'rx_drop_en' setting. It's worked. Regards,/Liang------------------------------------------------------------------From:Bruce Richardson Time:2015 Jan 19 (Mon) 18:58To:徐亮 Cc:dev Subject:Re: [dpdk-dev] Should the other queues at same port work when one queue is full ? On Sun, Jan 18, 2015 at 07:12:31PM +0800, XU Liang wrote: > I configured the 82599 ports to work in multi-queue mode and flow director to assign different TCP connections to different queues. A multi-process application receive packets from queues and each process reads a queue. When I kill one process, the process's queue is full, all descriptors of the queue is used. Then I send packets to other queues, but no packet is received by other processes from other queues. And no ierrors at the port stats.  I'm not sure it's a bug or designed that way.  > I expect that when a process exits abnormally affect only part of the connections, but now all the connections are not working properly. How can I just turn off the exception queue, so that other processes / queues work properly. You need to turn on the "drop enable" bit in your NIC configuration to allow packets for full queues to be dropped, allowing other queues to continue as normal. In DPDK this is set by the value "rx_drop_en" in the rx configuration. In the latest DPDK tree, you can see this value being set for the symmetric mp example application in: examples/multi_process/symmetric_mp/main.c Regards, /Bruce From stephen@networkplumber.org Thu Jan 22 01:49:34 2015 Return-Path: Received: from mail-pa0-f44.google.com (mail-pa0-f44.google.com [209.85.220.44]) by dpdk.org (Postfix) with ESMTP id 7CE9D5A15 for ; Thu, 22 Jan 2015 01:49:34 +0100 (CET) Received: by mail-pa0-f44.google.com with SMTP id et14so56381537pad.3 for ; Wed, 21 Jan 2015 16:49:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d100.net; s 130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=H8JW7fWzbM0DBli4X1upg8zgZsDDbA8KcNBeYDLxuuU=; bP6qV5E/cjWU2MO8cjzjAdbTsJwWWFy3mP05loNgvofg6IZ94ZxsoHv4wNkhmRmT/ kBHWlfPHim8umvM+KzYXVq3xyd/CTaEDpx/1qpEbrdDrwN2Tq44REtJQIjnHp6BTB5rQ QuYYK9AuVT4JBivrD0PUgdpNna4+BCivtXcqHiNE7ER90w5UZaz48uHzgpvPTYMNIjnQ GlrT8O0em8LzaGcUE/YjuyyH4FeH/9vu1lCFZ+uY8UpAwtUUqtBHz3hF2TbKoOlIxjD1 NpE0aOYnd/PeeZOgGNByq3kRRGT0499HWVOoEquLmek/Kuu0YzVnB1MQ4L+a+u7qSSqS DhIQ=X-Gm-Message-State: ALoCoQltC01bkE1jUvCqzoE++kjA/XcMG8TlETacR66Eoq5divXlSieGcwNwj8T6aoD9vJdFAVbf X-Received: by 10.68.201.1 with SMTP id jw1mr43913068pbc.167.1421887773866; Wed, 21 Jan 2015 16:49:33 -0800 (PST) Received: from urahara (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by mx.google.com with ESMTPSA id ji5sm7099258pbd.22.2015.01.21.16.49.31 (version=TLSv1.2 cipherDHE-RSA-AES128-GCM-SHA256 bits8/128); Wed, 21 Jan 2015 16:49:33 -0800 (PST) Date: Wed, 21 Jan 2015 16:49:25 -0800 From: Stephen Hemminger To: Thomas Monjalon Message-ID: <20150121164925.10d1751c@urahara> In-Reply-To: <5685862.aqyVHy67Ev@xps13> References: <1418793196-17953-1-git-send-email-stephen@networkplumber.org> <5685862.aqyVHy67Ev@xps13> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 0/7] vmxnet3: driver enhancements 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: Thu, 22 Jan 2015 00:49:34 -0000 On Thu, 15 Jan 2015 12:02:11 +0100 Thomas Monjalon wrote: > Someone to review these patches? Any comments from Bruce Richardson