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/ice/base: use package info from ice segment metadata
[dpdk.git]
/
drivers
/
net
/
nfp
/
nfp_net_pmd.h
diff --git
a/drivers/net/nfp/nfp_net_pmd.h
b/drivers/net/nfp/nfp_net_pmd.h
index
cb2d19a
..
1295c59
100644
(file)
--- a/
drivers/net/nfp/nfp_net_pmd.h
+++ b/
drivers/net/nfp/nfp_net_pmd.h
@@
-33,6
+33,12
@@
struct nfp_net_adapter;
#define NFP_NET_MAX_RX_DESC (32 * 1024)
#define NFP_NET_MIN_RX_DESC 64
#define NFP_NET_MAX_RX_DESC (32 * 1024)
#define NFP_NET_MIN_RX_DESC 64
+/* Descriptor alignment */
+#define NFP_ALIGN_RING_DESC 128
+
+#define NFP_TX_MAX_SEG UINT8_MAX
+#define NFP_TX_MAX_MTU_SEG 8
+
/* Bar allocation */
#define NFP_NET_CRTL_BAR 0
#define NFP_NET_TX_BAR 2
/* Bar allocation */
#define NFP_NET_CRTL_BAR 0
#define NFP_NET_TX_BAR 2