net/ixgbe: fix adding a mirror rule
authorWei Dai <wei.dai@intel.com>
Tue, 5 Sep 2017 09:16:57 +0000 (17:16 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:48 +0000 (02:49 +0200)
commitc2252db7f9a09bfca03f59fec2dab09e2a4d0d6b
treedbf4cf4f8d3305a90d5aa7a4a116b71f88bbb61c
parentd84fb5eba1dac6a8d8b5506fa38e555c2c8d7e91
net/ixgbe: fix adding a mirror rule

mirror rule_type can be a bit OR result of multiple mirror type of
a rule.

Fixes: 7ba29a76b196 ("ethdev: rename and extend the mirror type")
Cc: stable@dpdk.org
Signed-off-by: Wei Dai <wei.dai@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c