net/mlx5: add C++ include guard to public header
[dpdk.git] / drivers / net / ena / ena_ethdev.h
index 4f4142e..f99e4f3 100644 (file)
@@ -42,7 +42,7 @@
 
 /* While processing submitted and completed descriptors (rx and tx path
  * respectively) in a loop it is desired to:
- *  - perform batch submissions while populating sumbissmion queue
+ *  - perform batch submissions while populating submission queue
  *  - avoid blocking transmission of other packets during cleanup phase
  * Hence the utilization ratio of 1/8 of a queue size or max value if the size
  * of the ring is very big - like 8k Rx rings.
@@ -58,8 +58,8 @@
 
 #define ENA_HASH_KEY_SIZE              40
 
-#define ENA_ALL_RSS_HF (ETH_RSS_NONFRAG_IPV4_TCP | ETH_RSS_NONFRAG_IPV4_UDP | \
-                       ETH_RSS_NONFRAG_IPV6_TCP | ETH_RSS_NONFRAG_IPV6_UDP)
+#define ENA_ALL_RSS_HF (RTE_ETH_RSS_NONFRAG_IPV4_TCP | RTE_ETH_RSS_NONFRAG_IPV4_UDP | \
+                       RTE_ETH_RSS_NONFRAG_IPV6_TCP | RTE_ETH_RSS_NONFRAG_IPV6_UDP)
 
 #define ENA_IO_TXQ_IDX(q)              (2 * (q))
 #define ENA_IO_RXQ_IDX(q)              (2 * (q) + 1)