Home
last modified time | relevance | path

Searched refs:new_bpf_prog (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/vmxnet3/
H A Dvmxnet3_xdp.c41 struct bpf_prog *new_bpf_prog = bpf->prog; in vmxnet3_xdp_set() local
47 if (new_bpf_prog && netdev->mtu > VMXNET3_XDP_MAX_MTU) { in vmxnet3_xdp_set()
59 if (!new_bpf_prog && !old_bpf_prog) in vmxnet3_xdp_set()
63 need_update = !!old_bpf_prog != !!new_bpf_prog; in vmxnet3_xdp_set()
68 vmxnet3_xdp_exchange_program(adapter, new_bpf_prog); in vmxnet3_xdp_set()
75 if (new_bpf_prog) in vmxnet3_xdp_set()