All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: Hangbin Liu <liuhangbin@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: [Need Help] tls selftest failed
Date: Mon, 21 Nov 2022 09:33:24 -0800	[thread overview]
Message-ID: <20221121093324.74fc794f@kernel.org> (raw)
In-Reply-To: <Y3mcParyv6lpQbnk@Laptop-X1>

On Sun, 20 Nov 2022 11:17:17 +0800 Hangbin Liu wrote:
> On Fri, Nov 18, 2022 at 08:13:09AM -0800, Jakub Kicinski wrote:
> > Hm, looks like a config problem. CRYPTO_SM4 is not enabled in the
> > config, even tho it's listed in tools/testing/selftests/net/config. 
> > Maybe it's not the right symbol to list in the test, or there is
> > a dependency we missed?  
> 
> From the build log[1], the CKI will read selftests/net/config and reset
> CONFIGs if it is not defined or need redefined. e.g.
> 
> ```
> Value of CONFIG_MPLS_IPTUNNEL is redefined by fragment
> ./tools/testing/selftests/net/config:
> Previous value: CONFIG_MPLS_IPTUNNEL=y
> New value: CONFIG_MPLS_IPTUNNEL=m
> 
> Value of CONFIG_NET_SCH_INGRESS is redefined by fragment
> ./tools/testing/selftests/net/config:
> Previous value: CONFIG_NET_SCH_INGRESS=y
> New value: CONFIG_NET_SCH_INGRESS=m
> 
> Value of CONFIG_NET_CLS_FLOWER is redefined by fragment
> ./tools/testing/selftests/net/config:
> Previous value: CONFIG_NET_CLS_FLOWER=y
> New value: CONFIG_NET_CLS_FLOWER=m
> ```

But these only list downgrades from =y to =m,
none of them actually enable things.
 
> And in the config file[2], all the CONFIGs in selftests/net/config are
> set correctly except CONFIG_CRYPTO_SM4. I saw in the config file it shows
> 
> # CONFIG_CRYPTO_SM4_GENERIC is not set
> 
> Is there any dependence for CONFIG_CRYPTO_SM4?

none that I can see:

config CRYPTO_SM4
        tristate

  reply	other threads:[~2022-11-21 17:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-18  8:09 [Need Help] tls selftest failed Hangbin Liu
2022-11-18 16:13 ` Jakub Kicinski
2022-11-20  3:17   ` Hangbin Liu
2022-11-21 17:33     ` Jakub Kicinski [this message]
2022-11-22  6:30       ` Hangbin Liu

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=20221121093324.74fc794f@kernel.org \
    --to=kuba@kernel.org \
    --cc=liuhangbin@gmail.com \
    --cc=netdev@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.