From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: helin.zhang@intel.com
Cc: dev@dpdk.org, kernel-team@fb.com
Subject: Re: [dpdk-dev] [PATCH] eal: remove unnecessary #ifdef CONFIG_BQL
Date: Mon, 23 Mar 2015 12:27:31 +0100 [thread overview]
Message-ID: <14866342.VnQ1r1AyAo@xps13> (raw)
In-Reply-To: <1426274503-372191-1-git-send-email-agartrell@fb.com>
Helin, any comment about this trivial patch?
2015-03-13 12:21, Alex Gartrell:
> I couldn't figure out why this #ifdef existed so I looked around upstream
> and it's not there. It seems to build just fine without it.
>
> Signed-off-by: Alex Gartrell <agartrell@fb.com>
> ---
> lib/librte_eal/linuxapp/kni/ethtool/igb/igb.h | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/igb.h b/lib/librte_eal/linuxapp/kni/ethtool/igb/igb.h
> index a582f52..d58e1f3 100644
> --- a/lib/librte_eal/linuxapp/kni/ethtool/igb/igb.h
> +++ b/lib/librte_eal/linuxapp/kni/ethtool/igb/igb.h
> @@ -472,12 +472,10 @@ static inline u16 igb_desc_unused(const struct igb_ring *ring)
> return ((ntc > ntu) ? 0 : ring->count) + ntc - ntu - 1;
> }
>
> -#ifdef CONFIG_BQL
> static inline struct netdev_queue *txring_txq(const struct igb_ring *tx_ring)
> {
> return netdev_get_tx_queue(tx_ring->netdev, tx_ring->queue_index);
> }
> -#endif /* CONFIG_BQL */
>
> // #ifdef EXT_THERMAL_SENSOR_SUPPORT
> // #ifdef IGB_PROCFS
>
next prev parent reply other threads:[~2015-03-23 11:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-13 19:21 Alex Gartrell
2015-03-23 11:27 ` Thomas Monjalon [this message]
2015-03-24 1:03 ` Zhang, Helin
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=14866342.VnQ1r1AyAo@xps13 \
--to=thomas.monjalon@6wind.com \
--cc=dev@dpdk.org \
--cc=helin.zhang@intel.com \
--cc=kernel-team@fb.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).