Skip to content

Commit

Permalink
x86: increase default swiotlb size to 64MB
Browse files Browse the repository at this point in the history
Since 802.11be is available, increased default swiotlb size from
32 to 64MB to support up to 2x Qualcomm WiFi 6E/7 network cards.
  • Loading branch information
aiamadeus committed Nov 29, 2023
1 parent 91bce87 commit 1c5492a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions target/linux/x86/base-files/etc/board.d/02_network
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@
board_config_update

case "$(board_name)" in
pc-engines-apu1|pc-engines-apu2|pc-engines-apu3)
ucidef_set_interfaces_lan_wan "eth1 eth2" "eth0"
;;
roqos-roqos-core-rc10)
ucidef_set_interfaces_lan_wan "eth1" "eth0"
;;
brounion-r86s)
ucidef_set_interfaces_lan_wan "eth1 eth2" "eth0"
;;
cwwk-cw-mbx-ad12)
ucidef_set_interfaces_lan_wan "eth1 eth2 eth3 eth4 eth5" "eth0"
;;
ikoolcore-r1)
ikoolcore-r1|pear-inc-pearbox-1)
ucidef_set_interfaces_lan_wan "eth1 eth2 eth3" "eth0"
;;
pc-engines-apu1|pc-engines-apu2|pc-engines-apu3)
ucidef_set_interfaces_lan_wan "eth1 eth2" "eth0"
;;
roqos-roqos-core-rc10)
ucidef_set_interfaces_lan_wan "eth1" "eth0"
;;
sophos-sg-105|sophos-xg-105)
ucidef_set_interfaces_lan_wan "eth0 eth2 eth3" "eth1"
;;
Expand Down
2 changes: 1 addition & 1 deletion target/linux/x86/image/grub-efi.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set timeout="@TIMEOUT@"
search -l kernel -s root

menuentry "@TITLE@" {
linux /boot/vmlinuz @GPT_ROOTPART@ @CMDLINE@ noinitrd
linux /boot/vmlinuz @GPT_ROOTPART@ @CMDLINE@ noinitrd swiotlb=65536
}
menuentry "@TITLE@ (failsafe)" {
linux /boot/vmlinuz failsafe=true @GPT_ROOTPART@ @CMDLINE@ noinitrd
Expand Down
2 changes: 1 addition & 1 deletion target/linux/x86/image/grub-pc.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set timeout="@TIMEOUT@"
set root='(hd0,msdos1)'

menuentry "@TITLE@" {
linux /boot/vmlinuz @ROOTPART@ @CMDLINE@ noinitrd
linux /boot/vmlinuz @ROOTPART@ @CMDLINE@ noinitrd swiotlb=65536
}
menuentry "@TITLE@ (failsafe)" {
linux /boot/vmlinuz failsafe=true @ROOTPART@ @CMDLINE@ noinitrd
Expand Down

0 comments on commit 1c5492a

Please sign in to comment.