From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 3D056A00E6 for ; Thu, 13 Jun 2019 17:03:59 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 313451D669; Thu, 13 Jun 2019 17:03:51 +0200 (CEST) Received: from mail-pg1-f194.google.com (mail-pg1-f194.google.com [209.85.215.194]) by dpdk.org (Postfix) with ESMTP id AF1601D657 for ; Thu, 13 Jun 2019 17:03:48 +0200 (CEST) Received: by mail-pg1-f194.google.com with SMTP id 83so11114391pgg.8 for ; Thu, 13 Jun 2019 08:03:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=DC/JuaSMj4rHwSAhOlB37yPC1OoGmJRnG9eHBdxokkc=; b=XDKpuD2l03u86E3VgL774sRkAusoDMEnLPmx81osoHK95aCTgTLGbwdGAhzkQbFo6P BtV++KOFp95uIU5CssagxRITwncNnXasU4PvzmHTRmKFGMy29yrMoS6hHQujb/JeudED u1nq6XCzxNb4dxgqy8T4QKo8zyRvjlXeKkzW7Z5HY8QhQVDq26mTTiFIWyUThQAuUQsq uEVeyhTRJRNUOl/5hyW4S+Bo/IRGJfzxbKJPS4qwIuk7EHVbmdsRuAPQK8vjQICYaHPu IUgs8ILpjBhuNwJODAgm4O11uQiRDGFqjT+8xoWbTk0QE9Q9Y0Si8yvQd/oguktENToq Kw6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=DC/JuaSMj4rHwSAhOlB37yPC1OoGmJRnG9eHBdxokkc=; b=Px+W8E62t7TH6GCKYxAXlAFWLGGPCcEXMy8CLfyj/98oW+RQlCNam6vVNMrhyPT3Sq Y/oIo8mIAGczMMGaR0wKdlHdTbKw5ARU+uAvnfQcPmO9qxWlC1m1xS1izdRGC0nfiBKt S29AWGVhVd2KdO3Bh04O1lnlrCmUios6qGVRqpeRZdBTo6uCtN+OcZteHinYOHhAGRXd EGuDMtXsZueX8zcFj7LQ5V4diibHo2RfxOM1bjgvDXDG5Qq7VvFz7qpQF9S2kL5k9nMo c6hXh4Vt4RG9ZmEFaAAARvsYzuMurwiduCcBb/jo4XUlRrzMK0ksSFoCFISr8Kai2yma GGig== X-Gm-Message-State: APjAAAUftvczJvj/fAkXZtrCVqgDngZXZKwa/3lQtN+z/OJfFOtNzzrV U55GwYIReXMqv9fair7r48+Cj7YXbtk= X-Google-Smtp-Source: APXvYqx3Gv7AYaae4KHC5PaUOFwwRmLbmUQeZeqKQFjxZTFNtgvtKEC5B3h+hDBOijbfUU0T0ELn7Q== X-Received: by 2002:a62:6:: with SMTP id 6mr29710485pfa.159.1560438227660; Thu, 13 Jun 2019 08:03:47 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 23sm1840099pfn.176.2019.06.13.08.03.46 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 13 Jun 2019 08:03:46 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 13 Jun 2019 08:03:42 -0700 Message-Id: <20190613150343.8229-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190613150343.8229-1-stephen@networkplumber.org> References: <20190613150343.8229-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 1/2] net/netvsc: return correct RSS offload settings X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Stephen Hemminger Use the result from querying host to show the RSS info. Fixes: 4e9c73e96e83 ("net/netvsc: add Hyper-V network device") Signed-off-by: Stephen Hemminger --- drivers/net/netvsc/hn_ethdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/netvsc/hn_ethdev.c b/drivers/net/netvsc/hn_ethdev.c index 9e7cf2df5472..b9a9e0372619 100644 --- a/drivers/net/netvsc/hn_ethdev.c +++ b/drivers/net/netvsc/hn_ethdev.c @@ -237,8 +237,8 @@ static void hn_dev_info_get(struct rte_eth_dev *dev, dev_info->max_mac_addrs = 1; dev_info->hash_key_size = NDIS_HASH_KEYSIZE_TOEPLITZ; - dev_info->flow_type_rss_offloads = - ETH_RSS_IPV4 | ETH_RSS_IPV6 | ETH_RSS_TCP | ETH_RSS_UDP; + dev_info->flow_type_rss_offloads = hv->rss_offloads; + dev_info->reta_size = ETH_RSS_RETA_SIZE_128; dev_info->max_rx_queues = hv->max_queues; dev_info->max_tx_queues = hv->max_queues; -- 2.20.1