commit | 2de1be1db25d3285f514920230790be20db92887 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Sun Oct 08 21:04:17 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Oct 09 09:51:03 2017 -0700 |
tree | 08850a7dcc34653c0dfc574cd3bd818016f2ff45 | |
parent | 2e85d3884f25a0419a941676d1a7c25779884be2 [diff] |
nfp: bpf: pass dst register to ld_field instruction ld_field instruction is a bit special because the encoding uses two source registers and one of them becomes the output. We do need to pass the dst register to our encoding helpers though, otherwise the "write both banks" flag will not be observed. 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>