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
examples: use new link status print format
[dpdk.git]
/
examples
/
ip_pipeline
/
tmgr.h
diff --git
a/examples/ip_pipeline/tmgr.h
b/examples/ip_pipeline/tmgr.h
index
8703a2e
..
ee50cf7
100644
(file)
--- a/
examples/ip_pipeline/tmgr.h
+++ b/
examples/ip_pipeline/tmgr.h
@@
-12,6
+12,10
@@
#include "common.h"
#include "common.h"
+#ifndef TMGR_PIPE_SUBPORT_MAX
+#define TMGR_PIPE_SUBPORT_MAX 4096
+#endif
+
#ifndef TMGR_SUBPORT_PROFILE_MAX
#define TMGR_SUBPORT_PROFILE_MAX 256
#endif
#ifndef TMGR_SUBPORT_PROFILE_MAX
#define TMGR_SUBPORT_PROFILE_MAX 256
#endif
@@
-25,7
+29,6
@@
struct tmgr_port {
char name[NAME_SIZE];
struct rte_sched_port *s;
uint32_t n_subports_per_port;
char name[NAME_SIZE];
struct rte_sched_port *s;
uint32_t n_subports_per_port;
- uint32_t n_pipes_per_subport;
};
TAILQ_HEAD(tmgr_port_list, tmgr_port);
};
TAILQ_HEAD(tmgr_port_list, tmgr_port);
@@
-37,13
+40,11
@@
struct tmgr_port *
tmgr_port_find(const char *name);
struct tmgr_port_params {
tmgr_port_find(const char *name);
struct tmgr_port_params {
- uint
32
_t rate;
+ uint
64
_t rate;
uint32_t n_subports_per_port;
uint32_t frame_overhead;
uint32_t mtu;
uint32_t cpu_id;
uint32_t n_subports_per_port;
uint32_t frame_overhead;
uint32_t mtu;
uint32_t cpu_id;
- uint32_t n_pipes_per_subport;
- uint16_t qsize[RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE];
};
int
};
int