From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by dpdk.org (Postfix) with ESMTP id E67E0DE0 for ; Fri, 10 Jan 2014 00:10:32 +0100 (CET) Received: by mail-wi0-f179.google.com with SMTP id z2so4144134wiv.6 for ; Thu, 09 Jan 2014 15:11:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=3saxm5lFlwXjiePUK3wrqhQ9XvMsqEY7y3rzRTHeAWo=; b=J69TI3A25WwMpLdJMYJ3rypCS8KhuHY7JSLapPQTNmRO8S2UakTAXtGuQlxRlkgqAr DBd0DWUcTiSc4BwZJLDFK0HXz09trhHXBPcBHlH/k4pyD2XUGwk6OJcViGoJ8UJ6g0PQ yIITypCLmc/0q9TcoE40GCHarjQfyVAiHrmTRSZFaJ0xDbsv/u/I/xZxqHmgFUQwPf7M 2S3oe3QuRwscSapKR7ATAZGShSo3iSdQnCX5MkR9fzwpiLZvlRWZ1KMf/gxTaLypDCmM IH4gqlvDB+xYrBPZqA4k0rnp/6QFVChPcDldLy1EsByNJsloS/1rZSvMEJ+TurLFDqTu WcTg== X-Gm-Message-State: ALoCoQniGKlr6a51x+XrT/TFCSbZfSFTQzJliu0IYeQXumt0Pmj0sdNWFqcWAgOLu7d2tilKzTTs X-Received: by 10.180.160.212 with SMTP id xm20mr28209699wib.33.1389309104993; Thu, 09 Jan 2014 15:11:44 -0800 (PST) Received: from x220.localnet (abo-213-55-68.mts.modulonet.fr. [85.68.55.213]) by mx.google.com with ESMTPSA id gd5sm16302786wic.0.2014.01.09.15.11.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Jan 2014 15:11:44 -0800 (PST) From: Thomas Monjalon To: Daniel Kan Date: Fri, 10 Jan 2014 00:11:43 +0100 Message-ID: <1570706.IYEFmS7tHv@x220> Organization: 6WIND User-Agent: KMail/4.12 (Linux/3.12.6-1-ARCH; KDE/4.12.0; x86_64; ; ) In-Reply-To: <6B1399EF-19FC-4493-B9CA-DD872CD728B4@nyansa.com> References: <6B1399EF-19FC-4493-B9CA-DD872CD728B4@nyansa.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] Unable to get RSS to work in testpmd and load balancing question 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, 09 Jan 2014 23:10:33 -0000 Hello, 09/01/2014 10:49, Daniel Kan : > The problem appears to be that rxmode.mq_mode was never set to ETH_MQ= _RX_RSS > in testpmd.c; it=E2=80=99s initialized to 0. You're right. Its broken since the commit=09"ETH_MQ_RX_NONE should disa= ble RSS": http://dpdk.org/browse/dpdk/commit/?id=3D243db2ddee3094a2cb39fdd4b17e26= df4e7735e1 > There should probably be a configuration for that, or should be set w= hen > rxq > 1. RSS can be configured or disabled with testpmd options or commands. So it must be fixed in 2 places: - in app/test-pmd/parameters.c for options - in app/test-pmd/cmdline.c for commands When setting rss_hf, mq_mode must be set accordingly. Note that DCB feature can use mq_mode. Thanks for the report. Patch is welcome :) --=20 Thomas