net/ixgbe: fix mirror rule index overflow
authorQi Zhang <qi.z.zhang@intel.com>
Fri, 21 Jul 2017 08:56:37 +0000 (16:56 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 31 Jul 2017 17:58:41 +0000 (19:58 +0200)
commit9b2df1083aab703e73f6d76e8f41afacb463afe9
tree90e2a54ed4c91e251d4f959a8bbcfa02cc55b6c8
parent4cddfcb71b1edeed845aff0b19c9ea73622f79c6
net/ixgbe: fix mirror rule index overflow

Mirror rule id should not exceed the boundary defined by
IXGBE_MAX_MIRROR_RULES.

Fixes: fe3a45fd4104 ("ixgbe: add VMDq support")
Cc: stable@dpdk.org
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c