X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=doc%2Fguides%2Fprog_guide%2Fevent_ethernet_rx_adapter.rst;h=7bc559c8a2f6d90adf47723ee308daac4283525d;hb=8d53e9f3c6001dcb2865f6e894da5b54e1418f88;hp=0166bb45dee06192b8b5fb2fb02b5b78788104f6;hpb=e2bea7436061ca2e7e14bfcfdc5870f2555c3965;p=deb_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 0166bb45..7bc559c8 100644 --- a/doc/guides/prog_guide/event_ethernet_rx_adapter.rst +++ b/doc/guides/prog_guide/event_ethernet_rx_adapter.rst @@ -157,7 +157,7 @@ The servicing_weight member of struct rte_event_eth_rx_adapter_queue_conf is applicable when the adapter uses a service core function. The application has to enable Rx queue interrupts when configuring the ethernet device using the ``rte_eth_dev_configure()`` function and then use a servicing_weight -of zero when addding the Rx queue to the adapter. +of zero when adding the Rx queue to the adapter. The adapter creates a thread blocked on the interrupt, on an interrupt this thread enqueues the port id and the queue id to a ring buffer. The adapter @@ -175,9 +175,9 @@ Rx Callback for SW Rx Adapter For SW based packet transfers, 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 -temporarily enqueues mbufs to an event buffer before batch enqueueing these +temporarily enqueues mbufs to an event buffer before batch enqueuing these to the event device. If the buffer fills up, the service function stops -dequeueing packets from the ethernet device. The application may want to +dequeuing packets from the ethernet device. The application may want to monitor the buffer fill level and instruct the service function to selectively enqueue packets to the event device. The application may also use some other criteria to decide which packets should enter the event device even when