aboutsummaryrefslogtreecommitdiffstats
path: root/README.vppodp
diff options
context:
space:
mode:
authorMichal Mazur <mkm@semihalf.com>2017-08-21 15:01:42 +0200
committerMichal Mazur <mkm@semihalf.com>2017-12-14 15:18:05 +0100
commit4c34d6c16947c5e1465319d9d44dbdaaa2f04c4e (patch)
tree47aecd5a2719916187f319357efde738674ae788 /README.vppodp
parent7e1f3998634c89aa6344468d26df0de519578a5f (diff)
Read ODP configuration from VPP startup config
1) Allow to setup size of allocated memory, number of packets in the pool, number of packets in transmit burst and delay in scheduler mode from VPP startup file. More details are in template: src/vpp/conf/startup.conf 2) Separate Rx mode from Tx mode. Traffic Manager is not supported. 3) Devices defined in VPP startup are automatically created at start. Change-Id: I1f8a3c2900f56cb23ce6997d311cfe55e1c2078c Signed-off-by: Michal Mazur <mkm@semihalf.com>
Diffstat (limited to 'README.vppodp')
-rw-r--r--README.vppodp9
1 files changed, 6 insertions, 3 deletions
diff --git a/README.vppodp b/README.vppodp
index 6e536987..fe1e2985 100644
--- a/README.vppodp
+++ b/README.vppodp
@@ -73,10 +73,13 @@ Below is a basic verification test.
Note :For odp-dpdk the port has to bound with dpdk driver prior to test and interface name is passed as 0,1..etc.
-1)Configure odp packet interface with mode ie (0-burst,1-queue,2-schedule) default mode is 0.
- Setting rx-queues to more than 1 will enable RSS.
+1)Configure odp packet interface with Rx/Tx mode and number of queues.
+ Rx mode can be set to 0-burst, 1-queue, 2-schedule (default mode is burst).
+ Tx mode can be set to 0-burst, 1-queue (default mode is burst)
+ Number of Rx queues can be 1 or more. It will determine number of threads and enable RSS (default is 1).
+ Number of Tx queues can be 0 (equal to number of threads, default) or 1 (single shared queue).
--create pktio-interface name <int name> hw-addr <mac> mode <0/1/2> rx-queues <number of input queues>
+-create pktio-interface name <int name> hw-addr <mac> rx-mode <0/1/2> rx-queues <num queues> tx-mode <0/1> tx-queues <num queues>
-set int ip address odp-<int name> X.X.X.X/24
-set int state odp-<int name> up