net/igb: support MAC filters for i210 and i211 chips
authorMarkus Theil <markus.theil@tu-ilmenau.de>
Wed, 17 May 2017 18:06:28 +0000 (20:06 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 12 Jun 2017 09:41:25 +0000 (10:41 +0100)
i210 and i211 also support unicast MAC filters.
The patch was tested on i210 based hw, for i211
support was looked up in the specs.

Signed-off-by: Markus Theil <markus.theil@tu-ilmenau.de>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/e1000/igb_ethdev.c

index 65fa276..74b5974 100644 (file)
@@ -3551,7 +3551,8 @@ eth_igb_rss_reta_query(struct rte_eth_dev *dev,
 
 #define MAC_TYPE_FILTER_SUP(type)    do {\
        if ((type) != e1000_82580 && (type) != e1000_i350 &&\
-               (type) != e1000_82576)\
+               (type) != e1000_82576 && (type) != e1000_i210 &&\
+               (type) != e1000_i211)\
                return -ENOTSUP;\
 } while (0)