On 09.08.2017 15:29, Bodireddy, Bhanuprakash wrote:
> Hi Ilya,
>>>
>>> +/* Flush tx queues.
>>> + * This is done periodically to empty the intermediate queue in case
>>> +of
>>> + * fewer packets (< INTERIM_QUEUE_BURST_THRESHOLD) buffered in the
>> queue.
>>> + */
>>> +static int
>>> +netdev_dpdk_t
Hi Ilya,
>>
>> +/* Flush tx queues.
>> + * This is done periodically to empty the intermediate queue in case
>> +of
>> + * fewer packets (< INTERIM_QUEUE_BURST_THRESHOLD) buffered in the
>queue.
>> + */
>> +static int
>> +netdev_dpdk_txq_flush(struct netdev *netdev, int qid , bool
>> +concurrent_tx
Not a full review.
Comments inline.
> Add netdev_txq_flush(), that flush packets on a queue. This is needed
> to transmit packets on the intermediate queue.
>
> This commit also implements netdev_dpdk_txq_flush() function. If there
> are any packets waiting in the queue, they are transmitted inst
Add netdev_txq_flush(), that flush packets on a queue. This is needed
to transmit packets on the intermediate queue.
This commit also implements netdev_dpdk_txq_flush() function. If there
are any packets waiting in the queue, they are transmitted instantly
using the rte_eth_tx_burst function. In X