ethdev: fix flow expansion matching types
authorNelio Laranjeiro <nelio.laranjeiro@6wind.com>
Wed, 11 Jul 2018 06:49:35 +0000 (08:49 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 12 Jul 2018 21:23:56 +0000 (23:23 +0200)
commita3783ebf7bc35cf13622e09abf12195ec34f7631
tree3931dd8ba301404b7bf71c6a7abaa2724743f936
parent8b94494d80e852a452dec37cd336fb2c38dac6a4
ethdev: fix flow expansion matching types

Node RSS types are generally covering more RSS kind than the user is
requesting, it should accept to expand even if only a single bit is
remains after masking.  Setting the correct RSS kind for the rule
remains the driver job.

Fixes: 4ed05fcd441b ("ethdev: add flow API to expand RSS flows")

Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
lib/librte_ethdev/rte_flow.c