When attempting to use vlan interface the correct GID
wasn't created due to incorrect ifp validation.
The problem was introduced in
3e142e0 ('ofed: Mechanically convert to IfAPI)
PR: 273043
Sponsored by: Intel Corporation
Signed-off-by: Bartosz Sobczak bartosz.sobczak@intel.com