commit | 62d3f60b4d065c09a3ccb9e862e71ae870c2d27b | [log] [tgz] |
---|---|---|
author | Pieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com> | Fri Oct 20 19:49:52 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sun Oct 22 03:09:32 2017 +0100 |
tree | 158ed57202d29ae5bd195c1bd8d7e05e81fd0ff7 | |
parent | 0cea8e28df721f929ee3e1fa32489c012100f5a1 [diff] |
nfp: use struct fields for 8 bit-wide access Use direct access struct fields rather than PREP_FIELD() macros to manipulate the jump ID and length, both of which are exactly 8-bits wide. This simplifies the code somewhat. Signed-off-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: Pieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com> Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>