mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-23 22:42:14 +08:00
libnl: Add kernel configuration for test suite
This commit is contained in:
parent
5a809f3053
commit
2dd6b6bc66
44
kernel-config/networking/netlibs/libnl-test.toml
Normal file
44
kernel-config/networking/netlibs/libnl-test.toml
Normal file
@ -0,0 +1,44 @@
|
||||
# Forced by !EXPERT
|
||||
NAMESPACES = { value = '*', forced = true }
|
||||
|
||||
USER_NS='*'
|
||||
NET_NS='*'
|
||||
|
||||
NET='*'
|
||||
INET='*'
|
||||
IP_ADVANCED_ROUTER='*'
|
||||
IP_MULTIPLE_TABLES='*'
|
||||
NET_IPIP='*M'
|
||||
NET_IPGRE_DEMUX='*M'
|
||||
NET_IPGRE='*M'
|
||||
NET_IPVTI='*M'
|
||||
IPV6='*'
|
||||
IPV6_TUNNEL='*M'
|
||||
IPV6_SIT='*M'
|
||||
IPV6_MULTIPLE_TABLES='*'
|
||||
NETFILTER='*'
|
||||
NF_TABLES='*M'
|
||||
NF_TABLES_NETDEV='*'
|
||||
|
||||
# forced by NFT_FWD_NETDEV
|
||||
NF_DUP_NETDEV = { value = '*M', forced = true }
|
||||
|
||||
NFT_FWD_NETDEV = '*M'
|
||||
BRIDGE='*M'
|
||||
|
||||
# forced by IPVLAN
|
||||
NET_L3_MASTER_DEV = { value = '*', forced = true }
|
||||
|
||||
VLAN_8021Q='*M'
|
||||
NETDEVICES='*'
|
||||
NET_CORE='*'
|
||||
BONDING='*M'
|
||||
DUMMY='*M'
|
||||
IFB='*M'
|
||||
MACVLAN='*M'
|
||||
MACVTAP='*M'
|
||||
IPVLAN='*M'
|
||||
VXLAN='*M'
|
||||
MACSEC='*M'
|
||||
VETH='*M'
|
||||
NET_VRF='*M'
|
47
networking/netlibs/libnl-test-kernel.xml
Normal file
47
networking/netlibs/libnl-test-kernel.xml
Normal file
@ -0,0 +1,47 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
|
||||
<!-- Automatically generated by kernel-config.py
|
||||
DO NOT EDIT! -->
|
||||
<screen><emphasis role='blue'>G</emphasis>eneral setup --->
|
||||
-*- N<emphasis role='blue'>a</emphasis>mespaces support ---> [NAMESPACES]
|
||||
[*] <emphasis role='blue'>U</emphasis>ser namespace [USER_NS]
|
||||
[*] N<emphasis role='blue'>e</emphasis>twork namespace [NET_NS]
|
||||
|
||||
[*] N<emphasis role='blue'>e</emphasis>tworking support ---> [NET]
|
||||
N<emphasis role='blue'>e</emphasis>tworking options --->
|
||||
[*] <emphasis role='blue'>T</emphasis>CP/IP networking [INET]
|
||||
[*] <emphasis role='blue'>I</emphasis>P: advanced router [IP_ADVANCED_ROUTER]
|
||||
[*] <emphasis role='blue'>I</emphasis>P: policy routing [IP_MULTIPLE_TABLES]
|
||||
<*/M> <emphasis role='blue'>I</emphasis>P: tunneling [NET_IPIP]
|
||||
<*/M> <emphasis role='blue'>I</emphasis>P: GRE demultiplexer [NET_IPGRE_DEMUX]
|
||||
<*/M> <emphasis role='blue'>I</emphasis>P: GRE tunnels over IP [NET_IPGRE]
|
||||
<*/M> <emphasis role='blue'>V</emphasis>irtual (secure) IP: tunneling [NET_IPVTI]
|
||||
<*> <emphasis role='blue'>T</emphasis>he IPv6 protocol ---> [IPV6]
|
||||
<*/M> <emphasis role='blue'>I</emphasis>Pv6: IPv6-in-IPv4 tunnel (SIT driver) [IPV6_SIT]
|
||||
<*/M> <emphasis role='blue'>I</emphasis>Pv6: IP-in-IPv6 tunnel (RFC2473) [IPV6_TUNNEL]
|
||||
[*] <emphasis role='blue'>I</emphasis>Pv6: Multiple Routing Tables [IPV6_MULTIPLE_TABLES]
|
||||
[*] N<emphasis role='blue'>e</emphasis>twork packet filtering framework (Netfilter) ---> [NETFILTER]
|
||||
<emphasis role='blue'>C</emphasis>ore Netfilter Configuration --->
|
||||
<*/M> N<emphasis role='blue'>e</emphasis>tfilter nf_tables support [NF_TABLES]
|
||||
[*] N<emphasis role='blue'>e</emphasis>tfilter nf_tables netdev tables support [NF_TABLES_NETDEV]
|
||||
{*/M} N<emphasis role='blue'>e</emphasis>tfilter packet duplication support [NF_DUP_NETDEV]
|
||||
<*/M> N<emphasis role='blue'>e</emphasis>tfilter nf_tables netdev packet forwarding support
|
||||
... [NFT_FWD_NETDEV]
|
||||
<*/M> <emphasis role='blue'>8</emphasis>02.1d Ethernet Bridging [BRIDGE]
|
||||
<*/M> <emphasis role='blue'>8</emphasis>02.1Q/802.1ad VLAN Support [VLAN_8021Q]
|
||||
-*- <emphasis role='blue'>L</emphasis>3 Master device support [NET_L3_MASTER_DEV]
|
||||
|
||||
<emphasis role='blue'>D</emphasis>evice Drivers --->
|
||||
[*] N<emphasis role='blue'>e</emphasis>twork device support ---> [NETDEVICES]
|
||||
[*] N<emphasis role='blue'>e</emphasis>twork core driver support [NET_CORE]
|
||||
<*/M> <emphasis role='blue'>B</emphasis>onding driver support [BONDING]
|
||||
<*/M> <emphasis role='blue'>D</emphasis>ummy net driver support [DUMMY]
|
||||
<*/M> <emphasis role='blue'>I</emphasis>ntermediate Functional Block support [IFB]
|
||||
<*/M> M<emphasis role='blue'>A</emphasis>C-VLAN support [MACVLAN]
|
||||
<*/M> M<emphasis role='blue'>A</emphasis>C-VLAN based tap driver [MACVTAP]
|
||||
<*/M> <emphasis role='blue'>I</emphasis>P-VLAN support [IPVLAN]
|
||||
<*/M> <emphasis role='blue'>V</emphasis>irtual eXtensible Local Area Network (VXLAN) [VXLAN]
|
||||
<*/M> <emphasis role='blue'>I</emphasis>EEE 802.1AE MAC-level encryption (MACsec) [MACSEC]
|
||||
<*/M> <emphasis role='blue'>V</emphasis>irtual ethernet pair device [VETH]
|
||||
<*/M> <emphasis role='blue'>V</emphasis>irtual Routing and Forwarding (Lite) [NET_VRF]</screen>
|
@ -144,12 +144,17 @@ make</userinput></screen>
|
||||
</note>
|
||||
|
||||
<para>
|
||||
This package does not come with a working test suite.
|
||||
<!--To test the results, issue: <command>make check</command>.
|
||||
One subtest is known to fail.-->
|
||||
<!-- If the kernel does not have CONFIG_IPC_NS=y, one subtest tests/check-all
|
||||
fails. If it does have it, the subtest still fails in a different place
|
||||
for unknown reasons. Version 3.6.0. -->
|
||||
If you wish to run the tests, check that the following options
|
||||
are enabled in the kernel configuration and recompile the kernel
|
||||
if necessary. Some of them may not be strictly needed, but they
|
||||
should support a complete test coverage.
|
||||
</para>
|
||||
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="libnl-test-kernel.xml"/>
|
||||
|
||||
<para>
|
||||
To test the results, issue: <command>make check</command>.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
|
Loading…
Reference in New Issue
Block a user