On 11/24/26 10:52, 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 common_construct() helper never fails, so make it void,

Signed-off-by: David Marchand<[email protected]>
Acked-by: Eelco Chaudron<[email protected]>
---
Changes since RFC v1:
- fixed some alignment issue,

---
  lib/netdev-dpdk.c | 489 ++++++++++++++++++++++++++++------------------
  1 file changed, 304 insertions(+), 185 deletions(-)

Acked-by: Kevin Traynor <[email protected]>


_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to