Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp483727ybl; Tue, 28 Jan 2020 06:40:15 -0800 (PST) X-Google-Smtp-Source: APXvYqzdRpq8EfFiLhzy20j+B2Wdha4GoZC31cdevxgHvLF0hoa3RN+a9PGmk/3un4fyK1TCr+VS X-Received: by 2002:aca:1a05:: with SMTP id a5mr3067101oia.97.1580222415171; Tue, 28 Jan 2020 06:40:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580222415; cv=none; d=google.com; s=arc-20160816; b=zE1OLZg0+luqXMmsAMs50BeyHVh3BlR7V7F0MRnXXMSdhBRTcAeefKp2JiXtnhOcW9 fk5qJr/FLDsuX26vqrqXK98NDzCi0Z6i7wlfgMSYKN4Tov1csieP3iyFNVWZ4keacRIf MlGhghf0O8A+wQn6QD1n0QlmIwazwIe6uVqvx2IealtxsAbc84n/oMftIFK+xbGHiLCY bm4Z7RhpgN74M04cJ//FX8vgdnfxodGZ7RUPNpGWaSP91rGuLkm+PzwIfX7Y4n2UeuLv /zkDqRECn2h2olB1+hcmK1oTfPQ+gNtp7A5jcYxjbPynjOa4IzqyYDGYkzlU/wd55DfW I15A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=NoBKD18C7hbCLP7zOIvYX6kNgbCtZfQrsM29aovuJ6c=; b=MYV7YGRwNpungLidg41yEvOAXX2OovsosF9jHAS/ib+QAxBcLyKvYoopQkYoh7kxED /h/JHrEUd47GA6VbYeStweZT4yz9X2tgDZRGtFQvz3gcQlfJO7ZSD1K+aPcZupPOazlR +agRpTqniSyn/2ToU3Jz3uVFBdI1OTPkYwgWzbra4qgP4aeRpjKJxmjCfsgUJJiSnVxK lu3LtXNRD/r61tu+P75A9GmyAJ9Ix2RfVtSxtwO8ebFxZPK25/16/OBaQop/zzM75ZP4 uvsx89+cKW/edmcO8h9rHYufrr81ZuYN3t8z8Sd202H1ixQR0HTmKkLkGoSWOd5bfRum eaXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xRtDVZ1Z; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h21si8879419otr.235.2020.01.28.06.40.03; Tue, 28 Jan 2020 06:40:15 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xRtDVZ1Z; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731120AbgA1Oha (ORCPT + 99 others); Tue, 28 Jan 2020 09:37:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:44916 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731020AbgA1OUJ (ORCPT ); Tue, 28 Jan 2020 09:20:09 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6A8942071E; Tue, 28 Jan 2020 14:20:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580221208; bh=6cP1iLY313WGsumZZJgnmuw9XoLVx5rz5rl5pcrEPSE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xRtDVZ1ZXtimtd+rIE27KT9iF2rZsbaBvs4rUHE9uH2LNoYDvIbVQ5lB7Mru7L3oU kPABrvCBIxexVBklb4hSkB1jNyAn8Dw5tSBk4t4gJkOJAzBIxn6khoCLuWXcjvBxYP WDfd1QJ21ZwYpldyC4t+MRr9yJaK8/1W46YVMLpc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Netanel Belgazal , Sameeh Jubran , "David S. Miller" , Sasha Levin Subject: [PATCH 4.9 132/271] net: ena: fix ena_com_fill_hash_function() implementation Date: Tue, 28 Jan 2020 15:04:41 +0100 Message-Id: <20200128135902.427047672@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200128135852.449088278@linuxfoundation.org> References: <20200128135852.449088278@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sameeh Jubran [ Upstream commit 11bd7a00c0d8ffe33d1e926f8e789b4aea787186 ] ena_com_fill_hash_function() didn't configure the rss->hash_func. Fixes: 1738cd3ed342 ("net: ena: Add a driver for Amazon Elastic Network Adapters (ENA)") Signed-off-by: Netanel Belgazal Signed-off-by: Sameeh Jubran Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/ethernet/amazon/ena/ena_com.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/amazon/ena/ena_com.c b/drivers/net/ethernet/amazon/ena/ena_com.c index 2d196d521b836..912dc09bc7a74 100644 --- a/drivers/net/ethernet/amazon/ena/ena_com.c +++ b/drivers/net/ethernet/amazon/ena/ena_com.c @@ -2052,6 +2052,7 @@ int ena_com_fill_hash_function(struct ena_com_dev *ena_dev, return -EINVAL; } + rss->hash_func = func; rc = ena_com_set_hash_function(ena_dev); /* Restore the old function */ -- 2.20.1