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: save rule on switch filter creation
[dpdk.git]
/
drivers
/
net
/
dpaa
/
dpaa_ethdev.h
diff --git
a/drivers/net/dpaa/dpaa_ethdev.h
b/drivers/net/dpaa/dpaa_ethdev.h
index
659bceb
..
6fdd57d
100644
(file)
--- a/
drivers/net/dpaa/dpaa_ethdev.h
+++ b/
drivers/net/dpaa/dpaa_ethdev.h
@@
-9,7
+9,7
@@
/* System headers */
#include <stdbool.h>
/* System headers */
#include <stdbool.h>
-#include <
rte_
ethdev_driver.h>
+#include <ethdev_driver.h>
#include <rte_event_eth_rx_adapter.h>
#include <fsl_usd.h>
#include <rte_event_eth_rx_adapter.h>
#include <fsl_usd.h>
@@
-51,6
+51,10
@@
#define VLAN_TAG_SIZE 4 /** < Vlan Header Length */
#endif
#define VLAN_TAG_SIZE 4 /** < Vlan Header Length */
#endif
+#define DPAA_ETH_MAX_LEN (RTE_ETHER_MTU + \
+ RTE_ETHER_HDR_LEN + RTE_ETHER_CRC_LEN + \
+ VLAN_TAG_SIZE)
+
/* PCD frame queues */
#define DPAA_DEFAULT_NUM_PCD_QUEUES 1
#define DPAA_VSP_PROFILE_MAX_NUM 8
/* PCD frame queues */
#define DPAA_DEFAULT_NUM_PCD_QUEUES 1
#define DPAA_VSP_PROFILE_MAX_NUM 8
@@
-70,16
+74,15
@@
#define DPAA_DEBUG_FQ_TX_ERROR 1
#define DPAA_RSS_OFFLOAD_ALL ( \
#define DPAA_DEBUG_FQ_TX_ERROR 1
#define DPAA_RSS_OFFLOAD_ALL ( \
- ETH_RSS_L2_PAYLOAD | \
- ETH_RSS_IP | \
- ETH_RSS_UDP | \
- ETH_RSS_TCP | \
- ETH_RSS_SCTP)
-
-#define DPAA_TX_CKSUM_OFFLOAD_MASK ( \
- PKT_TX_IP_CKSUM | \
- PKT_TX_TCP_CKSUM | \
- PKT_TX_UDP_CKSUM)
+ RTE_ETH_RSS_L2_PAYLOAD | \
+ RTE_ETH_RSS_IP | \
+ RTE_ETH_RSS_UDP | \
+ RTE_ETH_RSS_TCP | \
+ RTE_ETH_RSS_SCTP)
+
+#define DPAA_TX_CKSUM_OFFLOAD_MASK (RTE_MBUF_F_TX_IP_CKSUM | \
+ RTE_MBUF_F_TX_TCP_CKSUM | \
+ RTE_MBUF_F_TX_UDP_CKSUM)
/* DPAA Frame descriptor macros */
/* DPAA Frame descriptor macros */