commit | ff42bb9fe3091d996c763848afa3e57c2a780217 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Mon Oct 23 11:58:06 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Oct 24 17:38:37 2017 +0900 |
tree | 670bbb14097744ae5d4e0506073bd83c063e7ef0 | |
parent | a5dd4982879b29c7cb8fa1ba2bca9e1eb8c14dc2 [diff] |
nfp: bpf: add helper for emitting nops The need to emitting a few nops will become more common soon as we add stack and map support. Add a helper. This allows for code to be shorter but also may be handy for marking the nops with a "reason" to ease applying optimizations. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>