From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas.monjalon@6wind.com>
Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54])
 by dpdk.org (Postfix) with ESMTP id C2E5847D1
 for <dev@dpdk.org>; Fri, 22 Jul 2016 11:53:39 +0200 (CEST)
Received: by mail-wm0-f54.google.com with SMTP id q128so7515082wma.1
 for <dev@dpdk.org>; Fri, 22 Jul 2016 02:53:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=6wind-com.20150623.gappssmtp.com; s=20150623;
 h=from:to:cc:subject:date:message-id:user-agent:in-reply-to
 :references:mime-version:content-transfer-encoding;
 bh=qsMG31UP+mDKFVZpAd3Pc/V6eSWJcTOP+6CG1LdHxc8=;
 b=mYrj46v9UZpo31yD8yuKGX/S9e6QUcTJLHPdDJnu4VhBLtG64OnuDRcuaesjYFAqcF
 PAg7NAX4lbMPh8N1DO9zVWhci0qUZsZHyeF1RR61wkmtgqGFWU5ohTYVRLrHtTQh8nS9
 l0DZNiIuM2Xp+S2Qtnbmvrr522BccsWrnIE54hgAH8VLzXklS/4Lw1WDCVj7hPio5n9N
 QQa5A7VGwxSuA/epBjwkpVM3i3Zdw/y+TlxAKJvUi52++3/Jc/hW6ab8E58CL3scjSfp
 9MCAioXoRuLcLuhaQZH2D2eu4y4D1ckfDYS28osaJJS+iDsk2J+iWnihhdy5s/TUb87T
 Td1Q==
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:user-agent
 :in-reply-to:references:mime-version:content-transfer-encoding;
 bh=qsMG31UP+mDKFVZpAd3Pc/V6eSWJcTOP+6CG1LdHxc8=;
 b=PeAxU55GGMacsSZmxPMZxxBBMIwpnDMqwl9fqAoAlSm5vWMa0ClhMbAQzETuEQrUhw
 vE5qVjnouwpUVUUYnEqmko79HsQX9LjLSa1m70pnMA+JcpXTOV2qginpwIyCcDMfb9fg
 bnOxw25TewlRqtCRcdHN26nRpxbMowsryNDIIxj8uu5krXuF+FgWtxE3Vk70SFkxOwKF
 fHuFsTAozXVYEJZOI8Pm4vHNCxVIaUkBaV+8WAx6O7ns7UB8DIa629EMLuM1WWkK7q66
 6w+3hmn7Q86M+BtEbHtHUO1ufcKm2/v9IOHlfB/Czqmzv99fzBy7szZnk6JXjilib7xy
 I0kQ==
X-Gm-Message-State: AEkooutpF1nxx8n30TCl3L4igMWucTGpRbHxN2ubt+DJCfO5/b7ZqPX7dh3Hv3zxZVfUmUCb
X-Received: by 10.194.149.133 with SMTP id ua5mr90521wjb.79.1469181219574;
 Fri, 22 Jul 2016 02:53:39 -0700 (PDT)
Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184])
 by smtp.gmail.com with ESMTPSA id q187sm11707955wma.17.2016.07.22.02.53.38
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Fri, 22 Jul 2016 02:53:38 -0700 (PDT)
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Xiao Wang <xiao.w.wang@intel.com>
Cc: dev@dpdk.org, jing.d.chen@intel.com, xueqin.lin@intel.com
Date: Fri, 22 Jul 2016 11:53:38 +0200
Message-ID: <3964599.lXVSuRcC22@xps13>
User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; )
In-Reply-To: <1469089470-5764-1-git-send-email-xiao.w.wang@intel.com>
References: <1469089470-5764-1-git-send-email-xiao.w.wang@intel.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [dpdk-dev] [PATCH] net/fm10k: fix RSS hash config
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Jul 2016 09:53:39 -0000

2016-07-21 16:24, Xiao Wang:
> Sometimes app just wants to update the RSS hash function and no RSS key
> update is needed, but fm10k pmd will return EINVAL for this case.
> 
> If the rss_key is NULL, we don't need to check the rss_key_len.
> 
> Fixes: 57033cdf8fdc ("fm10k: add PF RSS")
> 
> Reported-by: Xueqin Lin <xueqin.lin@intel.com>
> Signed-off-by: Xiao Wang <xiao.w.wang@intel.com>

Applied, thanks