diff mbox series

[65/70] net/e1000/base: add defines for source address filters

Message ID 20200622064634.70941-66-guinanx.sun@intel.com (mailing list archive)
State Superseded, archived
Delegated to: Qi Zhang
Headers show
Series update e1000 base code | expand


Context Check Description
ci/Intel-compilation success Compilation OK
ci/checkpatch success coding style OK

Commit Message

Guinan Sun June 22, 2020, 6:46 a.m. UTC
A new defines is added to indicate if the filter
type is source or destination.

Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Signed-off-by: Guinan Sun <guinanx.sun@intel.com>
 drivers/net/e1000/base/e1000_defines.h | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series


diff --git a/drivers/net/e1000/base/e1000_defines.h b/drivers/net/e1000/base/e1000_defines.h
index 9302e5ed6..75f983817 100644
--- a/drivers/net/e1000/base/e1000_defines.h
+++ b/drivers/net/e1000/base/e1000_defines.h
@@ -699,6 +699,9 @@ 
 #define E1000_RAR_ENTRIES	15
 #define E1000_RAH_AV		0x80000000 /* Receive descriptor valid */
+#define E1000_RAH_RAH_MASK	0x0000FFFF
+#define E1000_RAH_ASEL_MASK	0x00030000
+#define E1000_RAH_ASEL_SRC_ADD	0x00010000
 #define E1000_RAH_QSEL_MASK	0x000C0000
 #define E1000_RAH_QSEL_SHIFT	18
 #define E1000_RAH_ASEL_SRC_ADDR	0x00010000