net/ice/base: add routine for tunnel port query
authorQi Zhang <qi.z.zhang@intel.com>
Thu, 29 Aug 2019 02:36:35 +0000 (10:36 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:53 +0000 (15:00 +0200)
commit56c0ab44051261d99a13849afec3a88dbd3c75de
treefc4215c37d8a728d991f4eecfa7e81fe588431b6
parentf636f2888cec5f933802a2d76d8ea79e1edbc2c1
net/ice/base: add routine for tunnel port query

Add ice_get_open_tunnel_port routine, which can be used to find
an open tunnel port for creating switch and flow director training
packets.

Signed-off-by: Dan Nowlin <dan.nowlin@intel.com>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>
drivers/net/ice/base/ice_flex_pipe.c
drivers/net/ice/base/ice_flex_pipe.h