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 1C459A0546; Fri, 30 Apr 2021 14:58:30 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 46FBE4115E; Fri, 30 Apr 2021 14:57:52 +0200 (CEST) Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) by mails.dpdk.org (Postfix) with ESMTP id 7533C410DF for ; Fri, 30 Apr 2021 14:57:46 +0200 (CEST) Received: by mail-wr1-f48.google.com with SMTP id x5so20211066wrv.13 for ; Fri, 30 Apr 2021 05:57:46 -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=0MYnUhKLaXKQrowYHEeK+qAPDpkGco/b4eQq/zAvplVw8iBVrJRSEBYgRI6qOW2WFm wSdxUaV/bgiFnstosccVMgwGTQoHlyUcUKxnzclWxG20xMUstQ2XSr2/QiT07+bZ216C 5/Lvjtp7YdcNTybmIMYuEs85G9Mb0aRhLIEdgWh2Ob9wLRYFpomhSCV9K4nMK2vr5kVK iE3pxPxOImEJMFXmZms5Wh/CiAp2xuetNnWMpKlPp2rgyFgUmymAkMfvmfvDUDvRLXnm BcU/nWxU2tibLQffcB8SY+oEfdq1oy+b8m4Hj0YYKygJ2BJ6DlptvT403bmwgDeiBN1R di+w== 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=dHZXp7MzLAIMdTU0K4tldb4S+mbyruxeCOXYWoHgWN0DtXdHbEO5hcvVFDexceGESL KLaXmyKVy/+ETwetJvF59h8leaq5phrAi/AP1SaF3iAx0VMC5zIfgLpYlUCSRXDfDrGx mZ1W3BzKbVBgJNkTxe8donlHiBLe87pyp23+E22RahZv25YlfL6Lq6PaST+rNIoPfGPF /V5b+QAgkhCaw04thkvTjmy+D1L7wJOQg4c5B75EW1LIZomnNv9zyhaCnmNtdb+HvDfG M5EtZ7VuDSUH1FOoLfJG5ndWljpfv3/HVhOLNLVQjKlcl6snlYr6I/d5VEALzDKylEIv zkQg== X-Gm-Message-State: AOAM533qe7lFBt3a3P1toY8LwBYiDc2xLBckg7B460Q10AbdT1EZfJRy Z2hgKY3BTni7vKYVqTMCWEPPyOYgLawl8EkY X-Google-Smtp-Source: ABdhPJzP4sDJMfjrKSscNtQTtESmve9ez/ojR/4H13Dgtr7ZbX51qg0ymzyzfU0HLsaLfMcnXWTCug== X-Received: by 2002:a05:6000:1a85:: with SMTP id f5mr6640723wry.213.1619787465885; Fri, 30 Apr 2021 05:57:45 -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 l13sm13476245wmj.3.2021.04.30.05.57.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Apr 2021 05:57:45 -0700 (PDT) From: Michal Krawczyk To: dev@dpdk.org Cc: ndagan@amazom.com, gtzalik@amazon.com, igorch@amazon.com, mw@semihalf.com, Michal Krawczyk , Shay Agroskin Date: Fri, 30 Apr 2021 14:57:11 +0200 Message-Id: <20210430125725.28796-9-mk@semihalf.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210430125725.28796-1-mk@semihalf.com> References: <20210430125725.28796-1-mk@semihalf.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 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