nfp: bpf: zero extend 4 byte context loads
authorJakub Kicinski <jakub.kicinski@netronome.com>
Wed, 28 Sep 2016 22:47:37 +0000 (23:47 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Sep 2016 06:10:15 +0000 (02:10 -0400)
commit6cd80b55471515e0102760b59034ded000c35a09
treeb9c05ea1d830574a6f1cab1ec30e314c8e81f2cf
parent5038056e6bd45788235e97e3bcfc43f96c52ca84
nfp: bpf: zero extend 4 byte context loads

Set upper 32 bits of destination register to zeros after
load from the context structure.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_bpf_jit.c