DPDK patches and discussions
 help / color / mirror / Atom feed
From: Bruce Richardson <bruce.richardson@intel.com>
To: Nelson Escobar <neescoba@cisco.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] enic: fix issues when using Rx scatter with multiple RQs
Date: Tue, 28 Jun 2016 12:12:57 +0100	[thread overview]
Message-ID: <20160628111256.GD22860@bricha3-MOBL3> (raw)
In-Reply-To: <1466807997-21403-1-git-send-email-neescoba@cisco.com>

On Fri, Jun 24, 2016 at 03:39:57PM -0700, Nelson Escobar wrote:
> The Rx scatter patch failed to make a few changes and resulted
> in problems when using multiple RQs since the wrong RQ or CQ
> was being used.
> 

I think you might need to expand on what the "few changes" are.
Also, please expand out the terms RQ and CQ are.

Thanks,
/Bruce

> Fixes: 14a261bf0520 ("enic: add scattered Rx support")
> 
> Signed-off-by: Nelson Escobar <neescoba@cisco.com>
> Reviewed-by: John Daley <johndale@cisco.com>
> ---
>  drivers/net/enic/enic.h      |  2 +-
>  drivers/net/enic/enic_main.c | 10 ++++++----
>  2 files changed, 7 insertions(+), 5 deletions(-)
> 
> diff --git a/drivers/net/enic/enic.h b/drivers/net/enic/enic.h
> index ed5f18d..15b1d45 100644
> --- a/drivers/net/enic/enic.h
> +++ b/drivers/net/enic/enic.h
> @@ -174,7 +174,7 @@ static inline unsigned int enic_vnic_rq_count(struct enic *enic)
>  
>  static inline unsigned int enic_cq_rq(__rte_unused struct enic *enic, unsigned int rq)
>  {
> -	return rq;
> +	return rq / 2;

This looks like it might need a comment explaning why you divide by 2.

  reply	other threads:[~2016-06-28 11:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-24 22:39 Nelson Escobar
2016-06-28 11:12 ` Bruce Richardson [this message]
2016-06-28 18:49   ` [dpdk-dev] [PATCH v2] " Nelson Escobar
2016-06-29 10:48     ` Bruce Richardson

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=20160628111256.GD22860@bricha3-MOBL3 \
    --to=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=neescoba@cisco.com \
    /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).