mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-18 02:19:39 +00:00
e1000: Remove redundant EITR shift from igb
The E1000_EITR() macro is already multiplying by 0x4 which is the same as this shift, so we were shifting more than expected. MFC after: 6 days Sponsored by: BBOX.io
This commit is contained in:
parent
b7cbf741d5
commit
26439b5787
@ -251,8 +251,7 @@
|
||||
#define IGB_ITR_DIVIDEND 1000000
|
||||
#define IGB_ITR_SHIFT 2
|
||||
#define IGB_QVECTOR_MASK 0x7FFC
|
||||
#define IGB_INTS_TO_EITR(i) (((IGB_ITR_DIVIDEND/i) & IGB_QVECTOR_MASK) << \
|
||||
IGB_ITR_SHIFT)
|
||||
#define IGB_INTS_TO_EITR(i) ((IGB_ITR_DIVIDEND/i) & IGB_QVECTOR_MASK)
|
||||
|
||||
#define IGB_LINK_ITR 2000
|
||||
#define I210_LINK_DELAY 1000
|
||||
|
Loading…
Reference in New Issue
Block a user