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/txgbe: support VF probe and remove
[dpdk.git]
/
drivers
/
net
/
liquidio
/
lio_ethdev.h
diff --git
a/drivers/net/liquidio/lio_ethdev.h
b/drivers/net/liquidio/lio_ethdev.h
index
74cd2fb
..
d33be1c
100644
(file)
--- a/
drivers/net/liquidio/lio_ethdev.h
+++ b/
drivers/net/liquidio/lio_ethdev.h
@@
-13,6
+13,9
@@
#define LIO_LSC_TIMEOUT 100000 /* 100000us (100ms) */
#define LIO_MAX_CMD_TIMEOUT 10000 /* 10000ms (10s) */
#define LIO_LSC_TIMEOUT 100000 /* 100000us (100ms) */
#define LIO_MAX_CMD_TIMEOUT 10000 /* 10000ms (10s) */
+/* The max frame size with default MTU */
+#define LIO_ETH_MAX_LEN (RTE_ETHER_MTU + RTE_ETHER_HDR_LEN + RTE_ETHER_CRC_LEN)
+
#define LIO_DEV(_eth_dev) ((_eth_dev)->data->dev_private)
/* LIO Response condition variable */
#define LIO_DEV(_eth_dev) ((_eth_dev)->data->dev_private)
/* LIO Response condition variable */