All of lore.kernel.org
 help / color / mirror / Atom feed
From: Amir Vadai <amirv@mellanox.com>
To: Ben Hutchings <bhutchings@solarflare.com>
Cc: Eugenia Emantayev <eugenia@mellanox.com>,
	netdev <netdev@vger.kernel.org>
Subject: Definition of the term rx/tx/combined channel
Date: Sun, 22 Dec 2013 17:06:15 +0200	[thread overview]
Message-ID: <52B6FFE7.6080906@mellanox.com> (raw)

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

             reply	other threads:[~2013-12-22 15:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-22 15:06 Amir Vadai [this message]
2013-12-23 22:28 ` Definition of the term rx/tx/combined channel Ben Hutchings

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52B6FFE7.6080906@mellanox.com \
    --to=amirv@mellanox.com \
    --cc=bhutchings@solarflare.com \
    --cc=eugenia@mellanox.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.