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
bonding: do not activate slave twice
[dpdk.git]
/
lib
/
librte_port
/
rte_port_ras.h
diff --git
a/lib/librte_port/rte_port_ras.h
b/lib/librte_port/rte_port_ras.h
index
c6ed688
..
5a16f83
100644
(file)
--- a/
lib/librte_port/rte_port_ras.h
+++ b/
lib/librte_port/rte_port_ras.h
@@
-64,7
+64,7
@@
extern "C" {
#include "rte_port.h"
/** ring_writer_ipv4_ras port parameters */
#include "rte_port.h"
/** ring_writer_ipv4_ras port parameters */
-struct rte_port_ring_writer_
ipv4_
ras_params {
+struct rte_port_ring_writer_ras_params {
/** Underlying single consumer ring that has to be pre-initialized. */
struct rte_ring *ring;
/** Underlying single consumer ring that has to be pre-initialized. */
struct rte_ring *ring;
@@
-73,9
+73,16
@@
struct rte_port_ring_writer_ipv4_ras_params {
uint32_t tx_burst_sz;
};
uint32_t tx_burst_sz;
};
+#define rte_port_ring_writer_ipv4_ras_params rte_port_ring_writer_ras_params
+
+#define rte_port_ring_writer_ipv6_ras_params rte_port_ring_writer_ras_params
+
/** ring_writer_ipv4_ras port operations */
extern struct rte_port_out_ops rte_port_ring_writer_ipv4_ras_ops;
/** ring_writer_ipv4_ras port operations */
extern struct rte_port_out_ops rte_port_ring_writer_ipv4_ras_ops;
+/** ring_writer_ipv6_ras port operations */
+extern struct rte_port_out_ops rte_port_ring_writer_ipv6_ras_ops;
+
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
}
#endif