Re: [PATCH net-next v3 4/5] net-sysfs: add support for device-specific rx queue sysfs attributes
From: Michael Dalton <hidden>
Date: 2014-01-16 19:07:36
Also in:
virtualization
From: Michael Dalton <hidden>
Date: 2014-01-16 19:07:36
Also in:
virtualization
On Jan 16, 2014 at 10:57 AM, Ben Hutchings [off-list ref] wrote:
Why write a loop when you can do:
i = queue - dev->_rx;Good point, the loop approach was done in get_netdev_queue_index -- I agree your fix is faster and simpler. I'll fix in next patchset. Thanks! Best, Mike