Re: [PATCH net-next 10/11] qede: Add basic XDP support
From: Mintz, Yuval <hidden>
Date: 2016-11-28 20:20:44
From: Mintz, Yuval <hidden>
Date: 2016-11-28 20:20:44
Any particular reason not to allow the XDP prog being set while the device is closed? You seem to preserve the program across close()/open() cycles so the edev->xdp_prog is alive and valid while device is closed IIUC.
I think other drivers are allowing setting XDP while closed and it would be cool to keep the behaviour identical across drivers :)
You're right; No reason to prevent this. I'll fix it in v2.