RE: [PATCH net-next 1/2] net: renesas: rswitch: use per-port irq handlers
From: Yoshihiro Shimoda
Date: Fri Dec 20 2024 - 04:11:26 EST
Hello Nikita-san,
> From: Nikita Yushchenko, Sent: Friday, December 20, 2024 5:09 PM
>
> >> But it is not required to use the same interrupt for all ports - GWCA
> >> provides 8 data interrupts and allows arbitrary per-queue assignment
> >> of those. Support that by reading interrupt index for each port from
> >> optional 'irq-index' device tree property.
> >
> > Sorry, but I can't find where this property is documented?
>
> I will add this.
Device tree properties should be a hardware description. However,
about the "irq-index", it seems a software configuration. So, even if we would
like to submit such a patch to add the property, it will be rejected.
Also, even if we can add a new device tree property, we should keep backward compatible.
However, this patch seems to break a backward compatibility.
Unfortunately, I don't have alternative solutions how to configurate per-port irq though...
# Maybe configfs??
Best regards,
Yoshihiro Shimoda
> Nikita