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 22B73A0524; Thu, 6 May 2021 16:26:50 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4FE6941142; Thu, 6 May 2021 16:25:56 +0200 (CEST) Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) by mails.dpdk.org (Postfix) with ESMTP id B1476410F9 for ; Thu, 6 May 2021 16:25:53 +0200 (CEST) Received: by mail-lf1-f54.google.com with SMTP id c11so8041680lfi.9 for ; Thu, 06 May 2021 07:25:53 -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=vpD1MjZ9fnVhGXGonUXHSSxK+Qt5pqpyK1ANwRMhBw3VDqv9+tFbA3MOxuHc5z5XAs JzeBsc+R814BXhiP5s26VEYIpFWvakzcxn2dSBSTzOv73MAcoI0Vli9dx1NLJMFTmTm6 1+4CZLKS2ZPO0TgJQ2gKrBRwdUVGuxZc4Dt/CCBVSDJaRpJKM44lrYyBehD/aMvppDei yMH9eSAg33hRnI8PdpkmrOjU0UG7rtmc2qZ3DgOSfx15Pv/5KXMA5CkeaYwpXJf83HAn fG5DZGVyon9VFG8/2uc2p8WLLD81riWbbo98AeP8Q4/dhjZi+Yl42lnIslwZ9nHnqXNN 7j3A== 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=Twl4oNZcq5msuCPFHzaojNyWWHwz7tdD+cQkkacqIL1YCfyrUBc8QgdYwYZI1olyJn oXNWtxysayYFO7BB54i2xZWM4NY41OS6nN8bue2hKtrvjfmr8+Arj6xGhaS4i5Hx8agU Lizisb91QGwHyxOsKmu8t8xd5nK9o4+aLgW4resrTnEfYxXR7QBJ+JMxCZygJnZhlSBT SHFUrRXQW2MixtQbdqjI45iD3MCikqSJqjumY3jAjssPfSDRZrp92CiSU0/URJhFWFkS lAI2CvBP94UPktOWkM01ucdSCbra9IqXMxcLHAbZeYpP9upgQa3L+beF6CgwhWOcONg0 acag== X-Gm-Message-State: AOAM530LaZcXsXS91TIW33B9ybB4xDV28ZFUmI9v0Tb6mwbCOvMCUHls ks5MUNOqdnh/YslGmfWb54YDC7AGAVnxYAwy X-Google-Smtp-Source: ABdhPJx9bbmdOK1BDTU0MCXepcikWQHJmtw6s9/IMmgb0BMnvueBCJvuxxOtl2uyuApTIcM/cgFqEA== X-Received: by 2002:ac2:4198:: with SMTP id z24mr3131906lfh.335.1620311153023; Thu, 06 May 2021 07:25:53 -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 b40sm892908ljr.101.2021.05.06.07.25.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 May 2021 07:25:52 -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: Thu, 6 May 2021 16:25:12 +0200 Message-Id: <20210506142526.28245-9-mk@semihalf.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210506142526.28245-1-mk@semihalf.com> References: <20210505073348.6394-1-mk@semihalf.com> <20210506142526.28245-1-mk@semihalf.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 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