git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/hns3: add RSS hash offload to capabilities
[dpdk.git]
/
drivers
/
net
/
thunderx
/
base
/
nicvf_hw_defs.h
diff --git
a/drivers/net/thunderx/base/nicvf_hw_defs.h
b/drivers/net/thunderx/base/nicvf_hw_defs.h
index
b13c21f
..
b12c8ec
100644
(file)
--- a/
drivers/net/thunderx/base/nicvf_hw_defs.h
+++ b/
drivers/net/thunderx/base/nicvf_hw_defs.h
@@
-171,7
+171,10
@@
/* Min/Max packet size */
#define NIC_HW_MIN_FRS (64)
/* Min/Max packet size */
#define NIC_HW_MIN_FRS (64)
-#define NIC_HW_MAX_FRS (9200) /* 9216 max pkt including FCS */
+/* ETH_HLEN+ETH_FCS_LEN+2*VLAN_HLEN */
+#define NIC_HW_L2_OVERHEAD (26)
+#define NIC_HW_MAX_MTU (9190)
+#define NIC_HW_MAX_FRS (NIC_HW_MAX_MTU + NIC_HW_L2_OVERHEAD)
#define NIC_HW_MAX_SEGS (12)
/* Descriptor alignments */
#define NIC_HW_MAX_SEGS (12)
/* Descriptor alignments */