bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Maciej Fijalkowski <maciej.fijalkowski@intel.com>,
	intel-wired-lan@lists.osuosl.org
Cc: kbuild-all@lists.01.org, joamaki@gmail.com,
	alexandr.lobakin@intel.com, netdev@vger.kernel.org,
	toke@redhat.com, bjorn@kernel.org, kuba@kernel.org,
	bpf@vger.kernel.org, davem@davemloft.net,
	magnus.karlsson@intel.com
Subject: Re: [Intel-wired-lan] [PATCH v6 intel-next 3/9] ice: split ice_ring onto Tx/Rx separate structs
Date: Thu, 19 Aug 2021 08:22:59 +0800	[thread overview]
Message-ID: <202108190810.x1YdMeqg-lkp@intel.com> (raw)
In-Reply-To: <20210818135916.25007-4-maciej.fijalkowski@intel.com>

[-- Attachment #1: Type: text/plain, Size: 4763 bytes --]

Hi Maciej,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on tnguy-next-queue/dev-queue]
[cannot apply to v5.14-rc6 next-20210818]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Maciej-Fijalkowski/XDP_TX-improvements-for-ice/20210818-221906
base:   https://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue.git dev-queue
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/8efea0970271c16b9bab35cf49ce219c16a7479b
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Maciej-Fijalkowski/XDP_TX-improvements-for-ice/20210818-221906
        git checkout 8efea0970271c16b9bab35cf49ce219c16a7479b
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   drivers/net/ethernet/intel/ice/ice_eswitch.c: In function 'ice_eswitch_remap_rings_to_vectors':
   drivers/net/ethernet/intel/ice/ice_eswitch.c:97:30: error: 'struct ice_ring_container' has no member named 'ring'; did you mean 'rx_ring'?
      97 |                 q_vector->tx.ring = tx_ring;
         |                              ^~~~
         |                              rx_ring
   drivers/net/ethernet/intel/ice/ice_eswitch.c:100:35: error: 'netdev' undeclared (first use in this function); did you mean 'net_eq'?
     100 |                 tx_ring->netdev = netdev;
         |                                   ^~~~~~
         |                                   net_eq
   drivers/net/ethernet/intel/ice/ice_eswitch.c:100:35: note: each undeclared identifier is reported only once for each function it appears in
   drivers/net/ethernet/intel/ice/ice_eswitch.c:107:30: error: 'struct ice_ring_container' has no member named 'ring'; did you mean 'rx_ring'?
     107 |                 q_vector->rx.ring = rx_ring;
         |                              ^~~~
         |                              rx_ring
   drivers/net/ethernet/intel/ice/ice_eswitch.c: In function 'ice_eswitch_set_rxdid':
   drivers/net/ethernet/intel/ice/ice_eswitch.c:382:41: error: initialization of 'struct ice_ring *' from incompatible pointer type 'struct ice_rx_ring *' [-Werror=incompatible-pointer-types]
     382 |                 struct ice_ring *ring = vsi->rx_rings[i];
         |                                         ^~~
>> drivers/net/ethernet/intel/ice/ice_eswitch.c:383:45: error: invalid use of undefined type 'struct ice_ring'
     383 |                 u16 pf_q = vsi->rxq_map[ring->q_index];
         |                                             ^~
   cc1: some warnings being treated as errors


vim +383 drivers/net/ethernet/intel/ice/ice_eswitch.c

bc0412448da587 Grzegorz Nitka 2021-08-03  370  
bc0412448da587 Grzegorz Nitka 2021-08-03  371  /**
bc0412448da587 Grzegorz Nitka 2021-08-03  372   * ice_eswitch_set_rxdid - configure rxdid on all rx queues from VSI
bc0412448da587 Grzegorz Nitka 2021-08-03  373   * @vsi: VSI to setup rxdid on
bc0412448da587 Grzegorz Nitka 2021-08-03  374   * @rxdid: flex descriptor id
bc0412448da587 Grzegorz Nitka 2021-08-03  375   */
bc0412448da587 Grzegorz Nitka 2021-08-03  376  static void ice_eswitch_set_rxdid(struct ice_vsi *vsi, u32 rxdid)
bc0412448da587 Grzegorz Nitka 2021-08-03  377  {
bc0412448da587 Grzegorz Nitka 2021-08-03  378  	struct ice_hw *hw = &vsi->back->hw;
bc0412448da587 Grzegorz Nitka 2021-08-03  379  	int i;
bc0412448da587 Grzegorz Nitka 2021-08-03  380  
bc0412448da587 Grzegorz Nitka 2021-08-03  381  	ice_for_each_rxq(vsi, i) {
bc0412448da587 Grzegorz Nitka 2021-08-03  382  		struct ice_ring *ring = vsi->rx_rings[i];
bc0412448da587 Grzegorz Nitka 2021-08-03 @383  		u16 pf_q = vsi->rxq_map[ring->q_index];
bc0412448da587 Grzegorz Nitka 2021-08-03  384  
bc0412448da587 Grzegorz Nitka 2021-08-03  385  		ice_write_qrxflxp_cntxt(hw, pf_q, rxdid, 0x3, true);
bc0412448da587 Grzegorz Nitka 2021-08-03  386  	}
bc0412448da587 Grzegorz Nitka 2021-08-03  387  }
bc0412448da587 Grzegorz Nitka 2021-08-03  388  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 68488 bytes --]

  parent reply	other threads:[~2021-08-19  0:23 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-18 13:59 [PATCH v6 intel-next 0/9] XDP_TX improvements for ice Maciej Fijalkowski
2021-08-18 13:59 ` [PATCH v6 intel-next 1/9] ice: remove ring_active from ice_ring Maciej Fijalkowski
2021-08-18 13:59 ` [PATCH v6 intel-next 2/9] ice: move ice_container_type onto ice_ring_container Maciej Fijalkowski
2021-08-18 13:59 ` [PATCH v6 intel-next 3/9] ice: split ice_ring onto Tx/Rx separate structs Maciej Fijalkowski
2021-08-18 22:39   ` [Intel-wired-lan] " kernel test robot
2021-08-19  0:22   ` kernel test robot [this message]
2021-08-18 13:59 ` [PATCH v6 intel-next 4/9] ice: unify xdp_rings accesses Maciej Fijalkowski
2021-08-18 13:59 ` [PATCH v6 intel-next 5/9] ice: do not create xdp_frame on XDP_TX Maciej Fijalkowski
2021-08-18 13:59 ` [PATCH v6 intel-next 6/9] ice: propagate xdp_ring onto rx_ring Maciej Fijalkowski
2021-08-18 13:59 ` [PATCH v6 intel-next 7/9] ice: optimize XDP_TX workloads Maciej Fijalkowski
2021-08-18 13:59 ` [PATCH v6 intel-next 8/9] ice: introduce XDP_TX fallback path Maciej Fijalkowski
2021-08-18 13:59 ` [PATCH v6 intel-next 9/9] ice: make use of ice_for_each_* macros Maciej Fijalkowski
2021-09-03  6:54   ` [Intel-wired-lan] " Kuruvinakunnel, George

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=202108190810.x1YdMeqg-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=alexandr.lobakin@intel.com \
    --cc=bjorn@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=davem@davemloft.net \
    --cc=intel-wired-lan@lists.osuosl.org \
    --cc=joamaki@gmail.com \
    --cc=kbuild-all@lists.01.org \
    --cc=kuba@kernel.org \
    --cc=maciej.fijalkowski@intel.com \
    --cc=magnus.karlsson@intel.com \
    --cc=netdev@vger.kernel.org \
    --cc=toke@redhat.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).