net/i40e/base: fix error with mirror rule ID 0
authorHelin Zhang <helin.zhang@intel.com>
Tue, 24 May 2016 06:23:01 +0000 (14:23 +0800)
committerBruce Richardson <bruce.richardson@intel.com>
Mon, 20 Jun 2016 15:21:50 +0000 (17:21 +0200)
commit7465e2f69d6a7dc49eb5da11867e9ccb2e1854bd
treeb97777dbd401ddc2101e35692c5f4ab27a760700
parent36d41db71fda4f78af47e4bfa513df3ebf355bea
net/i40e/base: fix error with mirror rule ID 0

Remove a problematic mirror rule ID check. The check
returned an error if the mirror rule ID is 0, which is
a valid value.

Fixes: 0bf2dbbe077c ("i40e/base: support mirroring rules")

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/i40e/base/i40e_common.c