From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7E824A0524; Wed, 5 May 2021 09:35:08 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1A0FE41136; Wed, 5 May 2021 09:34:13 +0200 (CEST) Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) by mails.dpdk.org (Postfix) with ESMTP id 5598041129 for ; Wed, 5 May 2021 09:34:10 +0200 (CEST) Received: by mail-wr1-f54.google.com with SMTP id x5so647660wrv.13 for ; Wed, 05 May 2021 00:34:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=OftqcSoM7GSchnu3STuHtE/G9PoTgF936ml4WKhFBT4=; b=yWClloQouhUYrewnIkBy/LetKcfzF+eVpzmmizep/9X5HWooireXbY420yJTkVjcQl drOGOUMbzIOervWEI1IplgnYun8RNdzRNWzxdJtwQ3DvMOb5fPCN6ED0QhC0Xwu4ZpQm gcO0AMLpaGlrE0McJeWxL0Qb3eyhtLBsj4E0vm9KkJK24Dae1bsO+Gi9WeKJTtZR12bL WnMP9ie3JgdyLOBEPrguG04L7Uu3fB7h61PNK47QU3/v9PDhtL6R46kZqgmAq9EflLR/ OZjp44/fS1WNBYASO7FskEpZpXG7HdGIjxwBTSz6PmHYQO0BN09ah0G5BrKmdSXpyzZt Iljw== 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=OftqcSoM7GSchnu3STuHtE/G9PoTgF936ml4WKhFBT4=; b=pXs2WGkNJ3YqW8V/8pzgoxsZsDDYkURdOiPwAFONkWxv4vkqSylSU/4NEHzECTo3Sp p84bKGe+vDbTZtfV9PGpD9tIjY2YcQG1KXKp80893SS4D7mLMRng19JzAhyPzY7UkP4s UmQAsr6+c0rwFuf8OIyUpV3aPGE/BckHh1Hqw81zr87KjZefbqZDFlB3IT1i0TtlyMXd QDrciejHP0M+SWM1GB6xjKL+fjz3tb6QjuipebYu8S9kdOPaYCHoHN5fpB+rmnWiTZeo +9X5d4mheA6mGr2nc/2nxOuifVkwf6sEvlBC8+puvXRz7tMRGCU21sFDrrVEb2fZdHNZ uh+g== X-Gm-Message-State: AOAM531PIClpmEO9oMFFIx5qoPN87KOwha/eeDs+gIgAZbpsfxBINBBR gsjHrs+W/7USy7l9X10aTq4IadEYk880UlBH X-Google-Smtp-Source: ABdhPJzLxY5IQoQRjNaI8PRMF1Dl2fDNoj48Uzs5nnxPZclwmcsbbw1WpaQ7BFkddfcnzk+d1RU4lg== X-Received: by 2002:a05:6000:1866:: with SMTP id d6mr22850375wri.141.1620200049789; Wed, 05 May 2021 00:34:09 -0700 (PDT) Received: from DESKTOP-U5LNN3J.localdomain (89-79-189-199.dynamic.chello.pl. [89.79.189.199]) by smtp.gmail.com with ESMTPSA id t17sm4679856wmq.12.2021.05.05.00.34.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 May 2021 00:34:08 -0700 (PDT) From: Michal Krawczyk To: dev@dpdk.org Cc: ndagan@amazon.com, gtzalik@amazon.com, igorch@amazon.com, upstream@semihalf.com, Michal Krawczyk , Shay Agroskin Date: Wed, 5 May 2021 09:33:34 +0200 Message-Id: <20210505073348.6394-9-mk@semihalf.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210505073348.6394-1-mk@semihalf.com> References: <20210430125725.28796-1-mk@semihalf.com> <20210505073348.6394-1-mk@semihalf.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 08/22] net/ena/base: remove mutable RSS from the host info X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" This feature wasn't used by any of the drivers. Because of that, it was removed. Signed-off-by: Michal Krawczyk Reviewed-by: Igor Chauskin Reviewed-by: Shay Agroskin --- drivers/net/ena/base/ena_defs/ena_admin_defs.h | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/drivers/net/ena/base/ena_defs/ena_admin_defs.h b/drivers/net/ena/base/ena_defs/ena_admin_defs.h index 40c2db717c..56768e1a1b 100644 --- a/drivers/net/ena/base/ena_defs/ena_admin_defs.h +++ b/drivers/net/ena/base/ena_defs/ena_admin_defs.h @@ -866,7 +866,7 @@ struct ena_admin_host_info { uint16_t reserved; - /* 0 : mutable_rss_table_size + /* 0 : reserved * 1 : rx_offset * 2 : interrupt_moderation * 3 : rx_buf_mirroring @@ -1189,7 +1189,6 @@ struct ena_admin_ena_mmio_req_read_less_resp { #define ENA_ADMIN_HOST_INFO_DEVICE_MASK GENMASK(7, 3) #define ENA_ADMIN_HOST_INFO_BUS_SHIFT 8 #define ENA_ADMIN_HOST_INFO_BUS_MASK GENMASK(15, 8) -#define ENA_ADMIN_HOST_INFO_MUTABLE_RSS_TABLE_SIZE_MASK BIT(0) #define ENA_ADMIN_HOST_INFO_RX_OFFSET_SHIFT 1 #define ENA_ADMIN_HOST_INFO_RX_OFFSET_MASK BIT(1) #define ENA_ADMIN_HOST_INFO_INTERRUPT_MODERATION_SHIFT 2 @@ -1619,16 +1618,6 @@ static inline void set_ena_admin_host_info_bus(struct ena_admin_host_info *p, ui p->bdf |= (val << ENA_ADMIN_HOST_INFO_BUS_SHIFT) & ENA_ADMIN_HOST_INFO_BUS_MASK; } -static inline uint32_t get_ena_admin_host_info_mutable_rss_table_size(const struct ena_admin_host_info *p) -{ - return p->driver_supported_features & ENA_ADMIN_HOST_INFO_MUTABLE_RSS_TABLE_SIZE_MASK; -} - -static inline void set_ena_admin_host_info_mutable_rss_table_size(struct ena_admin_host_info *p, uint32_t val) -{ - p->driver_supported_features |= val & ENA_ADMIN_HOST_INFO_MUTABLE_RSS_TABLE_SIZE_MASK; -} - static inline uint32_t get_ena_admin_host_info_rx_offset(const struct ena_admin_host_info *p) { return (p->driver_supported_features & ENA_ADMIN_HOST_INFO_RX_OFFSET_MASK) >> ENA_ADMIN_HOST_INFO_RX_OFFSET_SHIFT; -- 2.25.1