On Sun, 22 Jan 2023 12:49:20 +0100 Lorenzo Bianconi wrote: > > Shouldn't these generate netlink notifications? > > ack, I would say we need to add NETDEV_XDP_FEAT_CHANGE case in > netdev_genl_netdevice_event routine and maybe add a new > NETDEV_XDP_FEAT_CHANGE flag in netdev_cmd. What do you think? No strong preference between a full event or just a direct call until we have another in-kernel user interested in the notification. The changes are wrapped nicely in helpers, so we can change it later easily.