From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id CF99E2B87 for ; Fri, 8 Mar 2019 18:48:22 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from yskoh@mellanox.com) with ESMTPS (AES256-SHA encrypted); 8 Mar 2019 19:48:20 +0200 Received: from scfae-sc-2.mti.labs.mlnx (scfae-sc-2.mti.labs.mlnx [10.101.0.96]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x28HloAX002625; Fri, 8 Mar 2019 19:48:18 +0200 From: Yongseok Koh To: Rafal Kozik Cc: Michal Krawczyk , dpdk stable Date: Fri, 8 Mar 2019 09:46:55 -0800 Message-Id: <20190308174749.30771-17-yskoh@mellanox.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190308174749.30771-1-yskoh@mellanox.com> References: <20190308174749.30771-1-yskoh@mellanox.com> Subject: [dpdk-stable] patch 'net/ena: add supported RSS offloads types' has been queued to LTS release 17.11.6 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Mar 2019 17:48:23 -0000 Hi, FYI, your patch has been queued to LTS release 17.11.6 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objection by 03/13/19. So please shout if anyone has objection. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. If the code is different (ie: not only metadata diffs), due for example to a change in context or macro names, please double check it. Thanks. Yongseok --- >>From fe73f882f74adec53d925df6181e81ac8a796e5d Mon Sep 17 00:00:00 2001 From: Rafal Kozik Date: Fri, 14 Dec 2018 14:18:38 +0100 Subject: [PATCH] net/ena: add supported RSS offloads types [ upstream commit b01ead202beb45346d7daeb2f2b1a608006af644 ] The PMD was not passing RSS offloads values although it was supporting the RSS. To allow application to probe the PMD for RSS support, the missing information was added. Fixes: 1173fca25af9 ("ena: add polling-mode driver") Signed-off-by: Rafal Kozik Acked-by: Michal Krawczyk --- drivers/net/ena/ena_ethdev.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/ena/ena_ethdev.c b/drivers/net/ena/ena_ethdev.c index 725e4b373..c6b727e95 100644 --- a/drivers/net/ena/ena_ethdev.c +++ b/drivers/net/ena/ena_ethdev.c @@ -1495,6 +1495,9 @@ static void ena_infos_get(struct rte_eth_dev *dev, dev_info->rx_offload_capa = rx_feat; dev_info->tx_offload_capa = tx_feat; + dev_info->flow_type_rss_offloads = ETH_RSS_IP | ETH_RSS_TCP | + ETH_RSS_UDP; + dev_info->min_rx_bufsize = ENA_MIN_FRAME_LEN; dev_info->max_rx_pktlen = adapter->max_mtu; dev_info->max_mac_addrs = 1; -- 2.11.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2019-03-08 09:46:41.215896928 -0800 +++ 0017-net-ena-add-supported-RSS-offloads-types.patch 2019-03-08 09:46:40.042398000 -0800 @@ -1,14 +1,15 @@ -From b01ead202beb45346d7daeb2f2b1a608006af644 Mon Sep 17 00:00:00 2001 +From fe73f882f74adec53d925df6181e81ac8a796e5d Mon Sep 17 00:00:00 2001 From: Rafal Kozik Date: Fri, 14 Dec 2018 14:18:38 +0100 Subject: [PATCH] net/ena: add supported RSS offloads types +[ upstream commit b01ead202beb45346d7daeb2f2b1a608006af644 ] + The PMD was not passing RSS offloads values although it was supporting the RSS. To allow application to probe the PMD for RSS support, the missing information was added. Fixes: 1173fca25af9 ("ena: add polling-mode driver") -Cc: stable@dpdk.org Signed-off-by: Rafal Kozik Acked-by: Michal Krawczyk @@ -17,12 +18,12 @@ 1 file changed, 3 insertions(+) diff --git a/drivers/net/ena/ena_ethdev.c b/drivers/net/ena/ena_ethdev.c -index 5adc87355..3aa32a3bf 100644 +index 725e4b373..c6b727e95 100644 --- a/drivers/net/ena/ena_ethdev.c +++ b/drivers/net/ena/ena_ethdev.c -@@ -1994,6 +1994,9 @@ static void ena_infos_get(struct rte_eth_dev *dev, +@@ -1495,6 +1495,9 @@ static void ena_infos_get(struct rte_eth_dev *dev, + dev_info->rx_offload_capa = rx_feat; dev_info->tx_offload_capa = tx_feat; - dev_info->tx_queue_offload_capa = tx_feat; + dev_info->flow_type_rss_offloads = ETH_RSS_IP | ETH_RSS_TCP | + ETH_RSS_UDP;