public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Hangbin Liu <liuhangbin@gmail.com>
To: shaozhengchao <shaozhengchao@huawei.com>
Cc: netdev@vger.kernel.org
Subject: Re: selftests/tc-testings cgroup.json test failed
Date: Thu, 8 Jun 2023 10:29:18 +0800	[thread overview]
Message-ID: <ZIE8/hwWta2+vWGH@Laptop-X1> (raw)
In-Reply-To: <0e4a9752-ab3e-07cd-e030-45f230481d0b@huawei.com>

On Wed, Jun 07, 2023 at 06:46:34PM +0800, shaozhengchao wrote:
> > I saw the matchPattern checks ".*cmp..." which is not exist with my tc output.
> > 
> > "matchPattern": "^filter protocol ip pref [0-9]+ cgroup chain [0-9]+.*handle 0x1.*cmp\\(u8 at 0 layer 0 mask 0xff gt 10\\)",
> > 
> > So which tc version are you using? Am I missed something?
> > 
> Hi Hangbin:
> 	I upgraded iproute to 6.3.0 locally, and these test cases are
> successfully executed. My kernel version is 6.4.0 and OS version is
> ubuntu 1804 LTS. I am wondering if it had something to do with the OS?

Ah, I checked the source code and found my OS didn't enable
CONFIG_NET_EMATCH_CMP.

Thanks
Hangbin

      reply	other threads:[~2023-06-08  2:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-07  9:54 selftests/tc-testings cgroup.json test failed Hangbin Liu
2023-06-07 10:46 ` shaozhengchao
2023-06-08  2:29   ` Hangbin Liu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZIE8/hwWta2+vWGH@Laptop-X1 \
    --to=liuhangbin@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=shaozhengchao@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox