Re: [PATCH v12 13/13] net/sxe: add virtual function

Stephen Hemminger
2025-10-24T17:12:10Z

On Mon, 28 Jul 2025 17:05:17 +0800
liujie5@linkdatatechnology.com wrote:

> +static const struct sxevf_irq_operations sxevf_irq_ops = {
> + .ring_irq_interval_set = sxevf_ring_irq_interval_set,
> + .event_irq_interval_set = sxevf_event_irq_interval_set,
> + .ring_irq_map = sxevf_hw_ring_irq_map,
> + .event_irq_map = sxevf_event_irq_map,
> + .pending_irq_clear = sxevf_pending_irq_clear,
> + .ring_irq_trigger = sxevf_ring_irq_trigger,
> + .specific_irq_enable = sxevf_specific_irq_enable,
> + .irq_enable = sxevf_irq_enable,
> + .irq_disable = sxevf_irq_disable,
> +};
> +

For tables like this, it is best to align all the functions.
Maybe your editor settings were different but DPDK assumes TAB == 8 spaces.