X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=doc%2Fguides%2Fvdpadevs%2Fmlx5.rst;h=2c7a550afcd24dff66a80ede1c32f3634921699c;hb=f5057be340e44f3edc0fe90fa875eb89a4c49b4f;hp=dd377afda5e48f59f3eed9adcae434e5d52d4fd2;hpb=ee76bddc768c81b342d3901c84206421113544ca;p=dpdk.git diff --git a/doc/guides/vdpadevs/mlx5.rst b/doc/guides/vdpadevs/mlx5.rst index dd377afda5..2c7a550afc 100644 --- a/doc/guides/vdpadevs/mlx5.rst +++ b/doc/guides/vdpadevs/mlx5.rst @@ -51,6 +51,7 @@ Supported NICs -------------- * Mellanox\ |reg| ConnectX\ |reg|-6 200G MCX654106A-HCAT (2x200G) +* Mellanox\ |reg| ConnectX\ |reg|-6 Dx EN 25G MCX621102AN-ADAT (2x25G) * Mellanox\ |reg| ConnectX\ |reg|-6 Dx EN 100G MCX623106AN-CDAT (2x100G) * Mellanox\ |reg| ConnectX\ |reg|-6 Dx EN 200G MCX623105AN-VDAT (1x200G) * Mellanox\ |reg| BlueField SmartNIC 25G MBF1M332A-ASCAT (2x25G) @@ -106,8 +107,40 @@ Run-time configuration - **ethtool** operations on related kernel interfaces also affect the PMD. +Driver options +^^^^^^^^^^^^^^ + - ``class`` parameter [string] Select the class of the driver that should probe the device. `vdpa` for the mlx5 vDPA driver. +- ``event_mode`` parameter [int] + + - 0, Completion queue scheduling will be managed by a timer thread which + automatically adjusts its delays to the coming traffic rate. + + - 1, Completion queue scheduling will be managed by a timer thread with fixed + delay time. + + - 2, Completion queue scheduling will be managed by interrupts. Each CQ burst + arms the CQ in order to get an interrupt event in the next traffic burst. + + - Default mode is 0. + +- ``event_us`` parameter [int] + + Per mode micro-seconds parameter - relevant only for event mode 0 and 1: + + - 0, A nonzero value to set timer step in micro-seconds. The timer thread + dynamic delay change steps according to this value. Default value is 1us. + + - 1, A nonzero value to set fixed timer delay in micro-seconds. Default value + is 100us. + +- ``no_traffic_time`` parameter [int] + + A nonzero value defines the traffic off time, in seconds, that moves the + driver to no-traffic mode. In this mode the timer events are stopped and + interrupts are configured to the device in order to notify traffic for the + driver. Default value is 2s.