[dpdk-dev] [PATCH 2/3] kni: minor opto

2015-06-16 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jay Rolette > Sent: Thursday, June 4, 2015 3:08 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 2/3] kni: minor opto > > No reason to check out many entries are in kni->rx_q p

[dpdk-dev] [PATCH 2/3] kni: minor opto

2015-06-15 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jay Rolette > Sent: Thursday, June 4, 2015 3:19 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 2/3] kni: minor opto The title is not so descriptive for the changes. The change itself

[dpdk-dev] [PATCH 2/3] kni: minor opto

2015-06-03 Thread Jay Rolette
No reason to check out many entries are in kni->rx_q prior to actually pulling them from the fifo. You can't dequeue more than are there anyway. Max entries to dequeue is either the max batch size or however much space is available on kni->free_q (lesser of the two) Signed-off-by: Jay Rolette

[dpdk-dev] [PATCH 2/3] kni: minor opto

2015-06-03 Thread Jay Rolette
No reason to check out many entries are in kni->rx_q prior to actually pulling them from the fifo. You can't dequeue more than are there anyway. Max entries to dequeue is either the max batch size or however much space is available on kni->free_q (lesser of the two) Signed-off-by: Jay Rolette