From: Vlad Zolotarov <vladz-RmZWMc9puTNJc61us3aD9laTQe2KTcn/@public.gmane.org>
To: "Mcnamara,
John" <john.mcnamara-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
"dev-VfR2kkLFssw@public.gmane.org"
<dev-VfR2kkLFssw@public.gmane.org>
Subject: Re: [PATCH v1 3/3] ixgbe: Unify the rx_pkt_bulk callback initialization
Date: Mon, 09 Mar 2015 18:30:12 +0200 [thread overview]
Message-ID: <54FDCA94.6040507@cloudius-systems.com> (raw)
In-Reply-To: <B27915DBBA3421428155699D51E4CFE2ECC42A-kPTMFJFq+rELt2AQoY/u9bfspsVTdybXVpNB7YpNyf8@public.gmane.org>
On 03/09/15 15:39, Mcnamara, John wrote:
>> -----Original Message-----
>> From: dev [mailto:dev-bounces-VfR2kkLFssw@public.gmane.org] On Behalf Of Vlad Zolotarov
>> Sent: Monday, March 9, 2015 10:13 AM
>> To: dev-VfR2kkLFssw@public.gmane.org
>> Subject: [dpdk-dev] [PATCH v1 3/3] ixgbe: Unify the rx_pkt_bulk callback
>> initialization
>>
>> @@ -3641,23 +3676,17 @@ ixgbe_dev_rx_init(struct rte_eth_dev *dev)
>> buf_size = (uint16_t) ((srrctl & IXGBE_SRRCTL_BSIZEPKT_MASK)
>> <<
>> IXGBE_SRRCTL_BSIZEPKT_SHIFT);
>>
>> - if (dev->data->dev_conf.rxmode.enable_scatter ||
>> - /* It adds dual VLAN length for supporting dual VLAN */
>> - (dev->data->dev_conf.rxmode.max_rx_pkt_len +
>> - 2 * IXGBE_VLAN_TAG_SIZE) > buf_size){
>> - if (!dev->data->scattered_rx)
>> - PMD_INIT_LOG(DEBUG, "forcing scatter mode");
>> + /* It adds dual VLAN length for supporting dual VLAN */
>> + if (dev->data->dev_conf.rxmode.max_rx_pkt_len +
>> + 2 * IXGBE_VLAN_TAG_SIZE > buf_size)
>> dev->data->scattered_rx = 1;
>> -#ifdef RTE_IXGBE_INC_VECTOR
>> - if (rte_is_power_of_2(rxq->nb_rx_desc))
>> - dev->rx_pkt_burst =
>> - ixgbe_recv_scattered_pkts_vec;
>> - else
>> -#endif
>> - dev->rx_pkt_burst = ixgbe_recv_scattered_pkts;
>> - }
>> }
>>
>> + if (rx_conf->enable_scatter)
>> + dev->data->scattered_rx = 1;
> Hi,
>
> There is a compilation issue here when this patch is applied to the current master (with previous 2 patches applied as well):
>
> make T=x86_64-native-linuxapp-gcc install CC=gcc
> ...
> == Build lib/librte_pmd_ixgbe
> CC ixgbe_rxtx.o
> /home/user/dpdk/lib/librte_pmd_ixgbe/ixgbe_rxtx.c: In function 'ixgbe_dev_rx_init':
> /home/user/dpdk/lib/librte_pmd_ixgbe/ixgbe_rxtx.c:3689:6: error: 'rx_conf' undeclared (first use in this function)
> /home/user/dpdk/lib/librte_pmd_ixgbe/ixgbe_rxtx.c:3689:6: note: each undeclared identifier is reported only once for each function it appears in
> make[5]: *** [ixgbe_rxtx.o] Error 1
>
> This is using the default DPDK linuxapp config.
v2 is out. Again, my apologize. ;)
>
> John
>
prev parent reply other threads:[~2015-03-09 16:30 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-09 10:12 [PATCH v1 0/3]: bug fixes in the ixgbe PF PMD Rx flow Vlad Zolotarov
[not found] ` <1425895968-8597-1-git-send-email-vladz-RmZWMc9puTNJc61us3aD9laTQe2KTcn/@public.gmane.org>
2015-03-09 10:12 ` [PATCH v1 1/3] ixgbe: Use the rte_le_to_cpu_xx()/rte_cpu_to_le_xx() when reading/setting HW ring descriptor fields Vlad Zolotarov
[not found] ` <1425895968-8597-2-git-send-email-vladz-RmZWMc9puTNJc61us3aD9laTQe2KTcn/@public.gmane.org>
2015-03-09 10:29 ` Ananyev, Konstantin
[not found] ` <2601191342CEEE43887BDE71AB977258213F4B04-pww93C2UFcwu0RiL9chJVbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-03-09 12:43 ` Vlad Zolotarov
[not found] ` <54FD956A.1060404-RmZWMc9puTNJc61us3aD9laTQe2KTcn/@public.gmane.org>
2015-03-09 16:35 ` Ananyev, Konstantin
[not found] ` <2601191342CEEE43887BDE71AB977258213F4E48-pww93C2UFcwu0RiL9chJVbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-03-09 18:51 ` Vlad Zolotarov
[not found] ` <54FDEBA7.3020603-RmZWMc9puTNJc61us3aD9laTQe2KTcn/@public.gmane.org>
2015-03-09 19:27 ` Ananyev, Konstantin
2015-03-09 10:12 ` [PATCH v1 2/3] ixgbe: Bug fix: Properly configure Rx CRC stripping for x540 devices Vlad Zolotarov
2015-03-09 10:12 ` [PATCH v1 3/3] ixgbe: Unify the rx_pkt_bulk callback initialization Vlad Zolotarov
[not found] ` <1425895968-8597-4-git-send-email-vladz-RmZWMc9puTNJc61us3aD9laTQe2KTcn/@public.gmane.org>
2015-03-09 13:39 ` Mcnamara, John
[not found] ` <B27915DBBA3421428155699D51E4CFE2ECC42A-kPTMFJFq+rELt2AQoY/u9bfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-03-09 15:57 ` Vlad Zolotarov
2015-03-09 16:30 ` Vlad Zolotarov [this message]
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=54FDCA94.6040507@cloudius-systems.com \
--to=vladz-rmzwmc9putnjc61us3ad9latqe2ktcn/@public.gmane.org \
--cc=dev-VfR2kkLFssw@public.gmane.org \
--cc=john.mcnamara-ral2JQCrhuEAvxtiuMwx3w@public.gmane.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.