i40e: queue start and stop
authorChen Jing D(Mark) <jing.d.chen@intel.com>
Thu, 14 Aug 2014 07:35:01 +0000 (15:35 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 25 Aug 2014 14:07:50 +0000 (16:07 +0200)
commite406719449cb73b5ae6b9fb3b01ea67d9f62651f
treeddf519fab0e30da94585dcba614236538927fde9
parent5f4ec54f1d161dd9c9b0c9d45f22724b04e1cd73
i40e: queue start and stop

Add functions to start/stop specific RX/TX queue.
Support fields start_rx_per_q and start_tx_per_q.
In the meanwhile, change dev_start/stop functions to call per-queue functions.

Signed-off-by: Chen Jing D(Mark) <jing.d.chen@intel.com>
Reviewed-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Reviewed-by: Changchun Ouyang <changchun.ouyang@intel.com>
Reviewed-by: Huawei Xie <huawei.xie@intel.com>
[Thomas: reword comments and merge 2 patches]
lib/librte_pmd_i40e/i40e_ethdev.c
lib/librte_pmd_i40e/i40e_rxtx.c
lib/librte_pmd_i40e/i40e_rxtx.h