net/ice/base: move some macros
authorQi Zhang <qi.z.zhang@intel.com>
Mon, 30 Mar 2020 11:45:34 +0000 (19:45 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:05 +0000 (13:57 +0200)
commit5eefa9ad7d3b71830e6b041d8d039ac6578c4094
treef6ae004266317e4828e14bafc70dbf38dfe1e1df
parente7749061b36ea88524afb3b33fd305899b300e5b
net/ice/base: move some macros

Move some macro from ice_switch.c to ice_switch.h. Currently this
is only required by kernel driver, DPDK just to sync the code.

Signed-off-by: Xiao Zhang <xiao.zhang@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: Qiming Yang <qiming.yang@intel.com>
drivers/net/ice/base/ice_switch.c
drivers/net/ice/base/ice_switch.h