230951555f
This patch extends hairpin-mode command line option of test-pmd application with an ability to configure whether Rx/Tx hairpin queue should use locked device memory or RTE memory. For purposes of this configurations the following bits of 32 bit hairpin-mode are reserved: - Bit 8 - If set, then force_memory flag will be set for hairpin RX queue. - Bit 9 - If set, then force_memory flag will be set for hairpin TX queue. - Bits 12-15 - Memory options for hairpin Rx queue: - Bit 12 - If set, then use_locked_device_memory will be set. - Bit 13 - If set, then use_rte_memory will be set. - Bit 14 - Reserved for future use. - Bit 15 - Reserved for future use. - Bits 16-19 - Memory options for hairpin Tx queue: - Bit 16 - If set, then use_locked_device_memory will be set. - Bit 17 - If set, then use_rte_memory will be set. - Bit 18 - Reserved for future use. - Bit 19 - Reserved for future use. Signed-off-by: Dariusz Sosnowski <dsosnowski@nvidia.com> |
||
---|---|---|
.. | ||
5tswap.c | ||
bpf_cmd.c | ||
bpf_cmd.h | ||
cmd_flex_item.c | ||
cmdline_flow.c | ||
cmdline_mtr.c | ||
cmdline_mtr.h | ||
cmdline_tm.c | ||
cmdline_tm.h | ||
cmdline.c | ||
config.c | ||
csumonly.c | ||
flowgen.c | ||
icmpecho.c | ||
ieee1588fwd.c | ||
iofwd.c | ||
macfwd.c | ||
macswap_common.h | ||
macswap_neon.h | ||
macswap_sse.h | ||
macswap.c | ||
macswap.h | ||
meson.build | ||
noisy_vnf.c | ||
parameters.c | ||
rxonly.c | ||
shared_rxq_fwd.c | ||
testpmd.c | ||
testpmd.h | ||
txonly.c | ||
util.c |