Re: [PATCH net-next 0/4] xps_flows: XPS flow steering when there is no socket
From: Tom Herbert <hidden>
Date: 2016-09-01 21:26:02
On Thu, Sep 1, 2016 at 12:25 PM, Florian Fainelli [off-list ref] wrote:
On 08/31/2016 05:10 PM, Tom Herbert wrote:quoted
This patch set introduces transmit flow steering for socketless packets. The idea is that we record the transmit queues in a flow table that is indexed by skbuff hash. The flow table entries have two values: the queue_index and the head cnt of packets from the TX queue. We only allow a queue to change for a flow if the tail cnt in the TX queue advances beyond the recorded head cnt. That is the condition that should indicate that all outstanding packets for the flow have completed transmission so the queue can change. Tracking the inflight queue is performed as part of DQL. Two fields are added to the dql structure: num_enqueue_ops and num_completed_ops. num_enqueue_ops incremented in dql_queued and num_completed_ops is incremented in dql_completed by the number of operations completed (an new argument to the function). This patch set creates /sys/class/net/eth*/xps_dev_flow_table_cnt which number of entries in the XPS flow table.If you respin, do you mind updating the sysfs documentation at Documentation/ABI/testing/sysfs-class-net-queues with the new entries you are adding? Thanks!
There are no per-queue sysfs entries being added. Tom
-- Florian