DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ferruh Yigit <ferruh.yigit@intel.com>
To: Jingjing Wu <jingjing.wu@intel.com>, helin.zhang@intel.com
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH 00/10] net/i40e: base code update
Date: Tue, 30 May 2017 12:10:08 +0100	[thread overview]
Message-ID: <40850888-ec27-c2bd-2c94-e2555714e46a@intel.com> (raw)
In-Reply-To: <1495856866-89539-1-git-send-email-jingjing.wu@intel.com>

On 5/27/2017 4:47 AM, Jingjing Wu wrote:
> i40e base code upate. The main changes are:
>  - use virtchnl.h instead of i40e_virtchnl.h
>  - add support for Adaptive Virtual Function
>  - add new AQ commands for read/write PHY registers
>  - add new phy types for 25G

Hi Jingjing,

Patchset giving build error with clang [1] because of assignment between
different enum types, can you please check the build errors?


[1]
.../drivers/net/i40e/i40e_pf.c:349:32: error: implicit conversion from
enumeration type 'enum i40e_vsi_type' to different enumeration type
'enum virtchnl_vsi_type' [-Werror,-Wenum-conversion]
        vf_res->vsi_res[0].vsi_type = I40E_VSI_SRIOV;
                                    ~ ^~~~~~~~~~~~~~
.../drivers/net/i40e/i40e_pf.c:1195:44: error: implicit conversion from
enumeration type 'enum i40e_aq_link_speed' to different enumeration type
'enum virtchnl_link_speed' [-Werror,-Wenum-conversion]
                event.event_data.link_event.link_speed =
I40E_LINK_SPEED_100MB;
                                                       ~
^~~~~~~~~~~~~~~~~~~~~
.../drivers/net/i40e/i40e_pf.c:1198:44: error: implicit conversion from
enumeration type 'enum i40e_aq_link_speed' to different enumeration type
'enum virtchnl_link_speed' [-Werror,-Wenum-conversion]
                event.event_data.link_event.link_speed =
I40E_LINK_SPEED_1GB;
                                                       ~ ^~~~~~~~~~~~~~~~~~~
.../drivers/net/i40e/i40e_pf.c:1201:44: error: implicit conversion from
enumeration type 'enum i40e_aq_link_speed' to different enumeration type
'enum virtchnl_link_speed' [-Werror,-Wenum-conversion]
                event.event_data.link_event.link_speed =
I40E_LINK_SPEED_10GB;
                                                       ~
^~~~~~~~~~~~~~~~~~~~
.../drivers/net/i40e/i40e_pf.c:1204:44: error: implicit conversion from
enumeration type 'enum i40e_aq_link_speed' to different enumeration type
'enum virtchnl_link_speed' [-Werror,-Wenum-conversion]
                event.event_data.link_event.link_speed =
I40E_LINK_SPEED_20GB;
                                                       ~
^~~~~~~~~~~~~~~~~~~~
.../drivers/net/i40e/i40e_pf.c:1207:44: error: implicit conversion from
enumeration type 'enum i40e_aq_link_speed' to different enumeration type
'enum virtchnl_link_speed' [-Werror,-Wenum-conversion]
                event.event_data.link_event.link_speed =
I40E_LINK_SPEED_25GB;
                                                       ~
^~~~~~~~~~~~~~~~~~~~
.../drivers/net/i40e/i40e_pf.c:1210:44: error: implicit conversion from
enumeration type 'enum i40e_aq_link_speed' to different enumeration type
'enum virtchnl_link_speed' [-Werror,-Wenum-conversion]
                event.event_data.link_event.link_speed =
I40E_LINK_SPEED_40GB;
                                                       ~
^~~~~~~~~~~~~~~~~~~~
.../drivers/net/i40e/i40e_pf.c:1214:4: error: implicit conversion from
enumeration type 'enum i40e_aq_link_speed' to different enumeration type
'enum virtchnl_link_speed' [-Werror,-Wenum-conversion]
                        I40E_LINK_SPEED_UNKNOWN;
                        ^~~~~~~~~~~~~~~~~~~~~~~
8 errors generated.
.../mk/internal/rte.compile-pre.mk:138: recipe for target 'i40e_pf.o' failed
make[4]: *** [i40e_pf.o] Error 1
make[4]: *** Waiting for unfinished jobs....
.../drivers/net/i40e/i40e_ethdev_vf.c:275:32: error: implicit conversion
from enumeration type 'enum virtchnl_link_speed' to different
enumeration type 'enum i40e_aq_link_speed' [-Werror,-Wenum-conversion]
                                vpe->event_data.link_event.link_speed;
                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
.../drivers/net/i40e/i40e_ethdev_vf.c:1274:30: error: implicit
conversion from enumeration type 'enum virtchnl_vsi_type' to different
enumeration type 'enum i40e_vsi_type' [-Werror,-Wenum-conversion]
        vf->vsi.type = vf->vsi_res->vsi_type;
                     ~ ~~~~~~~~~~~~~^~~~~~~~
.../drivers/net/i40e/i40e_ethdev_vf.c:1339:50: error: implicit
conversion from enumeration type 'enum virtchnl_link_speed' to different
enumeration type 'enum i40e_aq_link_speed' [-Werror,-Wenum-conversion]
                vf->link_speed = pf_msg->event_data.link_event.link_speed;
                               ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~

<...>

  parent reply	other threads:[~2017-05-30 11:10 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-27  3:47 Jingjing Wu
2017-05-27  3:47 ` [dpdk-dev] [PATCH 01/10] net/i40e/base: use new virtchnl header file Jingjing Wu
2017-05-27  3:47 ` [dpdk-dev] [PATCH 02/10] net/i40e/base: sync nvmupdate command and adminq subtask Jingjing Wu
2017-05-27  3:47 ` [dpdk-dev] [PATCH 03/10] net/i40e/base: add AQ command for read/write PHY registers Jingjing Wu
2017-05-27  3:47 ` [dpdk-dev] [PATCH 04/10] net/i40e/base: add support for Adaptive Virtual Function Jingjing Wu
2017-05-27  3:47 ` [dpdk-dev] [PATCH 05/10] net/i40e/base: store the requested FEC information Jingjing Wu
2017-05-27  3:47 ` [dpdk-dev] [PATCH 06/10] net/i40e/base: add new phy types for 25G AOC and ACC Jingjing Wu
2017-05-27  3:47 ` [dpdk-dev] [PATCH 07/10] net/i40e/base: report supported link modes Jingjing Wu
2017-05-27  3:47 ` [dpdk-dev] [PATCH 08/10] net/i40e/base: track id can be 0 Jingjing Wu
2017-05-27  3:47 ` [dpdk-dev] [PATCH 09/10] net/i40e/base: update FW AQ API version to 1.7 Jingjing Wu
2017-05-27  3:47 ` [dpdk-dev] [PATCH 10/10] net/i40e/base: update base code info Jingjing Wu
2017-05-30 11:10 ` Ferruh Yigit [this message]
2017-06-02  2:24   ` [dpdk-dev] [PATCH 00/10] net/i40e: base code update Wu, Jingjing
2017-06-26  9:48 ` [dpdk-dev] [PATCH v2 00/16] " Jingjing Wu
2017-06-26  9:48   ` [dpdk-dev] [PATCH v2 01/16] net/i40e/base: use new virtchnl header file Jingjing Wu
2017-06-26  9:48   ` [dpdk-dev] [PATCH v2 02/16] net/i40e/base: sync nvmupdate command and adminq subtask Jingjing Wu
2017-06-26  9:48   ` [dpdk-dev] [PATCH v2 03/16] net/i40e/base: add AQ command for read/write PHY registers Jingjing Wu
2017-06-26  9:48   ` [dpdk-dev] [PATCH v2 04/16] net/i40e/base: add support for Adaptive Virtual Function Jingjing Wu
2017-06-26  9:48   ` [dpdk-dev] [PATCH v2 05/16] net/i40e/base: store the requested FEC information Jingjing Wu
2017-06-26  9:48   ` [dpdk-dev] [PATCH v2 06/16] net/i40e/base: add new phy types for 25G AOC and ACC Jingjing Wu
2017-06-26  9:48   ` [dpdk-dev] [PATCH v2 07/16] net/i40e/base: report supported link modes Jingjing Wu
2017-06-26  9:48   ` [dpdk-dev] [PATCH v2 08/16] net/i40e/base: track id can be 0 Jingjing Wu
2017-06-26  9:48   ` [dpdk-dev] [PATCH v2 09/16] net/i40e/base: update FW AQ API version to 1.7 Jingjing Wu
2017-06-26  9:48   ` [dpdk-dev] [PATCH v2 10/16] net/i40e/base: add support for switch parameters Jingjing Wu
2017-06-26  9:48   ` [dpdk-dev] [PATCH v2 11/16] net/i40e/base: use admin queue for setting LEDs behavior Jingjing Wu
2017-06-26  9:48   ` [dpdk-dev] [PATCH v2 12/16] net/i40e/base: avoid potential null pointer dereference Jingjing Wu
2017-06-26  9:48   ` [dpdk-dev] [PATCH v2 13/16] net/i40e/base: avoid reset timeout issue Jingjing Wu
2017-06-26  9:48   ` [dpdk-dev] [PATCH v2 14/16] net/i40e/base: add EEPROM checksum verification Jingjing Wu
2017-06-26  9:48   ` [dpdk-dev] [PATCH v2 15/16] net/i40e/base: extend processing of DDP Jingjing Wu
2017-06-26 13:18     ` Ferruh Yigit
2017-06-26  9:48   ` [dpdk-dev] [PATCH v2 16/16] net/i40e: use set switch aq instead of register setting Jingjing Wu
2017-06-26 13:20     ` Ferruh Yigit
2017-06-27 13:29   ` [dpdk-dev] [PATCH v3 00/17] net/i40e: base code update Jingjing Wu
2017-06-27 13:29     ` [dpdk-dev] [PATCH v3 01/17] net/i40e/base: use new virtchnl header file Jingjing Wu
2017-06-27 13:29     ` [dpdk-dev] [PATCH v3 02/17] net/i40e/base: sync nvmupdate command and adminq subtask Jingjing Wu
2017-06-27 13:29     ` [dpdk-dev] [PATCH v3 03/17] net/i40e/base: add AQ command for read/write PHY registers Jingjing Wu
2017-06-27 13:29     ` [dpdk-dev] [PATCH v3 04/17] net/i40e/base: add support for Adaptive Virtual Function Jingjing Wu
2017-06-27 13:29     ` [dpdk-dev] [PATCH v3 05/17] net/i40e/base: store the requested FEC information Jingjing Wu
2017-06-27 13:29     ` [dpdk-dev] [PATCH v3 06/17] net/i40e/base: add new phy types for 25G AOC and ACC Jingjing Wu
2017-06-27 13:29     ` [dpdk-dev] [PATCH v3 07/17] net/i40e/base: report supported link modes Jingjing Wu
2017-06-27 13:29     ` [dpdk-dev] [PATCH v3 08/17] net/i40e/base: track id can be 0 Jingjing Wu
2017-06-27 13:29     ` [dpdk-dev] [PATCH v3 09/17] net/i40e/base: update FW AQ API version to 1.7 Jingjing Wu
2017-06-27 13:29     ` [dpdk-dev] [PATCH v3 10/17] net/i40e/base: add support for switch parameters Jingjing Wu
2017-06-27 13:29     ` [dpdk-dev] [PATCH v3 11/17] net/i40e/base: use admin queue for setting LEDs behavior Jingjing Wu
2017-06-27 13:29     ` [dpdk-dev] [PATCH v3 12/17] net/i40e/base: avoid potential null pointer dereference Jingjing Wu
2017-06-27 13:29     ` [dpdk-dev] [PATCH v3 13/17] net/i40e/base: avoid reset timeout issue Jingjing Wu
2017-06-27 13:29     ` [dpdk-dev] [PATCH v3 14/17] net/i40e/base: add EEPROM checksum verification Jingjing Wu
2017-06-27 13:29     ` [dpdk-dev] [PATCH v3 15/17] net/i40e/base: extend processing of DDP Jingjing Wu
2017-06-27 13:29     ` [dpdk-dev] [PATCH v3 16/17] net/i40e: use set switch aq instead of register setting Jingjing Wu
2017-06-27 13:29     ` [dpdk-dev] [PATCH v3 17/17] net/i40e/base: update base code info Jingjing Wu
2017-06-27 14:00     ` [dpdk-dev] [PATCH v4 00/17] net/i40e: base code update Jingjing Wu
2017-06-27 14:00       ` [dpdk-dev] [PATCH v4 01/17] net/i40e/base: use new virtchnl header file Jingjing Wu
2017-06-27 14:00       ` [dpdk-dev] [PATCH v4 02/17] net/i40e/base: sync nvmupdate command and adminq subtask Jingjing Wu
2017-06-27 14:00       ` [dpdk-dev] [PATCH v4 03/17] net/i40e/base: add AQ command for read/write PHY registers Jingjing Wu
2017-06-27 14:00       ` [dpdk-dev] [PATCH v4 04/17] net/i40e/base: add support for Adaptive Virtual Function Jingjing Wu
2017-06-27 14:00       ` [dpdk-dev] [PATCH v4 05/17] net/i40e/base: store the requested FEC information Jingjing Wu
2017-06-27 14:00       ` [dpdk-dev] [PATCH v4 06/17] net/i40e/base: add new phy types for 25G AOC and ACC Jingjing Wu
2017-06-27 14:00       ` [dpdk-dev] [PATCH v4 07/17] net/i40e/base: report supported link modes Jingjing Wu
2017-06-27 14:00       ` [dpdk-dev] [PATCH v4 08/17] net/i40e/base: track id can be 0 Jingjing Wu
2017-06-27 14:00       ` [dpdk-dev] [PATCH v4 09/17] net/i40e/base: update FW AQ API version to 1.7 Jingjing Wu
2017-06-27 14:00       ` [dpdk-dev] [PATCH v4 10/17] net/i40e/base: add support for switch parameters Jingjing Wu
2017-06-27 14:00       ` [dpdk-dev] [PATCH v4 11/17] net/i40e/base: use admin queue for setting LEDs behavior Jingjing Wu
2017-06-27 14:00       ` [dpdk-dev] [PATCH v4 12/17] net/i40e/base: avoid potential null pointer dereference Jingjing Wu
2017-06-27 14:00       ` [dpdk-dev] [PATCH v4 13/17] net/i40e/base: avoid reset timeout issue Jingjing Wu
2017-06-27 14:00       ` [dpdk-dev] [PATCH v4 14/17] net/i40e/base: add EEPROM checksum verification Jingjing Wu
2017-06-27 14:00       ` [dpdk-dev] [PATCH v4 15/17] net/i40e/base: extend processing of DDP Jingjing Wu
2017-06-27 14:00       ` [dpdk-dev] [PATCH v4 16/17] net/i40e: use set switch aq instead of register setting Jingjing Wu
2017-06-27 14:00       ` [dpdk-dev] [PATCH v4 17/17] net/i40e/base: update base code info Jingjing Wu
2017-06-27 14:25       ` [dpdk-dev] [PATCH v4 00/17] net/i40e: base code update Ferruh Yigit

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=40850888-ec27-c2bd-2c94-e2555714e46a@intel.com \
    --to=ferruh.yigit@intel.com \
    --cc=dev@dpdk.org \
    --cc=helin.zhang@intel.com \
    --cc=jingjing.wu@intel.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).