Re: [ovs-dev] [PATCH v3 4/9] netdev-offload-tc: Check for valid netdev ifindex in flow_put

2022-02-22 Thread Roi Dayan via dev
On 2022-02-22 5:23 PM, Eelco Chaudron wrote: Verify that the returned ifindex by netdev_get_ifindex() is valid. This might not be the case in the ERSPAN port scenario, which can not be offloaded. Signed-off-by: Eelco Chaudron --- v3: - Fixed netdev reference issue on failure - Added ne

[ovs-dev] [PATCH v3 4/9] netdev-offload-tc: Check for valid netdev ifindex in flow_put

2022-02-22 Thread Eelco Chaudron
Verify that the returned ifindex by netdev_get_ifindex() is valid. This might not be the case in the ERSPAN port scenario, which can not be offloaded. Signed-off-by: Eelco Chaudron --- v3: - Fixed netdev reference issue on failure - Added netdev_flow_api_equals() check lib/netdev-offload-tc