From: Jingjing Wu Date: Thu, 26 Mar 2015 04:53:21 +0000 (+0800) Subject: igb: fix flex filter check for unsupported 82576 X-Git-Tag: spdx-start~9385 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=8f6b95f6ac682492bc08a8afae87ca3f2a4946d7;p=dpdk.git igb: fix flex filter check for unsupported 82576 Flex filter is currently not supported for NIC 82576. Only i350 and 82580 support it. So The MAC_TYPE_FILTER_SUP_EXT is used to check whether the MAC type is i350 or 82580. Fixes: 231d43909a31 ("igb: migrate flex filter to new API") Signed-off-by: Jingjing Wu Acked-by: Marvin Liu --- diff --git a/lib/librte_pmd_e1000/igb_ethdev.c b/lib/librte_pmd_e1000/igb_ethdev.c index 49843c1b3b..79ad267246 100644 --- a/lib/librte_pmd_e1000/igb_ethdev.c +++ b/lib/librte_pmd_e1000/igb_ethdev.c @@ -2908,7 +2908,7 @@ eth_igb_flex_filter_handle(struct rte_eth_dev *dev, struct rte_eth_flex_filter *filter; int ret = 0; - MAC_TYPE_FILTER_SUP(hw->mac.type); + MAC_TYPE_FILTER_SUP_EXT(hw->mac.type); if (filter_op == RTE_ETH_FILTER_NOP) return ret;