[dts][PATCH V2] tests/vf_offload: fix syntax errors
Xu, Ke1
ke1.xu at intel.com
Tue Jan 10 10:51:41 CET 2023
> -----Original Message-----
> From: Weiyuan Li <weiyuanx.li at intel.com>
> Sent: Tuesday, January 10, 2023 5:30 PM
> To: dts at dpdk.org
> Cc: Li, WeiyuanX <weiyuanx.li at intel.com>
> Subject: [dts][PATCH V2] tests/vf_offload: fix syntax errors
>
> Scapy send package count can't have quotation marks. Otherwise, send the
> packet fails.
>
> Signed-off-by: Weiyuan Li <weiyuanx.li at intel.com>
> ---
This patch is to fix some potential bugs.
Line 752: Fix wrong packet checking that only checked packet No.0.
Line 887: Fix long verbose that may crash the buffer causing timeout.
Line 934: Remove white space that format check does not check for the string-ed
command line format where we prefer not adding extra white space for kwargs.
Line 952: The payload_size_list is not index-ed, may cause bugs. Adding extra int()
may help prevent wrong type input though the new method ensures an int return.
Line 994: Add log. Add missed packet count.
Acked-by: Ke Xu <ke1.xu at intel.com>
>
> v2:
> -Modify the traversal comparison and expectation of the captured packet
> results.
>
> tests/TestSuite_vf_offload.py | 11 ++++++-----
> 1 file changed, 6 insertions(+), 5 deletions(-)
>
More information about the dts
mailing list