Subject: Definition of the term rx/tx/combined channel

From: Amir Vadai <[email-masked]>
Date: Sun, 22 Dec 2013 17:06:15 +0200

Hi Ben,

I'm trying to understand the exact definition of the term channel.

According to ethtool: A channel is an IRQ and the set of queues that can
trigger that IRQ.

In our driver (Mellanox's Connect-X), we have an IRQ's, rx rings and tx
rings.

Usually we have one IRQ per rx ring, but if system resources are
limited, those numbers could be different.
tx rings are sharing the same IRQ's assigned by rx rings (for
completions), but many tx rings could share the same IRQ.

Is the rx channels == number of rx rings, and same for tx?
How is this related to the number of IRQ's?
Should we show other IRQ's we use for async events from the HW, as 'other'?

Thanks,
Amir