[dts] [PATCH V1] iavf_flexible_descriptor:sync plan and case to adapt dpdk code changed
David Marchand
david.marchand at redhat.com
Thu Oct 28 11:44:25 CEST 2021
On Thu, Oct 28, 2021 at 11:33 AM Zhimin Huang <zhiminx.huang at intel.com> wrote:
>
> according to dpdk commit daa02b5cddbb8e11b31d41e2bf7bb1ae64dcae2f code changed.
> fix code to adapt dpdk changed,and add check function after modify code in case.
Please stop changing DPDK source code in the test tool.
>
> Signed-off-by: Zhimin Huang <zhiminx.huang at intel.com>
> ---
> .../iavf_flexible_descriptor_test_plan.rst | 2 +-
> tests/TestSuite_iavf_flexible_descriptor.py | 23 ++++++++++++++++++-
> 2 files changed, 23 insertions(+), 2 deletions(-)
>
> diff --git a/test_plans/iavf_flexible_descriptor_test_plan.rst b/test_plans/iavf_flexible_descriptor_test_plan.rst
> index d03fbe41..9cf0d713 100644
> --- a/test_plans/iavf_flexible_descriptor_test_plan.rst
> +++ b/test_plans/iavf_flexible_descriptor_test_plan.rst
> @@ -106,7 +106,7 @@ The default DPDK don't support dump flexible descriptor fields, so need to patch
> (int)mb->nb_segs);
> ol_flags = mb->ol_flags;
> + rte_pmd_ifd_dump_proto_xtr_metadata(mb);
> - if (ol_flags & PKT_RX_RSS_HASH) {
> + if (ol_flags & RTE_MBUF_F_RX_RSS_HASH) {
> MKDUMPSTR(print_buf, buf_size, cur_len,
> " - RSS hash=0x%x",
>
--
David Marchand
More information about the dts
mailing list