Age | Commit message (Collapse) | Author | Files | Lines |
|
When bumping jvpp a lot of variables need to be changed.
This is useles because all of them have the same value,
unifying them will simplify the bump process.
Change-Id: Ie62c4bef0b899acc463f9b855cbb4d5e7e302667
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
|
|
Changes
- sets version of VPP package dependencies to 19.04.
- updates vpp-plugins to vpp-plugin-core dependencies for debian
Change-Id: I2bcd41e0cc6606406bdb7d5e7d7e30bc825eedce
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
|
|
- removed 2000 offset from package name, doesn't affect download
of latest version anymore.
Change-Id: I82efba1a605331b9b23ac54b753f3721a0958431
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
|
|
Fix package names for JVPP so it no longer contains vpp
since it has been migrated outside of VPP project.
Change-Id: I1e7a3fe4713beaaf7a1a0b41e7180d03bb7b74e5
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
|
|
in order to switch to the new JVPP we need to update all
JVPP dependencies to new groupId.
Change-Id: Icd8c07f7553a04111cf5a768dfbb26094ff99db8
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
|
|
Changes
- sets version of VPP package dependencies to 19.04.
- updates vpp-plugins to vpp-plugin-core dependencies for debian
Change-Id: Ida51151910f217248aa761b59f8cfdb3861b3f26
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
|
|
Change-Id: I5f2c8635eab44f5d7b74514f3a2f7b4218b3369c
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
|
|
Also sets version of VPP package dependencies to 19.01.
- fixes several changes made in VPP API
Change-Id: Icca406f414bce30745026573c78a69eea09dc566
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
|
|
Change-Id: Iedb7935735cc9836fb1cb11856d38ec1d090e6ba
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
|
|
Sonar reports unclosed resources,
but jvpp connections are closed in JVppBenchmark.tearDown.
It is only a benchmark,
so if JMH would crash and not call tearDown,
then we don't really care.
Change-Id: I60ae60c78610b8c07076c7d2a94917e8316d03dd
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Adapts hc2vpp to recent VPP api change:
https://gerrit.fd.io/r/#/c/13007/
Setting length field is currently mandatory
for variable length arrays (VPP-199).
Change-Id: I7ce66076d8a29d1ff5dfe5592e651d133e4072aa
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Also sets version of VPP package dependencies to 18.07.
Change-Id: I4be0a5a9217c3e059125e7eb5a36170d02f12b88
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I6ba9d0017cc42a4cafe3790e563e206d33c211b3
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Fixes several issues found by Sonar.
Change-Id: I7ab017f9d89221e8eff4b2438b7669df608b5587
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I957edd6813b1be43232845d9bf6a4f13ed01ecfb
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Renames shaded jar name from
jvpp-benchmark-exec.jar
to
jvpp-benchmark-1.18.07-SNAPSHOT-executable.jar
Change-Id: I593946dde3a6fc1717644e7315110aa94553d91d
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Synchronously creates classify tables.
By default 20x2s warmup
and 100x2s measurement iterations are performed.
VPP is restarted after each iteration.
Each invocation of classifyAddDelTable uses tables
from precomputed set of size tableSetSize.
Tables from the set are used in round-robin fashion.
Run with:
sudo java -jar ./target/jvpp-benchmark-exec.jar \
ClassifyTableCreateBenchmark
To specify aclSetSize (default=100), use:
sudo java -jar ./target/jvpp-benchmark-exec.jar \
ClassifyTableCreateBenchmark -p tableSetSize=1000
To see more options, use
java -jar ./target/jvpp-benchmark-exec.jar -h
Change-Id: I387d879bc99dce45f93d66e8a99f7206f067b443
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Changes:
- use loopback interface instead of local0,
- if L3 (default) mode is selected, assing IP to the loop0 interface,
- if L2 mode is selected, create bridge domain and assing loop0 the BD.
To test interface in L2 mode, use:
sudo java -jar ./target/jvpp-benchmark-exec.jar -p mode=L2
Change-Id: I8450d42fe0d164c6dbedf1dacf1444a25d9932b8
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
(cherry picked from commit 6e5446c9d64df7f2cbde857d276e8685c9175089)
|
|
Change-Id: I689adb9e139ff22a48cf82e27e8501d542edef72
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Change-Id: I5ab4465f25c13e0f3b89e2757bde9dd47c660732
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|
|
Creates ACL of size aclSize using acl_add_replace,
then assigns it to local0 using acl_interface_set_acl_list.
Then ACL is updated synchronously using acl_add_replace.
By default 20x2s warmup and 100x2s measurment iterations
are performed.
VPP is restarted after each iteration.
Each invocation of acl_add_replace uses ACL from precomputed
set of ACLs of size aclSetSize.
ACLs from the set are used in round-robin fashion.
Compile:
cd $HC2VPP_ROOT/it/jvpp-benchmark
mvn clean install
Run with:
sudo java -jar ./target/jvpp-benchmark-exec.jar
To specify aclSize (default=100), use:
sudo java -jar ./target/jvpp-benchmark-exec.jar -p aclSize=1000
To specify aclSetSize (default=100), use:
sudo java -jar ./target/jvpp-benchmark-exec.jar -p aclSetSize=1000
To see more options, use
java -jar ./target/jvpp-benchmark-exec.jar -h
Change-Id: I43691ba891940a1c341f8e9893c8598c811bc077
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
|