summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlexander Lobakin2022-03-21 11:59:53 +0100
committerTony Nguyen2022-04-07 08:20:10 -0700
commit07a28842bb4f65e66aa297a031a57dec4828d6a0 (patch)
tree0e2a2c82149075ebbe7982ffed753e505daf1211 /scripts
parent1b699f81dba78c724f6f94b02f01e216b64bf88b (diff)
ice: switch: use convenience macros to declare dummy pkt templates
Declarations of dummy/template packet headers and offsets can be minified to improve readability and simplify adding new templates. Move all the repetitive constructions into two macros and let them do the name and type expansions. Linewrap removal is yet another positive side effect. Signed-off-by: Alexander Lobakin <alexandr.lobakin@intel.com> Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com> Tested-by: Marcin Szycik <marcin.szycik@linux.intel.com> Tested-by: Sandeep Penigalapati <sandeep.penigalapati@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions