Searched refs:altdev (Results 1 – 1 of 1) sorted by relevance
628 struct bpf_offload_netdev *ondev, *altdev; in bpf_offload_dev_netdev_unregister() local643 altdev = list_first_entry_or_null(&offdev->netdevs, in bpf_offload_dev_netdev_unregister()646 if (altdev) { in bpf_offload_dev_netdev_unregister()648 offload->netdev = altdev->netdev; in bpf_offload_dev_netdev_unregister()649 list_splice_init(&ondev->progs, &altdev->progs); in bpf_offload_dev_netdev_unregister()652 offmap->netdev = altdev->netdev; in bpf_offload_dev_netdev_unregister()653 list_splice_init(&ondev->maps, &altdev->maps); in bpf_offload_dev_netdev_unregister()