Re: [PATCH net-next 1/2] net: renesas: rswitch: use per-port irq handlers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



There are only 3 physical ports, however the use case I'm targeting is -
virtual ports serving virtual machines (with offloading features making
hardware directly L2-forward or L3-route most traffic between outside world
and VM-owned virtual port frontends). In this setup, some of 8 GWCA irqs
will be given to VMs and thus there are definitely not enough to
per-consumer allocation.

And you are describing your VMs in DT as well? And if you change your
VM setup, you are going to modify your DT? This all sounds wrong.

Since this is for embedded, particular setups will likely be static... so defining driver configuration in device tree suits the needs quite well.

Still, if this is considered as device tree misuse, I will implement some other solution.

Maybe, add a sysfs_group to port netdev and have irq_index attribute there?
Then, target rootfs will be able to configure that via udev rules file.

I don't know if it will help, but ethtool mentions:

        -l --show-channels
... -L --set-channels

I believe this is for multi-queue devices configuration, which is a somewhat different thing.

Nikita




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux