[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM_iQpWMa61VhVk00cAwKFZ3KNUv6o8kvniNYT3EKWkNQxnExQ@mail.gmail.com>
Date: Mon, 22 Feb 2021 11:32:09 -0800
From: Cong Wang <xiyou.wangcong@...il.com>
To: Jakub Sitnicki <jakub@...udflare.com>
Cc: Linux Kernel Network Developers <netdev@...r.kernel.org>,
bpf <bpf@...r.kernel.org>, duanxiongchun@...edance.com,
Dongdong Wang <wangdongdong.6@...edance.com>,
Jiang Wang <jiang.wang@...edance.com>,
Cong Wang <cong.wang@...edance.com>,
Daniel Borkmann <daniel@...earbox.net>,
Lorenz Bauer <lmb@...udflare.com>,
John Fastabend <john.fastabend@...il.com>
Subject: Re: [Patch bpf-next v6 5/8] sock_map: rename skb_parser and skb_verdict
On Mon, Feb 22, 2021 at 4:28 AM Jakub Sitnicki <jakub@...udflare.com> wrote:
>
> skb_parser also appears in:
>
> tools/testing/selftests/bpf/test_sockmap.c:int txmsg_omit_skb_parser;
> tools/testing/selftests/bpf/test_sockmap.c: {"txmsg_omit_skb_parser", no_argument, &txmsg_omit_skb_parser, 1},
> tools/testing/selftests/bpf/test_sockmap.c: txmsg_omit_skb_parser = 0;
> tools/testing/selftests/bpf/test_sockmap.c: if (!txmsg_omit_skb_parser) {
> tools/testing/selftests/bpf/test_sockmap.c: if (!txmsg_omit_skb_parser) {
> tools/testing/selftests/bpf/test_sockmap.c: /* Tests that omit skb_parser */
> tools/testing/selftests/bpf/test_sockmap.c: txmsg_omit_skb_parser = 1;
> tools/testing/selftests/bpf/test_sockmap.c: txmsg_omit_skb_parser = 0;
These are harmless, because they are internal variables of a self test.
So, I prefer to just leave them as they are.
Thanks.
Powered by blists - more mailing lists