fm10k: allocate logical ports for flow director
authorChen Jing D(Mark) <jing.d.chen@intel.com>
Wed, 30 Dec 2015 08:35:35 +0000 (16:35 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 16 Mar 2016 16:49:16 +0000 (17:49 +0100)
commit0c46e3a9c98a4dc610f024981eb8cc4487b59765
tree654709d64721acc66b4158c069d36a1fa2cc57fc
parent7656a546c0609f3205558a5d48352c82607d38d3
fm10k: allocate logical ports for flow director

In fm10k, PF, VF, VMDQ or queues binding to flow director rule can
be considered as a logical port. Original implementation only creates
a single port for all cases. This change creates 128 logical ports;
first 64 for PF and VMDQ, second 64 for flow director.

Registers DGLORTDEC/DGLORTMAP define rules for how to classify packets
into different queues. Currently only PF and VMDQ cases are considered.
This change add rules for flow director.

Signed-off-by: Chen Jing D(Mark) <jing.d.chen@intel.com>
Acked-by: Shaopeng He <shaopeng.he@intel.com>
drivers/net/fm10k/fm10k_ethdev.c