DPDK patches and discussions
 help / color / mirror / Atom feed
From: Wenzhuo Lu <wenzhuo.lu@intel.com>
To: ferruh.yigit@intel.com
Cc: dev@dpdk.org, Wenzhuo Lu <wenzhuo.lu@intel.com>
Subject: [dpdk-dev] [PATCH 3/3] net/avf: remove useless code
Date: Thu, 11 Jan 2018 14:52:37 +0800	[thread overview]
Message-ID: <1515653557-63430-4-git-send-email-wenzhuo.lu@intel.com> (raw)
In-Reply-To: <1515653557-63430-1-git-send-email-wenzhuo.lu@intel.com>

Remove the useless code.
This patch is for next-net and want to be squashed
to the commit in fixes tag.

Fixes: fcb27233824a ("net/avf: initialization of avf PMD")
Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
---
 drivers/net/avf/avf.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/net/avf/avf.h b/drivers/net/avf/avf.h
index 4694cc5..1e3825d 100644
--- a/drivers/net/avf/avf.h
+++ b/drivers/net/avf/avf.h
@@ -15,8 +15,6 @@
 #define AVF_QUEUE_BASE_ADDR_UNIT 128
 
 #define AVF_MAX_NUM_QUEUES       16
-/* Vlan table size */
-#define AVF_VLAN_TB_SIZE               (4096 / (CHAR_BIT * sizeof(uint32_t)))
 
 #define AVF_NUM_MACADDR_MAX      64
 
@@ -76,7 +74,6 @@ struct avf_info {
 	uint16_t num_queue_pairs;
 	uint16_t max_pkt_len; /* Maximum packet length */
 	uint16_t mac_num;     /* Number of MAC addresses */
-	uint32_t vlan[AVF_VLAN_TB_SIZE]; /* VLAN bit map */
 	bool promisc_unicast_enabled;
 	bool promisc_multicast_enabled;
 
-- 
1.9.3

  parent reply	other threads:[~2018-01-11  6:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-11  6:52 [dpdk-dev] [PATCH 0/3] AVF optimization Wenzhuo Lu
2018-01-11  6:52 ` [dpdk-dev] [PATCH 1/3] net/avf/base: add spinlock functions Wenzhuo Lu
2018-01-11  6:52 ` [dpdk-dev] [PATCH 2/3] net/avf: remove " Wenzhuo Lu
2018-01-11  6:52 ` Wenzhuo Lu [this message]
2018-01-11 14:24 ` [dpdk-dev] [PATCH 0/3] AVF optimization Ferruh Yigit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1515653557-63430-4-git-send-email-wenzhuo.lu@intel.com \
    --to=wenzhuo.lu@intel.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).