summaryrefslogtreecommitdiff
path: root/drivers/net/netdevsim/bpf.c
AgeCommit message (Expand)AuthorFilesLines
2023-11-24netdevsim: Don't accept device bound programsStanislav Fomichev1-2/+2
2023-01-23bpf: Introduce device-bound XDP programsStanislav Fomichev1-4/+0
2022-07-30netdevsim: Avoid allocation warnings triggered from user spaceJakub Kicinski1-3/+5
2021-12-16netdevsim: Zero-initialize memory for new map's value in function nsim_bpf_ma...Haimin Zhang1-0/+1
2020-12-09netdevsim: Add debugfs toggle to reject BPF programs in verifierToke Høiland-Jørgensen1-2/+10
2020-12-09xdp: Remove the xdp_attachment_flags_ok() callbackToke Høiland-Jørgensen1-3/+0
2020-07-26bpf, xdp: Remove XDP_QUERY_PROG and XDP_QUERY_PROG_HW XDP commandsAndrii Nakryiko1-4/+0
2020-02-04netdevsim: use IS_ERR instead of IS_ERR_OR_NULL for debugfsTaehee Yoo1-4/+6
2019-04-26netdevsim: move netdev creation/destruction to dev probeJiri Pirko1-6/+7
2019-04-26netdevsim: merge sdev into devJiri Pirko1-46/+33
2019-04-13netdevsim: move sdev-specific init/uninit code into separate functionsJiri Pirko1-25/+38
2019-04-13netdevsim: make bpf_offload_dev_create() per-sdev instead of first nsJiri Pirko1-12/+14
2019-04-13netdevsim: move sdev specific bpf debugfs files to sdev dirJiri Pirko1-9/+9
2019-02-12bpf: offload: add priv field for driversJakub Kicinski1-2/+3
2018-12-13netdevsim: convert to DEFINE_SHOW_ATTRIBUTEYangtao Li1-14/+2
2018-11-17bpf: Remove unused variable in nsim_bpfNathan Chancellor1-1/+0
2018-11-11bpf: do not pass netdev to translate() and prepare() offload callbacksQuentin Monnet1-4/+3
2018-11-11bpf: pass prog instead of env to bpf_prog_offload_verifier_prep()Quentin Monnet1-2/+2
2018-11-11bpf: pass destroy() as a callback and remove its ndo_bpf subcommandQuentin Monnet1-3/+1
2018-11-11bpf: pass translate() as a callback and remove its ndo_bpf subcommandQuentin Monnet1-5/+9
2018-11-11bpf: call verifier_prep from its callback in struct bpf_offload_devQuentin Monnet1-15/+17
2018-11-11bpf: pass a struct with offload callbacks to bpf_offload_dev_create()Quentin Monnet1-3/+3
2018-10-08bpf: add verifier callback to get stack usage info for offloaded progsQuentin Monnet1-1/+7
2018-07-18netdevsim: allow program sharing between devicesJakub Kicinski1-1/+1
2018-07-18bpf: offload: keep the offload state per-ASICJakub Kicinski1-3/+14
2018-07-18bpf: offload: aggregate offloads per-deviceJakub Kicinski1-0/+7
2018-07-18netdevsim: associate bound programs with shared devJakub Kicinski1-12/+18
2018-07-13netdevsim: add support for simultaneous driver and hw XDPJakub Kicinski1-22/+10
2018-07-13xdp: support simultaneous driver and hw XDP attachmentJakub Kicinski1-0/+6
2018-07-13xdp: factor out common program/flags handling from driversJakub Kicinski1-12/+4
2018-07-13xdp: don't make drivers report attachment modeJakub Kicinski1-1/+0
2018-02-01netdevsim: fix overflow on the error pathJakub Kicinski1-3/+2
2018-01-26netdevsim: use tc_cls_can_offload_and_chain0()Jakub Kicinski1-4/+1
2018-01-24selftests/bpf: check bpf verifier log buffer usage works for HW offloadQuentin Monnet1-0/+6
2018-01-24netdevsim: add extack support for TC eBPF offloadQuentin Monnet1-7/+28
2018-01-19netdevsim: bpf: support fake map offloadJakub Kicinski1-0/+246
2017-12-31bpf: offload: allow netdev to disappear while verifier is runningJakub Kicinski1-1/+1
2017-12-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-11/+14
2017-12-20netdevsim: correctly check return value of debugfs_create_dirPrashant Bhole1-4/+4
2017-12-20netdevsim: bpf: remove unused variableJakub Kicinski1-3/+0
2017-12-05netdevsim: make functions nsim_bpf_create_prog and nsim_bpf_destroy_prog staticColin Ian King1-2/+2
2017-12-03netdevsim: add bpf offload supportJakub Kicinski1-0/+373