From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 910C1A0350; Mon, 22 Jun 2020 09:16:41 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0DAEA1D60A; Mon, 22 Jun 2020 09:07:19 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 2F8151D5F5 for ; Mon, 22 Jun 2020 09:07:15 +0200 (CEST) IronPort-SDR: 56dzyEHgL8txN1FfrnmCjPk3D38xbvI30MEaLQ/Elx/d9RN2Kq12lBiCg7ECqBdXHYpEPtaRlp g5VZA7Q5BGsA== X-IronPort-AV: E=McAfee;i="6000,8403,9659"; a="131070886" X-IronPort-AV: E=Sophos;i="5.75,266,1589266800"; d="scan'208";a="131070886" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2020 00:07:14 -0700 IronPort-SDR: YvreItnRuIhs58ACG7wc/uPPUxqPUIwMdSYTmUvvVgjF2VKPohCZ3vwvDpTpitUf/uCj6Rh49X qYXK8hO0kU+w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,266,1589266800"; d="scan'208";a="384409270" Received: from dpdk.sh.intel.com ([10.239.255.83]) by fmsmga001.fm.intel.com with ESMTP; 22 Jun 2020 00:07:12 -0700 From: Guinan Sun To: dev@dpdk.org Cc: Jeff Guo , Zhao1 Wei , Guinan Sun , Sasha Neftin Date: Mon, 22 Jun 2020 06:46:25 +0000 Message-Id: <20200622064634.70941-62-guinanx.sun@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200622064634.70941-1-guinanx.sun@intel.com> References: <20200622064634.70941-1-guinanx.sun@intel.com> Subject: [dpdk-dev] [PATCH 61/70] net/e1000/base: add address and queue select X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" Address select mask selects source address to be used in the address filtering. Queue select indicates which Rx queue should get the packet matching this MAC address. Signed-off-by: Sasha Neftin Signed-off-by: Guinan Sun --- drivers/net/e1000/base/e1000_defines.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/net/e1000/base/e1000_defines.h b/drivers/net/e1000/base/e1000_defines.h index effd04dfd..0b215d2cf 100644 --- a/drivers/net/e1000/base/e1000_defines.h +++ b/drivers/net/e1000/base/e1000_defines.h @@ -699,6 +699,10 @@ */ #define E1000_RAR_ENTRIES 15 #define E1000_RAH_AV 0x80000000 /* Receive descriptor valid */ +#define E1000_RAH_QSEL_MASK 0x000C0000 +#define E1000_RAH_QSEL_SHIFT 18 +#define E1000_RAH_ASEL_SRC_ADDR 0x00010000 +#define E1000_RAH_QSEL_ENABLE 0x10000000 #define E1000_RAL_MAC_ADDR_LEN 4 #define E1000_RAH_MAC_ADDR_LEN 2 #define E1000_RAH_QUEUE_MASK_82575 0x000C0000 -- 2.17.1