[ovs-dev] [PATCHv11] netdev-afxdp: add new netdev type for AF_XDP.

William Tu u9012063 at gmail.com
Tue Jun 18 19:32:27 UTC 2019


>
> I’m using an RHEL7 instance and use systemd to restart openvswitch
> with “systemctl restart openvswitch”.
> It uses ovs-ctl to stat/stop, see here for some details:
>
> https://github.com/openvswitch/ovs/blob/master/rhel/usr_lib_systemd_system_ovs-vswitchd.service.in
>
>
Thanks Eelco,

I can reproduce this issue now. Basically, if I start OVS with afxdp port, then
# kill `pidof ovs-vswitchd`
trigger the call to signal_remove_xdp()
# ip -s link show <afxdp port>
Then the xdp program is still there due to a bug
in xsk_remove_xdp_program (where I save prog_id as static)

I will fix it in next version!
Thanks
William


More information about the dev mailing list