numam-dpdk/examples
Ruifeng Wang 74fb854a3d examples/l3fwd: remove useless reloads in LPM main loop
Number of rx queue and number of rx port in lcore config are constants
during the period of l3 forward application running. But compiler has
no this information.

Copied values from lcore config to local variables and used the local
variables for iteration. Compiler can see that the local variables are
not changed, so qconf reloads at each iteration can be eliminated.

The change showed 1.8% performance uplift in single core, single port,
single queue test on N1SDP platform with MLX5 NIC.

Signed-off-by: Ruifeng Wang <ruifeng.wang@arm.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
2021-07-05 11:30:58 +02:00
..
bbdev_app examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
bond examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
bpf examples: remove old build system references 2020-09-07 23:51:57 +02:00
cmdline examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
distributor examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
ethtool examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
eventdev_pipeline examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
fips_validation examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
flow_classify examples/flow_classify: fix NUMA check of port and core 2021-05-12 21:46:05 +02:00
flow_filtering examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
helloworld examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
ioat examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
ip_fragmentation examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
ip_pipeline examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
ip_reassembly examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
ipsec-secgw examples/ipsec-secgw: fix handling IPv6 extension headers 2021-05-05 16:50:21 +02:00
ipv4_multicast examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
kni examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
l2fwd examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
l2fwd-cat examples/l2fwd-cat: fix NUMA check of port and core 2021-05-12 21:46:05 +02:00
l2fwd-crypto examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
l2fwd-event examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
l2fwd-jobstats examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
l2fwd-keepalive examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
l3fwd examples/l3fwd: remove useless reloads in LPM main loop 2021-07-05 11:30:58 +02:00
l3fwd-acl examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
l3fwd-graph examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
l3fwd-power examples/l3fwd-power: fix empty poll thresholds 2021-05-19 08:41:20 +02:00
link_status_interrupt examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
multi_process examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
ntb examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
packet_ordering examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
performance-thread examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
pipeline examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
ptpclient examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
qos_meter examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
qos_sched examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
rxtx_callbacks examples/rxtx_callbacks: fix port ID format specifier 2021-05-12 21:46:05 +02:00
server_node_efd examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
service_cores examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
skeleton examples/skeleton: fix NUMA check of port and core 2021-05-12 21:46:05 +02:00
timer examples/timer: fix time interval 2021-05-12 16:52:20 +02:00
vdpa examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
vhost examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
vhost_blk examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
vhost_crypto examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
vm_power_manager examples/vm_power: remove VM channel number check 2021-05-05 23:43:22 +02:00
vmdq examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
vmdq_dcb examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
meson.build examples: reduce indentation in build files 2021-04-21 14:04:09 +02:00