diff options
author | Charles McLachlan <cmclachlan@solarflare.com> | 2019-10-31 10:23:37 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-31 14:14:53 -0700 |
commit | e45a4fed9d006480a5cc2312d5d4f7988a3a655e (patch) | |
tree | 4fb6983b4bd4a86475bb350e1a46478dac2af84d /include | |
parent | sfc: perform XDP processing on received packets (diff) | |
download | linux-dev-e45a4fed9d006480a5cc2312d5d4f7988a3a655e.tar.xz linux-dev-e45a4fed9d006480a5cc2312d5d4f7988a3a655e.zip |
sfc: Enable setting of xdp_prog
Provide an ndo_bpf function to efx_netdev_ops that allows setting and
querying of xdp programs on an interface.
Also check that the MTU size isn't too big when setting a program or
when the MTU is explicitly set.
Signed-off-by: Charles McLachlan <cmclachlan@solarflare.com>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions