在 2024/10/18 10:42, Chaoyong He 写道:
From: Long Wu <long...@corigine.com>
The previous code used a macro as the data size for mbuf
to create the mempool and users cannot modify the size.
Now modify the code to support setting the data size of
mbuf by '--mbuf-size' parameter. If user does not add the
parameter in start command line, the default size is still
'RTE_MBUF_DEFAULT_BUF_SIZE'.
Examples:
dpdk-l3fwd -l 0-3 -- -p 0x03 --mbuf-size=4096
Signed-off-by: Long Wu <long...@corigine.com>
Reviewed-by: Chaoyong He <chaoyong...@corigine.com>
Acked-by: Morten Brørup <m...@smartsharesystems.com>
Acked-by: Huisong Li<lihuis...@huawei.com>