net/i40e: add packet type translation for X722
authorJeff Guo <jia.guo@intel.com>
Wed, 7 Sep 2016 09:38:40 +0000 (05:38 -0400)
committerBruce Richardson <bruce.richardson@intel.com>
Fri, 30 Sep 2016 10:27:18 +0000 (12:27 +0200)
commit8c5cb3c11513dc47b81ee2ee7f6153dff46ec5a1
tree576833616506106879e90d3f70266033b84d2bcb
parent1ab43b616052e750835e4f60405105b0322b91a9
net/i40e: add packet type translation for X722

To make the PCTYPE in x722 compatible with original PCTYPE in
flow director (FD) filters, the PCTYPE in the FD programming
descriptor needs to be translated into a different PCTYPE using
GLQF_FD_PCTYPE table.
Translation needs to be done before the FD filter is programmed.

Signed-off-by: Jeff Guo <jia.guo@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/i40e_fdir.c