From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f41.google.com (mail-pa0-f41.google.com [209.85.220.41]) by dpdk.org (Postfix) with ESMTP id 796F74A63 for ; Fri, 6 Nov 2015 02:04:30 +0100 (CET) Received: by pasz6 with SMTP id z6so107809083pas.2 for ; Thu, 05 Nov 2015 17:04:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber_org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=RZh0fDkK+IgiZOzSW5lr+iI0wc7YYthepi8qoQOtpZE=; b=BllHpj7Sx/vkLeO3dyYTCDcJj4FAJJNLI2YlB6wrTYAcPxcbzw97BhhhE+OuXJJE2x eG+71z7Of3baMS+aNTOkdlp9YU/S5DGMYakI+4KgIiRdtlpUGK7axL6lkuPRt28SWosH V5s/RMPfsS0L5flXseGvxeQlHSRD9DWARY5ygvWrf3KhWBGhqJ2YuNAXsN1RSW0OKd3I P1alRrp7/bPMYZhCkqllWAJMLaM+CPlDjmH5eN766sCyYaffWu0xIYbD97hrF7cP8OF2 zXA5ijFqt43yTkxDIJwxIsR+E0DLSx4ObiVD+mpnlNo4YPrtLslxRDm5WFW6jnBlgW+g eJZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=RZh0fDkK+IgiZOzSW5lr+iI0wc7YYthepi8qoQOtpZE=; b=ETLN2iXoq99hW0RyPk08nrxT/ANRfEbdBQPSY4w1Eib4qvjDBv3CovoDLTwMMqwGE5 UiFQTZuaOm0Z9TqIkpjk8Ui1SMU+wYgI5s6iy8DtA4wuBKTZHUsLKNq0WtWV+0QUVsLK R2MdccazckzkdbVePZle91SJ9CotDbjjWl6Cdk3hqzaFtxQPUZyfnDKqoTyMoy3OVgPj 0YutBub8qFBCN0KR/uFd1bD7FVAxtZ2N8NX2Pm3LHnzZXzBwHYKfHD6vEF3/ERcNhoMK zYcxpXWFZYFw7+S+m8xq9NSEU0xKTIGEU3QZLbuEoYGn4yqjDrieLaGKOB0lprfDX4sd oALQ== X-Gm-Message-State: ALoCoQmHqw+3BgWHye1zDxH1cBlgSawrlrTk0ywKAEM3QvWUnaJTpcC43zwZuIsTeoVaxMxaSScu X-Received: by 10.68.87.4 with SMTP id t4mr13523649pbz.61.1446771869837; Thu, 05 Nov 2015 17:04:29 -0800 (PST) Received: from xeon-e3.home.lan (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by smtp.gmail.com with ESMTPSA id qn5sm10105951pac.41.2015.11.05.17.04.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 05 Nov 2015 17:04:29 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Date: Thu, 5 Nov 2015 17:04:33 -0800 Message-Id: <1446771879-3979-2-git-send-email-stephen@networkplumber.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1446771879-3979-1-git-send-email-stephen@networkplumber.org> References: <1446771879-3979-1-git-send-email-stephen@networkplumber.org> Subject: [dpdk-dev] [PATCH 1/7] ether: don't mark input multicast for deprecation X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2015 01:04:30 -0000 The number of received multicast frames is useful and already available in many/most drivers. Therefore don't mark it as deprecated. Signed-off-by: Stephen Hemminger --- drivers/net/ixgbe/ixgbe_ethdev.c | 1 - lib/librte_ether/rte_ethdev.h | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index 0b0bbcf..3b71c0c 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++ b/drivers/net/ixgbe/ixgbe_ethdev.c @@ -2715,7 +2715,6 @@ ixgbevf_dev_stats_get(struct rte_eth_dev *dev, struct rte_eth_stats *stats) stats->opackets = hw_stats->vfgptc; stats->obytes = hw_stats->vfgotc; stats->imcasts = hw_stats->vfmprc; - /* stats->imcasts should be removed as imcasts is deprecated */ } static void diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h index 48a540d..f653e37 100644 --- a/lib/librte_ether/rte_ethdev.h +++ b/lib/librte_ether/rte_ethdev.h @@ -204,8 +204,7 @@ struct rte_eth_stats { /**< Deprecated; Total of RX packets with bad length. */ uint64_t ierrors; /**< Total number of erroneous received packets. */ uint64_t oerrors; /**< Total number of failed transmitted packets. */ - uint64_t imcasts; - /**< Deprecated; Total number of multicast received packets. */ + uint64_t imcasts; /**< Total number of multicast received packets. */ uint64_t rx_nombuf; /**< Total number of RX mbuf allocation failures. */ uint64_t fdirmatch; /**< Deprecated; Total number of RX packets matching a filter. */ -- 2.1.4