net/igb: fix flex filter length
igb flex filter supports recognizing any arbitrary pattern within first 128 bytes of the packet. But the macro E1000_FLEX_FILTERS_MASK_SIZE only covers first 64 bytes. Fixes: 231d43909a31 ("igb: migrate flex filter to new API") Cc: stable@dpdk.org Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
This commit is contained in:
parent
b2f68ff876
commit
d68e62c67b
@ -82,7 +82,7 @@
|
||||
#define E1000_MAX_FLEX_FILTER_DWDS \
|
||||
(E1000_MAX_FLEX_FILTER_LEN / sizeof(uint32_t))
|
||||
#define E1000_FLEX_FILTERS_MASK_SIZE \
|
||||
(E1000_MAX_FLEX_FILTER_DWDS / 4)
|
||||
(E1000_MAX_FLEX_FILTER_DWDS / 2)
|
||||
#define E1000_FHFT_QUEUEING_LEN 0x0000007F
|
||||
#define E1000_FHFT_QUEUEING_QUEUE 0x00000700
|
||||
#define E1000_FHFT_QUEUEING_PRIO 0x00070000
|
||||
|
Loading…
x
Reference in New Issue
Block a user