Skip to content

Commit

Permalink
Improve UDP speed on PolarFire SoC
Browse files Browse the repository at this point in the history
Related to #54

Add `clk_ignore_unused` to the `CONFIG_CMDLINE` parameter in `mpfs_cmdline.cfg` and `mpfs_amp_cmdline.cfg` to prevent unused clocks from being disabled.

Add `ethtool` and `iperf3` to the `IMAGE_INSTALL` list in `mpfs-dev-cli.bb` to enable network interface configuration and network performance testing.

Add `CONFIG_NET_RX_BUSY_POLL=y` to the kernel configuration in `mpfs-linux.bb` to enable busy polling for network receive.

Signed-off-by: Vishwanath Martur <[email protected]>
  • Loading branch information
vishwamartur committed Nov 4, 2024
1 parent 3d26e8d commit a8ddec7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion meta-polarfire-soc-bsp/recipes-core/images/mpfs-dev-cli.bb
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ IMAGE_INSTALL = "\
dtc \
cmake \
kernel-modules kernel-dev \
ethtool \
iperf3 \
${CORE_IMAGE_EXTRA_INSTALL} \
"

Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
CONFIG_CMDLINE_BOOL=y
CONFIG_CMDLINE="earlycon=sbi root=/dev/mmcblk0p3 rootwait uio_pdrv_genirq.of_id=generic-uio"
CONFIG_CMDLINE="earlycon=sbi root=/dev/mmcblk0p3 rootwait uio_pdrv_genirq.of_id=generic-uio clk_ignore_unused"
3 changes: 3 additions & 0 deletions meta-polarfire-soc-bsp/recipes-kernel/linux/mpfs-linux.bb
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,6 @@ do_deploy:append() {

addtask deploy after do_install

KERNEL_FEATURES:append = " \
CONFIG_NET_RX_BUSY_POLL=y \
"

0 comments on commit a8ddec7

Please sign in to comment.