[ovs-dev] [PATCH] netdev-afxdp: Error when no XDP program loaded.

Ilya Maximets i.maximets at samsung.com
Mon Jul 29 13:06:15 UTC 2019


On 24.07.2019 18:21, William Tu wrote:
> netdev-afxdp requires XDP program to be loaded.  When prog_id == 0,
> it indicates no XDP program, so return error and free resources.
> 
> Signed-off-by: William Tu <u9012063 at gmail.com>
> ---
> v2: combining if statement to avoid duplication
> ---
>  lib/netdev-afxdp.c | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)

Thanks! Applied to master.

Best regards, Ilya Maximets.


More information about the dev mailing list