ethdev: introduce valid port helper

The code pattern is repeated so many times, it is a good
idea to introduce template like other code here uses.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
This commit is contained in:
Stephen Hemminger 2015-06-26 17:01:45 -07:00 committed by Thomas Monjalon
parent 6c6030cef8
commit 75acd57ad0

File diff suppressed because it is too large Load Diff