numam-dpdk/lib
Xuan Ding cd79d1b030 vhost: fix unnecessary dirty page logging
The dirty page logging is only required in vhost enqueue direction for
live migration. This patch removes the unnecessary dirty page logging
in vhost dequeue direction. Otherwise, it will result in a performance
drop. Some if-else judgements are also optimized to improve performance.

Fixes: 6d823bb302 ("vhost: prepare sync for descriptor to mbuf refactoring")
Fixes: b6eee3e834 ("vhost: fix sync dequeue offload")

Signed-off-by: Xuan Ding <xuan.ding@intel.com>
Reviewed-by: Jiayu Hu <jiayu.hu@intel.com>
Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Tested-by: Xingguang He <xingguang.he@intel.com>
2022-07-08 11:15:32 +02:00
..
acl lib: document free functions 2022-06-24 14:50:34 +02:00
bbdev lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
bitratestats lib: document free functions 2022-06-24 14:50:34 +02:00
bpf bpf: fix build with some libpcap version on FreeBSD 2022-03-14 11:41:52 +01:00
cfgfile version: 21.11-rc0 2021-08-17 08:37:52 +02:00
cmdline cmdline: remove unneeded header includes 2022-06-21 16:46:56 +02:00
compressdev lib: document free functions 2022-06-24 14:50:34 +02:00
cryptodev lib: document free functions 2022-06-24 14:50:34 +02:00
distributor distributor: fix potential overflow 2022-02-27 19:06:59 +01:00
dmadev remove passive voice in function description 2022-06-24 14:05:54 +02:00
eal service: fix lingering active status 2022-07-05 16:24:43 +02:00
efd lib: document free functions 2022-06-24 14:50:34 +02:00
ethdev ethdev: remove unneeded header includes 2022-06-21 16:46:56 +02:00
eventdev eventdev/eth_tx: fix queue delete 2022-07-04 18:04:52 +02:00
fib lib: document free functions 2022-06-24 14:50:34 +02:00
flow_classify lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
gpudev gpudev: remove unneeded header includes 2022-06-21 16:46:56 +02:00
graph graph: remove useless duplicate name check 2022-03-07 20:31:14 +01:00
gro gro: fix identifying fragmented packets 2022-07-05 18:30:38 +02:00
gso gso: remove unneeded header includes 2022-06-21 16:46:56 +02:00
hash hash: remove unneeded header includes 2022-06-21 16:46:56 +02:00
ip_frag ip_frag: fix build with GCC 12 2022-06-23 16:32:00 +02:00
ipsec ipsec: fix NAT-T ports and length 2022-06-21 20:04:49 +02:00
jobstats jobstats: remove unneeded header includes 2022-06-21 16:46:56 +02:00
kni kni: add missing C++ guards 2022-02-22 14:47:49 +01:00
kvargs lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
latencystats lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
lpm lib: document free functions 2022-06-24 14:50:34 +02:00
mbuf mbuf: dump outer VLAN 2022-06-01 11:15:37 +02:00
member lib: document free functions 2022-06-24 14:50:34 +02:00
mempool lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
meter meter: remove unneeded header includes 2022-06-21 16:46:56 +02:00
metrics metrics: add missing C++ guards 2022-02-22 14:47:49 +01:00
net net: fix GTP PSC headers 2022-06-23 13:38:09 +02:00
node lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
pcapng pcapng: fix timestamp wrapping in output files 2022-06-01 16:39:25 +02:00
pci lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
pdump lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
pipeline remove unnecessary null checks 2022-06-24 14:51:09 +02:00
port port: support packet mirroring 2022-06-01 15:04:34 +02:00
power power: remove unneeded header includes 2022-06-21 16:46:56 +02:00
rawdev rawdev: remove unneeded header includes 2022-06-21 16:46:56 +02:00
rcu lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
regexdev build: hide local symbols in shared libraries 2022-03-08 15:22:33 +01:00
reorder lib: document free functions 2022-06-24 14:50:34 +02:00
rib rib: fix references for IPv6 implementation 2022-06-26 12:20:24 +02:00
ring lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
sched lib: document free functions 2022-06-24 14:50:34 +02:00
security security: fix SA lifetime comments 2022-04-28 09:26:48 +02:00
stack lib: document free functions 2022-06-24 14:50:34 +02:00
table remove unnecessary null checks 2022-06-24 14:51:09 +02:00
telemetry lib: document free functions 2022-06-24 14:50:34 +02:00
timer timer: remove unneeded header includes 2022-06-21 16:46:57 +02:00
vhost vhost: fix unnecessary dirty page logging 2022-07-08 11:15:32 +02:00
meson.build build: add definitions for use as Meson subproject 2022-06-07 20:49:20 +02:00