net/i40e: fix ethertype filter on X722
authorJeff Guo <jia.guo@intel.com>
Tue, 7 Feb 2017 03:52:19 +0000 (11:52 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 10 Feb 2017 11:25:49 +0000 (12:25 +0100)
commite06bad05dc125f3fd610e3ee09d03c844edc92cf
treeda877da51a08aa42412ec654ba5708d3dc96ac50
parent45f4dd1adcf021b6e697c8ca92c988a80e91677d
net/i40e: fix ethertype filter on X722

The GL_SWR_PRI_JOIN_MAP registers are effective on filters, changing
the register's default value will fail the ethertype filter.

The GL_SWR_PRI_JOIN_MAP values are different for each NIC, and current
X722 register values are wrong.

Fix X722 ethertype filter by setting registers to X722 default NVM
values.

Fixes: 92fbf2cbdff4 ("i40e: support X722 and its A0 hardware")
Cc: stable@dpdk.org
Signed-off-by: Jeff Guo <jia.guo@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
drivers/net/i40e/i40e_ethdev.c