net/ice/base: remove unused ptype field in PTT definition
authorQi Zhang <qi.z.zhang@intel.com>
Tue, 13 Apr 2021 05:06:30 +0000 (13:06 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Tue, 13 Apr 2021 14:25:26 +0000 (16:25 +0200)
commit40fb79650e8e299b213a95f716e3074ef1faff4d
tree22eefb34eb744ad792c0ab67546cfbdea3add30f
parenta8b49eab876490ea3f353bc2a3256eb00b23aa59
net/ice/base: remove unused ptype field in PTT definition

Remove the unused ptype entry, and use the gcc extension for
ranged initializers in arrays for Linux, and explicitly target
each table entry by index when initializing under Linux.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@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_lan_tx_rx.h