net/bonding: provide default Rx/Tx configuration
[dpdk.git] / drivers / net / dpaa2 / dpaa2_ethdev.h
index 8fa1872..bd69f52 100644 (file)
 /* Disable RX tail drop, default is enable */
 #define DPAA2_RX_TAILDROP_OFF  0x04
 
+#define DPAA2_RSS_OFFLOAD_ALL ( \
+       ETH_RSS_IP | \
+       ETH_RSS_UDP | \
+       ETH_RSS_TCP | \
+       ETH_RSS_SCTP)
+
 /* LX2 FRC Parsed values (Little Endian) */
 #define DPAA2_PKT_TYPE_ETHER           0x0060
 #define DPAA2_PKT_TYPE_IPV4            0x0000
@@ -118,6 +124,11 @@ void dpaa2_dev_process_parallel_event(struct qbman_swp *swp,
                                      const struct qbman_result *dq,
                                      struct dpaa2_queue *rxq,
                                      struct rte_event *ev);
+void dpaa2_dev_process_atomic_event(struct qbman_swp *swp,
+                                   const struct qbman_fd *fd,
+                                   const struct qbman_result *dq,
+                                   struct dpaa2_queue *rxq,
+                                   struct rte_event *ev);
 uint16_t dpaa2_dev_tx(void *queue, struct rte_mbuf **bufs, uint16_t nb_pkts);
 uint16_t dummy_dev_tx(void *queue, struct rte_mbuf **bufs, uint16_t nb_pkts);
 #endif /* _DPAA2_ETHDEV_H */