9de21005e2
When 'ionic_cmb' is set to '1', queue memory will be allocated from the device's onboard memory (Controller Memory Buffer). In some configurations, this will dramatically reduce packet latency and increase PPS. Add the WC_ACTIVATE flag to the PCI driver flags. Write combining must be enabled to achieve the maximum PPS. When the queue is in the CMB, descriptors cannot be prefetched. Signed-off-by: Andrew Boyer <andrew.boyer@amd.com> Signed-off-by: Neel Patel <neel.patel@amd.com>
53 lines
1.7 KiB
ReStructuredText
53 lines
1.7 KiB
ReStructuredText
.. SPDX-License-Identifier: BSD-3-Clause
|
|
Copyright 2018-2022 Advanced Micro Devices, Inc.
|
|
|
|
IONIC Driver
|
|
============
|
|
|
|
The ionic driver provides support for AMD Pensando server adapters.
|
|
It currently supports the below models:
|
|
|
|
- DSC-25 dual-port 25G Distributed Services Card `(pdf) <https://pensandoio.secure.force.com/DownloadFile?id=a0L4T000004IKurUAG>`__
|
|
- DSC-100 dual-port 100G Distributed Services Card `(pdf) <https://pensandoio.secure.force.com/DownloadFile?id=a0L4T000004IKuwUAG>`__
|
|
- DSC-200 dual-port 200G Distributed Services Card `(pdf) <https://www.amd.com/system/files/documents/pensando-dsc-200-product-brief.pdf>`__
|
|
|
|
Please visit the AMD Pensando web site at https://www.amd.com/en/accelerators/pensando for more information.
|
|
|
|
Identifying the Adapter
|
|
-----------------------
|
|
|
|
To determine if one or more AMD Pensando DSC Ethernet devices are installed
|
|
on the host, check for the PCI devices:
|
|
|
|
.. code-block:: console
|
|
|
|
lspci -d 1dd8:
|
|
b5:00.0 Ethernet controller: Device 1dd8:1002
|
|
b6:00.0 Ethernet controller: Device 1dd8:1002
|
|
|
|
Firmware Support
|
|
----------------
|
|
|
|
The ionic PMD requires firmware which supports 16 segment transmit SGLs.
|
|
This support was added prior to version 1.0. For help upgrading older versions,
|
|
please contact AMD Pensando support.
|
|
|
|
Runtime Configuration
|
|
---------------------
|
|
|
|
- ``Queue in CMB support`` (default ``0``)
|
|
|
|
Queue memory can be allocated from the Controller Memory Buffer (CMB) using
|
|
the ``ionic_cmb`` ``devargs`` parameter.
|
|
|
|
For example::
|
|
|
|
-a 0000:b5:00.0,ionic_cmb=1
|
|
|
|
Building DPDK
|
|
-------------
|
|
|
|
The ionic PMD supports UIO and VFIO. Please refer to the
|
|
:ref:`DPDK documentation that comes with the DPDK suite <linux_gsg>`
|
|
for instructions on how to build DPDK.
|