diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2018-10-01 18:30:34 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-10-02 14:39:59 +0200 |
commit | 0c9864c05f34b0b29109dc5f94707e5943fcfda3 (patch) | |
tree | cf6d33223aaf040bbca061a7b37ca2e0469811ea /drivers/net/ethernet/ezchip | |
parent | 9bbdd41b8a458d8a0bf1d9096bc1e704c7b46a00 (diff) |
nfp: bpf: allow control message sizing for map ops
In current ABI the size of the messages carrying map elements was
statically defined to at most 16 words of key and 16 words of value
(NFP word is 4 bytes). We should not make this assumption and use
the max key and value sizes from the BPF capability instead.
To make sure old kernels don't get surprised with larger (or smaller)
messages bump the FW ABI version to 3 when key/value size is different
than 16 words.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'drivers/net/ethernet/ezchip')
0 files changed, 0 insertions, 0 deletions