From: Brian Masney <[email protected]>

redhat/configs: automotive: change VIRTIO_NET from a module to built in

Upstream Status: RHEL Only

Do this to help with the overall boot speed for the qemu target. This
also requires changing two other smaller drivers (net/core/failover.c
and drivers/net/net_failover.c) to built in.

Here's the kernel module sizes for x86_64:

       text        data     bss     dec     hex filename
       5334        1588      32    6954    1b2a failover.ko
      14399        1692       0   16091    3edb net_failover.ko
      73742        4755       4   78501   132a5 virtio_net.ko

Signed-off-by: Brian Masney <[email protected]>

diff --git a/redhat/configs/common/automotive/generic/CONFIG_FAILOVER 
b/redhat/configs/common/automotive/generic/CONFIG_FAILOVER
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/automotive/generic/CONFIG_FAILOVER
@@ -0,0 +1 @@
+CONFIG_FAILOVER=y
diff --git a/redhat/configs/common/automotive/generic/CONFIG_NET_FAILOVER 
b/redhat/configs/common/automotive/generic/CONFIG_NET_FAILOVER
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/automotive/generic/CONFIG_NET_FAILOVER
@@ -0,0 +1 @@
+CONFIG_NET_FAILOVER=y
diff --git a/redhat/configs/common/automotive/generic/CONFIG_VIRTIO_NET 
b/redhat/configs/common/automotive/generic/CONFIG_VIRTIO_NET
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/automotive/generic/CONFIG_VIRTIO_NET
@@ -0,0 +1 @@
+CONFIG_VIRTIO_NET=y

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3623

-- 
_______________________________________________
kernel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to