i40e: rework PF interrupt cause processing
authorHelin Zhang <helin.zhang@intel.com>
Wed, 17 Sep 2014 07:54:20 +0000 (15:54 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 3 Nov 2014 16:59:18 +0000 (17:59 +0100)
commitad4631322d3bac759e88b7a4a1bfc7149adc3d0d
tree32847baae0a1013b94d701e238d3b9e5248616f8
parent3fd0200a35304d6d7cda3f657072f620e4063315
i40e: rework PF interrupt cause processing

To get the code cleaner and more straightforward, a macro
is defined for all interrupt cause enable flags. Two more
causes are enabled, and all the interrupt causes for
reporting any errors are compiled conditionally, as they
are for debug only.

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Reviewed-by: Jing Chen <jing.d.chen@intel.com>
Reviewed-by: Jijiang Liu <jijiang.liu@intel.com>
lib/librte_pmd_i40e/i40e_ethdev.c