# Configure

Tab QCS6490/QCS5430
Tab QCS9100/QCS9075

- *class* tabincludedirective

    - ## Configure link speed

You can configure link speed from the supported link modes in the `ethtool` command output.

To configure link speed, run the following command.

ethtool -s [device_name] autoneg [on/off] speed [10/100/1000/2500] duplex [full]
    Copy to clipboard

For example:

ethtool -s enP1p5s0f0 autoneg on speed 2500 duplex full
    Copy to clipboard

## Configure energy efficient Ethernet

You can control EEE by performing certain functions such as verify the
status of EEE and enabling or disabling EEE.

To configure EEE, do the following:

1. To verify the status of EEE, run the following command.

ethtool --show-eee [interface]
        Copy to clipboard

    For example:

ethtool --show-eee enP1p5s0f0
        Copy to clipboard

    Sample output:

EEE settings for enP1p5s0f0:

EEE status: disabled

Tx LPI: disabled

Supported EEE link modes:  1000baseT/Full

10000baseT/Full

1000baseKX/Full

10000baseKX4/Full

10000baseKR/Full

Advertised EEE link modes:  Not reported

Link partner advertised EEE link modes:  Not reported

2. To enable EEE, run the following command.

ethtool --set-eee [interface] eee on
        Copy to clipboard

    For example:

ethtool --set-eee enP1p5s0f0 eee on
        Copy to clipboard

    Sample output:

EEE settings for enP1p5s0f0:

EEE status: enabled - inactive

Tx LPI: 17 (us)

Supported EEE link modes:  100baseT/Full

1000baseT/Full

Advertised EEE link modes: 100baseT/Full

1000baseT/Full

Link partner advertised EEE link modes: Not reported

3. To disable EEE, run the following command.

ethtool --set-eee [interface] eee off
        Copy to clipboard

    For example:

ethtool --set-eee enP1p5s0f0 eee off
        Copy to clipboard

    Sample output:

EEE settings for enP1p5s0f0:

EEE status: disabled

Tx LPI: 17 (us)

Supported EEE link modes:  100baseT/Full

1000baseT/Full

Advertised EEE link modes: 100baseT/Full

1000baseT/Full

Link partner advertised EEE link modes: Not reported

- *class* tabincludedirective

    - ## Configure link speed

Note

This information is not applicable for DPDK.

You can configure link speed from the supported link modes in the
`ethtool` command output.

To configure link speed, run the following command.

ethtool -s [device_name] autoneg [on/off] speed [10/100/1000/2500] duplex [full]
    Copy to clipboard

For example:

ethtool -s eth1 autoneg on speed 2500 duplex full
    Copy to clipboard

## Enable DPDK on IQ-9 Beta EVK

Note

DPDK is supported on QCS9100 and works only with [Intel® Ethernet Converged Network Adapter X550-T2](https://www.intel.com/content/www/us/en/products/sku/88209/intel-ethernet-converged-network-adapter-x550t2/specifications.html).

To enable DPDK on IQ-9 Beta EVK, do the following:

1. To enable unsafe interrupts on the host, run the following command.

> 
> 
> echo Y > /sys/module/vfio_iommu_type1/parameters/allow_unsafe_interrupts
>         Copy to clipboard
2. To enable SRIOV, run the following command.

> 
> 
> echo 1 |  tee /sys/module/vfio_pci/parameters/enable_sriov
>         Copy to clipboard
3. To create a VF for Intel NIC, perform the following steps:

> 
> 
> 1. To check for ports, run the following command.
> 
> 
> 
> > 
> > 
> > lspci
> >             Copy to clipboard
> > 
> > 
> > Sample output:
> > 
> > 
> > 0000:00:00.0 PCI bridge: Qualcomm Device 0115
> > 
> > 
> > 0000:01:00.0 Ethernet controller: Intel Corporation Ethernet Controller 10G X550T (rev 01)
> > 
> > 
> > 0000:01:00.1 Ethernet controller: Intel Corporation Ethernet Controller 10G X550T (rev 01)
>     2. To create a VF on the physical device, run the following command.
> 
> 
> 
> > 
> > 
> > echo 1 > /sys/bus/pci/devices/0000\:01\:00.1/sriov_numvfs
> >             Copy to clipboard
>     3. To verify whether a VF is created, run the following command.
> 
> 
> 
> > 
> > 
> > lspci
> >             Copy to clipboard
> > 
> > 
> > Sample output:
> > 
> > 
> > 0000:00:00.0 PCI bridge: Qualcomm Device 0115
> > 
> > 
> > 0000:01:00.0 Ethernet controller: Intel Corporation Ethernet Controller 10G X550T (rev 01)
> > 
> > 
> > 0000:01:00.1 Ethernet controller: Intel Corporation Ethernet Controller 10G X550T (rev 01)
> > 
> > 
> > 0000:02:10.1 Ethernet controller: Intel Corporation X550 Virtual Function
4. To bind the VF to `vfio-pci` driver, run the following commands:

> 
> 
> root@qcs9100-ride-sx:/9p# VF=02:10.1
>         echo "0000:$VF" > /sys/bus/pci/drivers/ixgbevf/unbind
>         echo vfio-pci > /sys/bus/pci/devices/"0000:$VF"/driver_override
>         echo "0000:$VF" > /sys/bus/pci/drivers/vfio-pci/bind
>         Copy to clipboard
5. To enable Huge pages, run the following command.

> 
> 
> echo 512 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
>         Copy to clipboard

Related information:

> 
> 
> - [DPDK](https://docs.qualcomm.com/doc/80-70017-26/topic/features.html#dpdk)
> - [Run DPDK testpmd](https://docs.qualcomm.com/doc/80-70017-26/topic/tools-qcs9075.html#run-dpdk-testpmd)
> - [DPDK logging and debugging](https://docs.qualcomm.com/doc/80-70017-26/topic/dpdk-logging-and-debugging.html#dpdk-logging-and-debugging)

Last Published: Dec 24, 2024

[Previous Topic
Bring up](https://docs.qualcomm.com/bundle/publicresource/80-70017-26/topics/bring_up.md) [Next Topic
Debug](https://docs.qualcomm.com/bundle/publicresource/80-70017-26/topics/debug.md)