Searched hist:b3f868df (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_asm.h | b3f868df Sun Oct 08 23:04:05 CDT 2017 Jakub Kicinski <jakub.kicinski@netronome.com> nfp: bpf: use the power of sparse to check we encode registers right
Define a new __bitwise type for software representation of registers. This will allow us to catch incorrect parameter types using sparse.
Accessors we define also allow us to return correct enum type and therefore ensure all switches handle all register types.
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> b3f868df Sun Oct 08 23:04:05 CDT 2017 Jakub Kicinski <jakub.kicinski@netronome.com> nfp: bpf: use the power of sparse to check we encode registers right Define a new __bitwise type for software representation of registers. This will allow us to catch incorrect parameter types using sparse. Accessors we define also allow us to return correct enum type and therefore ensure all switches handle all register types. 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>
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | main.h | b3f868df Sun Oct 08 23:04:05 CDT 2017 Jakub Kicinski <jakub.kicinski@netronome.com> nfp: bpf: use the power of sparse to check we encode registers right
Define a new __bitwise type for software representation of registers. This will allow us to catch incorrect parameter types using sparse.
Accessors we define also allow us to return correct enum type and therefore ensure all switches handle all register types.
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> b3f868df Sun Oct 08 23:04:05 CDT 2017 Jakub Kicinski <jakub.kicinski@netronome.com> nfp: bpf: use the power of sparse to check we encode registers right Define a new __bitwise type for software representation of registers. This will allow us to catch incorrect parameter types using sparse. Accessors we define also allow us to return correct enum type and therefore ensure all switches handle all register types. 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>
|
H A D | jit.c | b3f868df Sun Oct 08 23:04:05 CDT 2017 Jakub Kicinski <jakub.kicinski@netronome.com> nfp: bpf: use the power of sparse to check we encode registers right
Define a new __bitwise type for software representation of registers. This will allow us to catch incorrect parameter types using sparse.
Accessors we define also allow us to return correct enum type and therefore ensure all switches handle all register types.
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> b3f868df Sun Oct 08 23:04:05 CDT 2017 Jakub Kicinski <jakub.kicinski@netronome.com> nfp: bpf: use the power of sparse to check we encode registers right Define a new __bitwise type for software representation of registers. This will allow us to catch incorrect parameter types using sparse. Accessors we define also allow us to return correct enum type and therefore ensure all switches handle all register types. 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>
|