Multi Channel DMA Intel® FPGA IP for PCI Express Design Example User Guide
ID
683517
Date
10/28/2022
Public
A newer version of this document is available. Customers should click here to go to the newest version.
3.5.2.6.1. Build and Install Netdev Driver
3.5.2.6.2. Enable VFs if SRIOV is Supported
3.5.2.6.3. Configure the Number of Channels Supported on the Device
3.5.2.6.4. Configure the MTU Value
3.5.2.6.5. Configure the Device Communication
3.5.2.6.6. Configure Transmit Queue Selection Mechanism
3.5.2.6.7. Test Procedure by Using Name Space Environment
3.5.2.6.8. PIO Test
3.5.2.5.1.2. Set the Boot Parameters
Follow the below step to modify the default hugepages setting in grub files:
- Edit /etc/default/grub file.
- Append the highlighted parameters in GRUB_CMDLINE_LINUX line in /etc/default/grub file.
GRUB_CMDLINE_LINUX=" rd.lvm.lv=centos/root\ rd.lvm.lv=centos/swap rhgb default_hugepagesz=1G hugepagesz=1G\ hugepages=40 panic=1 iommu=pt
- For AMD system, MSIX mode add the following to the GRUB file iommu=soft.
- Append the highlighted parameters in GRUB_CMDLINE_LINUX line in /etc/default/grub file.
- Generate GRUB configuration files:
To check whether the boot system is legacy or EFI based, use the following file.
$ls -al /sys/firmware/efi
If this file is present, then the boot system is EFI based; otherwise, legacy:- If it is a legacy system, execute the following command:
$ grub2-mkconfig -o /boot/grub2/grub.cfg
- If it is an EFI based system, execute the following command:
$ grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg
- If it is a legacy system, execute the following command:
- Reboot the system.
- Verify the above changes:
$ cat /proc/cmdline