]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
nfp: bpf: require ETH table
authorJakub Kicinski <jakub.kicinski@netronome.com>
Thu, 8 Feb 2018 04:55:22 +0000 (20:55 -0800)
committerSeth Forshee <seth.forshee@canonical.com>
Wed, 28 Mar 2018 17:15:24 +0000 (12:15 -0500)
commit5668888ca3466625cd697bb66b003358be4029fe
treef3c751d86578b362546ba3b7762adeb702b7b41f
parent1993fad50da7a923c84446f851d90ef9af18126b
nfp: bpf: require ETH table

BugLink: http://bugs.launchpad.net/bugs/1752828
Upcoming changes will require all netdevs supporting TC offloads
to have a full struct nfp_port.  Require those for BPF offload.
The operation without management FW reporting information about
Ethernet ports is something we only support for very old and very
basic NIC firmwares anyway.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Tested-by: Pieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(back-ported from commit e3ac6c0737e2b17bf11210e3fd66565e9b818b87)
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/net/ethernet/netronome/nfp/bpf/main.c