Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Sep 2021 21:37:29 GMT
From:      Kevin Bowling <kbowling@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: a8bb4ab7cfb8 - main - e1000: add missed define for VFTA
Message-ID:  <202109172137.18HLbTU4056206@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kbowling (ports committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=a8bb4ab7cfb84195ef8af3c788fecdc8830fc960

commit a8bb4ab7cfb84195ef8af3c788fecdc8830fc960
Author:     Guinan Sun <guinanx.sun@intel.com>
AuthorDate: 2020-07-06 08:12:13 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2021-09-17 21:23:19 +0000

    e1000: add missed define for VFTA
    
    VLAN filtering using the VFTA (VLAN Filter Table Array) and
    should be initialized prior to setting rx mode.
    
    Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
    Signed-off-by: Guinan Sun <guinanx.sun@intel.com>
    Reviewed-by: Wei Zhao <wei.zhao1@intel.com>
    
    Approved by:    imp
    Obtained from:  DPDK (fc9933953c90e99970aa867c38f9c6e6c5d0488d)
    MFC after:      1 week
---
 sys/dev/e1000/e1000_defines.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/dev/e1000/e1000_defines.h b/sys/dev/e1000/e1000_defines.h
index 5b77bd43af1a..e5435eb56dcd 100644
--- a/sys/dev/e1000/e1000_defines.h
+++ b/sys/dev/e1000/e1000_defines.h
@@ -1386,6 +1386,7 @@
 #define E1000_MDIC_ERROR	0x40000000
 #define E1000_MDIC_DEST		0x80000000
 
+#define E1000_VFTA_BLOCK_SIZE	8
 /* SerDes Control */
 #define E1000_GEN_CTL_READY		0x80000000
 #define E1000_GEN_CTL_ADDRESS_SHIFT	8



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109172137.18HLbTU4056206>