X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=doc%2Fguides%2Fprog_guide%2Fevent_ethernet_rx_adapter.rst;h=c01e5a9666e9149fe21f5bbc4f732aebf31a0c2f;hb=89df2225c92c882ad8d6883be6efd507e4e77a54;hp=5eefef35525472969e959fb921ee01134b01b0de;hpb=3c838062b91f488650d71c280e1c31de74ffd429;p=dpdk.git diff --git a/doc/guides/prog_guide/event_ethernet_rx_adapter.rst b/doc/guides/prog_guide/event_ethernet_rx_adapter.rst index 5eefef3552..c01e5a9666 100644 --- a/doc/guides/prog_guide/event_ethernet_rx_adapter.rst +++ b/doc/guides/prog_guide/event_ethernet_rx_adapter.rst @@ -224,3 +224,22 @@ A loop processing ``rte_event_vector`` containing mbufs is shown below. case ... ... } + +Rx event vectorization for SW Rx adapter +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +For SW based event vectorization, i.e., when the +``RTE_EVENT_ETH_RX_ADAPTER_CAP_INTERNAL_PORT`` is not set in the adapter's +capabilities flags for a particular ethernet device, the service function +creates a single event vector flow for all the mbufs arriving on the given +Rx queue. +The 20-bit event flow identifier is set to 12-bits of Rx queue identifier +and 8-bits of ethernet device identifier. +Flow identifier is formatted as follows: + +.. code-block:: console + + 19 12,11 0 + +---------+--------------+ + | port_id | queue_id | + +---------+--------------+