commit | 2e85d3884f25a0419a941676d1a7c25779884be2 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Sun Oct 08 21:04:16 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Oct 09 09:51:03 2017 -0700 |
tree | 22c2e3aa819caaee5375babef2b2743e996f7d47 | |
parent | 1c03e03f9b5278701d4a0e3444b2de3b9ddc244b [diff] |
nfp: bpf: byte swap the instructions Device expects the instructions in little endian. Make sure we byte swap on big endian hosts. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>