All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tetsuya Mukawa <mukawa-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org>
To: "Mcnamara,
	John" <john.mcnamara-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	Thomas Monjalon
	<thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
Cc: "dev-VfR2kkLFssw@public.gmane.org" <dev-VfR2kkLFssw@public.gmane.org>
Subject: Re: [PATCH v11 2/2] librte_pmd_null: Support	port hotplug function
Date: Fri, 27 Feb 2015 10:31:53 +0900	[thread overview]
Message-ID: <54EFC909.6020401@igel.co.jp> (raw)
In-Reply-To: <B27915DBBA3421428155699D51E4CFE2EC8B34-kPTMFJFq+rELt2AQoY/u9bfspsVTdybXVpNB7YpNyf8@public.gmane.org>

On 2015/02/27 0:36, Mcnamara, John wrote:
>> -----Original Message-----
>> From: dev [mailto:dev-bounces-VfR2kkLFssw@public.gmane.org] On Behalf Of Mcnamara, John
>> Sent: Thursday, February 26, 2015 12:21 PM
>> To: Tetsuya Mukawa; Thomas Monjalon
>> Cc: dev-VfR2kkLFssw@public.gmane.org
>> Subject: Re: [dpdk-dev] [PATCH v11 2/2] librte_pmd_null: Support port
>> hotplug function
>>
>> The following commit introduced this issue:
>>
>>     $ git bisect good
>>     c743e50c475f73edf78e5ba26445d7c6ea217f40 is the first bad commit
>>     commit c743e50c475f73edf78e5ba26445d7c6ea217f40
> Hi,
>
> The above commit also has throws a warning with ICC:
>
>     lib/librte_pmd_null/rte_eth_null.c(47): error #83:
>         type qualifier specified more than once
>
>       static const char const *valid_arguments[] = {
>                         ^
>
>                         
> An earlier commit also throws a warning with ICC:
>              
>
>     lib/librte_pmd_null/rte_eth_null.c(47): error #83: 
>             type qualifier specified more than once
>
>             static const char const *valid_arguments[] = {
>             ^                        
>
> Commit:
>
>     92d94d3744d7760d8d5e490be810612cf4a9cfb0 is the first bad commit
>     commit 92d94d3744d7760d8d5e490be810612cf4a9cfb0
>     Author: Tetsuya Mukawa <mukawa-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org>
>     Date:   Thu Feb 26 04:32:26 2015 +0900
>
>         ethdev: attach or detach port
>
>
> I applied the following patch to fix these issues, (in order to test with the HEAD). You can review them to see if they are valid and apply something similar:
>
> diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c
> index bb94ccb..6ea7a17 100644
> --- a/lib/librte_ether/rte_ethdev.c
> +++ b/lib/librte_ether/rte_ethdev.c
> @@ -433,7 +433,7 @@ static enum rte_eth_dev_type
>  rte_eth_dev_get_device_type(uint8_t port_id)
>  {
>         if (!rte_eth_dev_is_valid_port(port_id))
> -               return -1;
> +               return RTE_ETH_DEV_UNKNOWN;
>         return rte_eth_devices[port_id].dev_type;
>  }
>  
> diff --git a/lib/librte_pmd_null/rte_eth_null.c b/lib/librte_pmd_null/rte_eth_null.c
> index bb10276..3ef5842 100644
> --- a/lib/librte_pmd_null/rte_eth_null.c
> +++ b/lib/librte_pmd_null/rte_eth_null.c
> @@ -44,7 +44,7 @@
>  static unsigned default_packet_size = 64;
>  static unsigned default_packet_copy;
>  
> -static const char const *valid_arguments[] = {
> +static const char *valid_arguments[] = {
>         ETH_NULL_PACKET_SIZE_ARG,
>         ETH_NULL_PACKET_COPY_ARG,
>         NULL
>
>        
> John.

Hi Mcnamara and Stephen,

I appreciate for reporting.
I start checking all compile issues of null pmd.

Thanks,
Tetsuya

  parent reply	other threads:[~2015-02-27  1:31 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mukawa@igel.co.jp>
2014-09-19 12:27 ` [RFC] PMD for performance measurement mukawa-AlSX/UN32fvPDbFq/vQRIQ
     [not found]   ` <1411129659-7132-1-git-send-email-mukawa-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org>
2014-09-19 12:27     ` [RFC] librte_pmd_null: Add null PMD mukawa-AlSX/UN32fvPDbFq/vQRIQ
     [not found]       ` <1411129659-7132-2-git-send-email-mukawa-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org>
2014-09-22  7:46         ` Ivan Boule
     [not found]           ` <541FD3BD.2060606-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2014-09-22  8:07             ` Tetsuya Mukawa
2014-09-30  9:56 ` [PATCH 0/2] PMD for performance measurement mukawa-AlSX/UN32fvPDbFq/vQRIQ
     [not found]   ` <1412070970-5625-1-git-send-email-mukawa-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org>
2014-09-30  9:56     ` [PATCH 1/2] librte_pmd_null: Add null PMD mukawa-AlSX/UN32fvPDbFq/vQRIQ
     [not found]       ` <1412070970-5625-2-git-send-email-mukawa-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org>
2014-09-30 13:05         ` Thomas Monjalon
2014-10-01  1:41           ` Tetsuya Mukawa
2014-09-30  9:56     ` [PATCH 2/2] librte_pmd_null: Enable librte_pmd_null mukawa-AlSX/UN32fvPDbFq/vQRIQ
     [not found]       ` <1412070970-5625-3-git-send-email-mukawa-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org>
2014-09-30 11:23         ` Neil Horman
     [not found]           ` <20140930112353.GA2193-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org>
2014-10-01  1:39             ` Tetsuya Mukawa
2014-10-01  4:27 ` [PATCH] Fix linking errors when CONFIG_RTE_BUILD_SHARED_LIB is enabled mukawa-AlSX/UN32fvPDbFq/vQRIQ
     [not found]   ` <1412137623-18817-1-git-send-email-mukawa-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org>
2014-10-01 10:50     ` Neil Horman
     [not found]       ` <20141001105022.GB21151-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org>
2014-10-01 11:56         ` Thomas Monjalon
2014-10-02  2:48           ` Tetsuya Mukawa
     [not found]             ` <542CBD05.5000507-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org>
2014-10-02  8:12               ` Sergio Gonzalez Monroy
     [not found]                 ` <20141002081221.GA27208-IWE99D/oH1/+pXziaqXtF9h3ngVCH38I@public.gmane.org>
2014-10-02  8:28                   ` Tetsuya Mukawa
     [not found]                     ` <542D0C94.70209-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org>
2014-10-02  8:53                       ` Sergio Gonzalez Monroy
     [not found]                         ` <20141002085321.GA31287-IWE99D/oH1/+pXziaqXtF9h3ngVCH38I@public.gmane.org>
2014-10-02  9:05                           ` Tetsuya Mukawa
     [not found]                             ` <542D1545.8040202-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org>
2014-10-03 11:11                               ` Sergio Gonzalez Monroy
2014-10-02  1:43         ` Tetsuya Mukawa
     [not found]           ` <542CADD8.9070402-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org>
2014-10-02  2:46             ` Matthew Hall
     [not found]               ` <20141002024626.GA24668-Hv3ogNYU3JfZZajBQzqCxQ@public.gmane.org>
2014-10-02  3:44                 ` Tetsuya Mukawa
2014-10-01  4:57 ` [PATCH v2] PMD for performance measurement mukawa-AlSX/UN32fvPDbFq/vQRIQ
     [not found]   ` <1412139437-26749-1-git-send-email-mukawa-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org>
2014-10-01  4:57     ` [PATCH v2] librte_pmd_null: Add null PMD mukawa-AlSX/UN32fvPDbFq/vQRIQ
     [not found]       ` <1412139437-26749-2-git-send-email-mukawa-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org>
2014-11-13 12:17         ` Thomas Monjalon
2014-12-16  8:39         ` [PATCH v3] " Tetsuya Mukawa
     [not found]           ` <1418719167-8235-1-git-send-email-mukawa-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org>
2014-12-16  8:44             ` Tetsuya Mukawa
     [not found]               ` <548FF0EA.3010501-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org>
2014-12-16  8:47                 ` Thomas Monjalon
2014-12-16  8:49                   ` Tetsuya Mukawa
2015-01-20  3:00             ` [PATCH v4 1/2] " Tetsuya Mukawa
     [not found]               ` <1421722821-18158-1-git-send-email-mukawa-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org>
2015-01-20  3:00                 ` [PATCH v4 2/2] librte_pmd_null: Support port hotplug function Tetsuya Mukawa
     [not found]                   ` <1421722821-18158-2-git-send-email-mukawa-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org>
2015-02-06  4:38                     ` [PATCH v6 1/2] librte_pmd_null: Add null PMD Tetsuya Mukawa
     [not found]                       ` <1423197495-1758-1-git-send-email-mukawa-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org>
2015-02-06  4:38                         ` [PATCH v6 2/2] librte_pmd_null: Support port hotplug function Tetsuya Mukawa
     [not found]                           ` <1423197495-1758-2-git-send-email-mukawa-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org>
2015-02-06 11:37                             ` Iremonger, Bernard
2015-02-06 11:32                         ` [PATCH v6 1/2] librte_pmd_null: Add null PMD Iremonger, Bernard
     [not found]                           ` <8CEF83825BEC744B83065625E567D7C2049DDE4A-kPTMFJFq+rEMvF1YICWikbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-09  8:54                             ` Tetsuya Mukawa
2015-02-12  2:44                         ` [PATCH v7 1/2] librte_pmd_null: Add Null PMD Tetsuya Mukawa
     [not found]                           ` <1423709078-20999-1-git-send-email-mukawa-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org>
2015-02-12  2:44                             ` [PATCH v7 2/2] librte_pmd_null: Support port hotplug function Tetsuya Mukawa
2015-02-16  4:19                             ` [PATCH v8 1/2] librte_pmd_null: Add Null PMD Tetsuya Mukawa
     [not found]                             ` <1424060349-23693-1-git-send-email-mukawa-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org>
2015-02-16  4:19                               ` [PATCH v8 2/2] librte_pmd_null: Support port hotplug function Tetsuya Mukawa
     [not found]                                 ` <1424060349-23693-2-git-send-email-mukawa-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org>
2015-02-16 16:38                                   ` Iremonger, Bernard
2015-02-16 16:38                               ` [PATCH v8 1/2] librte_pmd_null: Add Null PMD Iremonger, Bernard
2015-02-19 10:41                               ` [PATCH v9 " Tetsuya Mukawa
     [not found]                                 ` <1424342510-1107-1-git-send-email-mukawa-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org>
2015-02-19 10:41                                   ` [PATCH v9 2/2] librte_pmd_null: Support port hotplug function Tetsuya Mukawa
2015-02-20  6:41                                   ` [PATCH v10 1/2] librte_pmd_null: Add Null PMD Tetsuya Mukawa
     [not found]                                     ` <1424414516-18609-1-git-send-email-mukawa-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org>
2015-02-20  6:41                                       ` [PATCH v10 2/2] librte_pmd_null: Support port hotplug function Tetsuya Mukawa
2015-02-23  5:12                                       ` [PATCH v11 1/2] librte_pmd_null: Add Null PMD Tetsuya Mukawa
     [not found]                                         ` <1424668355-8794-1-git-send-email-mukawa-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org>
2015-02-23  5:12                                           ` [PATCH v11 2/2] librte_pmd_null: Support port hotplug function Tetsuya Mukawa
     [not found]                                             ` <1424668355-8794-2-git-send-email-mukawa-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org>
2015-02-25 23:35                                               ` Thomas Monjalon
2015-02-26  0:49                                                 ` Stephen Hemminger
2015-02-26  7:03                                                   ` Thomas Monjalon
2015-02-26  9:06                                                     ` Tetsuya Mukawa
     [not found]                                                       ` <CAKU8wkcwLqHnHSx3qREXVcQJZQJpZ0rWtDu7We=kGM9iG4zjSA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-02-26 10:57                                                         ` Thomas Monjalon
2015-02-26 11:50                                                           ` Tetsuya Mukawa
2015-03-04  3:37                                                           ` Tetsuya Mukawa
2015-02-26 12:21                                                         ` Mcnamara, John
     [not found]                                                           ` <B27915DBBA3421428155699D51E4CFE2EC8A08-kPTMFJFq+rELt2AQoY/u9bfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-26 15:36                                                             ` Mcnamara, John
     [not found]                                                               ` <B27915DBBA3421428155699D51E4CFE2EC8B34-kPTMFJFq+rELt2AQoY/u9bfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-27  1:31                                                                 ` Tetsuya Mukawa [this message]
2015-02-27 23:29                                                             ` Thomas Monjalon

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=54EFC909.6020401@igel.co.jp \
    --to=mukawa-alsx/un32fvpdbfq/vqriq@public.gmane.org \
    --cc=dev-VfR2kkLFssw@public.gmane.org \
    --cc=john.mcnamara-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@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.