DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ferruh Yigit <ferruh.yigit@intel.com>
To: Matej Vido <vido@cesnet.cz>, dev@dpdk.org
Cc: remes@netcope.com
Subject: Re: [dpdk-dev] [PATCH v2 2/3] net/szedata2: add support for new NIC
Date: Thu, 12 Apr 2018 17:11:21 +0100	[thread overview]
Message-ID: <6df92274-3b39-4750-0823-a234cffad048@intel.com> (raw)
In-Reply-To: <1523518890-7075-3-git-send-email-vido@cesnet.cz>

On 4/12/2018 8:41 AM, Matej Vido wrote:
> +	if (pci_dev->id.device_id == PCI_DEVICE_ID_NETCOPE_NFB200G2QL) {
> +		unsigned int i;
> +		unsigned int rx_queues = max_rx_queues / max_ports;
> +		unsigned int tx_queues = max_tx_queues / max_ports;
> +
> +		/*
> +		 * Number of queues reported by szedata_ifaces_available()
> +		 * is the number of all queues from all DMA controllers which
> +		 * may reside at different numa locations.
> +		 * All queues from the same DMA controller have the same numa
> +		 * node.
> +		 * Numa node from the first queue of each DMA controller is
> +		 * retrieved.
> +		 * If the numa node differs from the numa node of the queues
> +		 * from the previous DMA controller the queues are assigned
> +		 * to the next port.
> +		 */
> +
> +		for (i = 0; i < max_ports; i++) {
> +			int numa_rx = szedata_get_area_numa_node(szedata_temp,
> +				SZE2_DIR_RX, rx_queues * i);
> +			int numa_tx = szedata_get_area_numa_node(szedata_temp,

Hi Matej,

Where szedata_get_area_numa_node() is defined?
Is it possible that you are missing a patch?

Thanks,
ferruh

  reply	other threads:[~2018-04-12 16:14 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-06 14:12 [dpdk-dev] [PATCH 0/3] net/szedata2: patch set for new card support Matej Vido
2018-04-06 14:12 ` [dpdk-dev] [PATCH 1/3] net/szedata2: do not affect Ethernet interfaces Matej Vido
2018-04-10 15:28   ` Ferruh Yigit
2018-04-11  9:36     ` Matej Vido
2018-04-11 10:51       ` Ferruh Yigit
2018-04-12  7:38         ` Matej Vido
2018-04-13  4:25           ` Yasufumi Ogawa
2018-04-13 10:39             ` Matej Vido
2018-04-06 14:12 ` [dpdk-dev] [PATCH 2/3] net/szedata2: add support for new NIC Matej Vido
2018-04-06 14:12 ` [dpdk-dev] [PATCH 3/3] net/szedata2: add kernel module dependency Matej Vido
2018-04-12  7:41 ` [dpdk-dev] [PATCH v2 0/3] net/szedata2: patch set for new card support Matej Vido
2018-04-13 16:32   ` Ferruh Yigit
2018-04-27  8:57   ` [dpdk-dev] [PATCH 1/1] doc: update doc and release notes for szedata2 driver Matej Vido
2018-04-27 13:11     ` Ferruh Yigit
2018-04-12  7:41 ` [dpdk-dev] [PATCH v2 1/3] net/szedata2: do not affect Ethernet interfaces Matej Vido
2018-04-12  7:41 ` [dpdk-dev] [PATCH v2 2/3] net/szedata2: add support for new NIC Matej Vido
2018-04-12 16:11   ` Ferruh Yigit [this message]
2018-04-13  8:17     ` Jan Remeš
2018-04-13 14:26       ` Ferruh Yigit
2018-04-13 15:03         ` Jan Remeš
2018-04-13 16:29           ` Ferruh Yigit
2018-04-18  7:21             ` Matej Vido
2018-04-12  7:41 ` [dpdk-dev] [PATCH v2 3/3] net/szedata2: add kernel module dependency Matej Vido

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=6df92274-3b39-4750-0823-a234cffad048@intel.com \
    --to=ferruh.yigit@intel.com \
    --cc=dev@dpdk.org \
    --cc=remes@netcope.com \
    --cc=vido@cesnet.cz \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).