On 3 Nov 2026, at 13:01, David Marchand wrote:

> This is a preparation for separating ethernet and vHost DPDK netdevices.
>
> Rename netdev ops specific to ethernet ports, then add specific helpers
> for ethernet and vHost ports.
>
> With this split, the use of the device type becomes unnecessary in some
> places, but for the rest, rely on the netdev_class.
>
> Some notes on the additional cleanups:
> - a vHost port can not be offloaded, so the helpers related to
>   the dpdk dpif-offload only need to care about is_eth_class(),
> - dpdk_set_rx_steer_config() is called only from
>   netdev_dpdk_set_config(), so there is no point checking the type,
> - the construct() op never fails, so make it void,
>
> Signed-off-by: David Marchand <[email protected]>

Thanks for fixing my comments. The looks good to me.

Acked-by: Eelco Chaudron <[email protected]>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to