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 039B5A0C41; Tue, 11 May 2021 08:47:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 69E684113F; Tue, 11 May 2021 08:46:27 +0200 (CEST) Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) by mails.dpdk.org (Postfix) with ESMTP id 622E541127 for ; Tue, 11 May 2021 08:46:22 +0200 (CEST) Received: by mail-lj1-f177.google.com with SMTP id w4so23778593ljw.9 for ; Mon, 10 May 2021 23:46:22 -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=rATiCieiLxXMDON2UmoTRhSUZk/dYeafnFcE3c3JRIyaFghSioi4beqv5GrX6PkIIi eOvlETUDILC3wIl1arawCV8XNQqF8aOLxSYt7OzoQx06B56PNKNMsI4EADZvZejfFKtg s9K+/wmy4EVCy9F8o3YYmB+zPFYAyceAHKAaRjnnJeMz7md9Qrrxibu4ELQopr58VQKe O0o5ojXUWmjcuixvIWi9tSPyeLl/EOaqvrCd0c/UPEqhRKHitUbDdyHrqB4L++ZEpZOY AptPG51XPW6FGOjawo4Sumi56JoJxVQ4t50scPGdgRRnxpqO7cVoiXNsUBJwoMdEolHC 8p6A== 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=Ee9MJS0Sp8cu/JWSS4KwoqKOcJJC8YyW3Wk4ssUxnvMCpISvrGLtjUA26Nywhl03Eo rcK+e2loDRDuDuCP2fow3gYZnkUgG6pOaNjDyS6or24S5/lPd8by4zTJduDSRWdG2ud8 juxGUfbeZwLy7ZEKxOiIG4QA1hBx4CYfOscfsrBUFZOAeD/75iIkjtsces6BrkE/GTa6 oCk2i7cDkap8k9DBbVMiFu6MBwDh6yD4awzQsItQZR6ASnsjH1S1ZAjdEddnbhXaTCyx P2a5j4uE7bkW6NyYcMJ+GMiMxj04L8kz0VepcXKSjJnTC+SxfOXaWfpvwb5wHfSuP/cI 98eg== X-Gm-Message-State: AOAM530SGaAczjlrgyXgqLAxyleK1yJDI9AiAc1Q88vxiYL5uaHC1l4F RdEL+kJvwvNkCyRvMbFIDfppJw== X-Google-Smtp-Source: ABdhPJzopgEJbDJzeiRHrd1m3gA7nTZa2vxy7Nk9GzL9nlMjYk9cCbqGrSOu6yVWX8OEK1zv7ZcOdg== X-Received: by 2002:a2e:9648:: with SMTP id z8mr23057215ljh.328.1620715582103; Mon, 10 May 2021 23:46:22 -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 v20sm2496776lfd.92.2021.05.10.23.46.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 May 2021 23:46:21 -0700 (PDT) From: Michal Krawczyk To: ferruh.yigit@intel.com Cc: dev@dpdk.org, ndagan@amazon.com, gtzalik@amazon.com, igorch@amazon.com, upstream@semihalf.com, Michal Krawczyk , Shay Agroskin Date: Tue, 11 May 2021 08:45:43 +0200 Message-Id: <20210511064554.10656-9-mk@semihalf.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210511064554.10656-1-mk@semihalf.com> References: <87e65a42-4ae5-1a81-8f8e-74759fc14999@intel.com> <20210511064554.10656-1-mk@semihalf.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v4 08/19] 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