diff mbox series

[V3,2/2] test/qtest/test-filter-mirror.c: Change the default vnet_hdr_support

Message ID 20211119053506.290459-2-chen.zhang@intel.com (mailing list archive)
State New, archived
Headers show
Series [V3,1/2] net/filter: Enable the vnet_hdr_support by default | expand

Commit Message

Zhang Chen Nov. 19, 2021, 5:35 a.m. UTC
As net filters changed default vnet_hdr_support=on.
For this e1000 test case need to add vnet_hdr_support=off.

Signed-off-by: Zhang Chen <chen.zhang@intel.com>
---
 tests/qtest/test-filter-mirror.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jason Wang Nov. 22, 2021, 3:58 a.m. UTC | #1
On Fri, Nov 19, 2021 at 1:45 PM Zhang Chen <chen.zhang@intel.com> wrote:
>
> As net filters changed default vnet_hdr_support=on.
> For this e1000 test case need to add vnet_hdr_support=off.
>
> Signed-off-by: Zhang Chen <chen.zhang@intel.com>
> ---

I squashed this into the previous patch to have a better bisection
behaviour and queue it for 7.0.

Thanks

>  tests/qtest/test-filter-mirror.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/qtest/test-filter-mirror.c b/tests/qtest/test-filter-mirror.c
> index bc0dee64dd..7756f8cfc1 100644
> --- a/tests/qtest/test-filter-mirror.c
> +++ b/tests/qtest/test-filter-mirror.c
> @@ -45,7 +45,7 @@ static void test_mirror(void)
>          "-netdev socket,id=qtest-bn0,fd=%d "
>          "-device %s,netdev=qtest-bn0,id=qtest-e0 "
>          "-chardev socket,id=mirror0,fd=%d "
> -        "-object filter-mirror,id=qtest-f0,netdev=qtest-bn0,queue=tx,outdev=mirror0 "
> +        "-object filter-mirror,id=qtest-f0,netdev=qtest-bn0,queue=tx,outdev=mirror0,vnet_hdr_support=off "
>          , send_sock[1], devstr, recv_sock[1]);
>
>      struct iovec iov[] = {
> --
> 2.25.1
>
diff mbox series

Patch

diff --git a/tests/qtest/test-filter-mirror.c b/tests/qtest/test-filter-mirror.c
index bc0dee64dd..7756f8cfc1 100644
--- a/tests/qtest/test-filter-mirror.c
+++ b/tests/qtest/test-filter-mirror.c
@@ -45,7 +45,7 @@  static void test_mirror(void)
         "-netdev socket,id=qtest-bn0,fd=%d "
         "-device %s,netdev=qtest-bn0,id=qtest-e0 "
         "-chardev socket,id=mirror0,fd=%d "
-        "-object filter-mirror,id=qtest-f0,netdev=qtest-bn0,queue=tx,outdev=mirror0 "
+        "-object filter-mirror,id=qtest-f0,netdev=qtest-bn0,queue=tx,outdev=mirror0,vnet_hdr_support=off "
         , send_sock[1], devstr, recv_sock[1]);
 
     struct iovec iov[] = {