Added various improvements to the l2fwd test application: - Supports using odd number of ports - Scheduler queue type can be selected - Added options for enabling/disabling eth address filling
New options: -d, --dst_change <0/1>: Enable/disable changing packets' dst eth addresses -s, --src_change <0/1>: Enable/disable changing packets' src eth addresses -m, --mode <0>: Send&receive packets directly from NIC (default) <1>: Send&receive packets through scheduler sync none queues <2>: Send&receive packets through scheduler sync atomic queues <3>: Send&receive packets through scheduler sync ordered queues v2: - Rebased to master - Word copy ethernet addresses v3: - Rebased to master v4: - Rebased to master - Load words before usage in fill_eth_addrs() (Ola Liljedahl) Matias Elo (6): test: l2fwd: add option to change destination eth addresses test: l2fwd: add option to select scheduler queue type test: l2fwd: fix crash when accuracy is set to 0 test: l2fwd: add support for using odd number of ports test: l2fwd: add option to disable filling eth addresses test: l2fwd: word copy ethernet addresses test/performance/odp_l2fwd.c | 279 +++++++++++++++++++++++++++++-------------- 1 file changed, 190 insertions(+), 89 deletions(-) -- 1.9.1 _______________________________________________ lng-odp mailing list lng-odp@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lng-odp