ethdev: define default item masks in flow API
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>
Tue, 10 Jan 2017 13:08:30 +0000 (14:08 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 11 Jan 2017 15:54:52 +0000 (16:54 +0100)
commit6de5c0f1302cc9e310a47e3488d7d3f1a4602b64
tree66b0e4980ab7a66e1548fef186c5a1f3b25a9d73
parentf4e7c8bc84641fcf32b069dce80c5443b3faf0b6
ethdev: define default item masks in flow API

Leaving default pattern item mask values up for interpretation by PMDs is
an undefined behavior that applications might find difficult to use in the
wild. It also needlessly complicates PMD implementation.

This commit addresses this by defining consistent default masks for each
item type.

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
doc/guides/prog_guide/rte_flow.rst
lib/librte_ether/rte_flow.h