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

Stephen Hemminger stephen at networkplumber.org
Fri Oct 24 19:01:05 CEST 2025


On Mon, 28 Jul 2025 17:05:17 +0800
liujie5 at 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.


More information about the dev mailing list