Netdev List
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Yuval Mintz <Yuval.Mintz@cavium.com>
Cc: kbuild-all@01.org, davem@davemloft.net, netdev@vger.kernel.org,
	Yuval Mintz <Yuval.Mintz@cavium.com>
Subject: Re: [PATCH net-next 09/11] qede: Better utilize the qede_[rt]x_queue
Date: Sun, 27 Nov 2016 23:51:37 +0800	[thread overview]
Message-ID: <201611272330.xRUonBtv%fengguang.wu@intel.com> (raw)
In-Reply-To: <1480258273-24973-10-git-send-email-Yuval.Mintz@cavium.com>

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

Hi Yuval,

[auto build test WARNING on net-next/master]

url:    https://github.com/0day-ci/linux/commits/Yuval-Mintz/qed-Add-XDP-support/20161127-225956
config: tile-allmodconfig (attached as .config)
compiler: tilegx-linux-gcc (GCC) 4.6.2
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=tile 

All warnings (new ones prefixed by >>):

   drivers/net/ethernet/qlogic/qede/qede_main.c: In function 'qede_alloc_mem_rxq':
>> drivers/net/ethernet/qlogic/qede/qede_main.c:2960:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]

vim +2960 drivers/net/ethernet/qlogic/qede/qede_main.c

55482edc Manish Chopra 2016-03-04  2944  err:
55482edc Manish Chopra 2016-03-04  2945  	qede_free_sge_mem(edev, rxq);
55482edc Manish Chopra 2016-03-04  2946  	edev->gro_disable = 1;
55482edc Manish Chopra 2016-03-04  2947  	return -ENOMEM;
55482edc Manish Chopra 2016-03-04  2948  }
55482edc Manish Chopra 2016-03-04  2949  
2950219d Yuval Mintz   2015-10-26  2950  /* This function allocates all memory needed per Rx queue */
1a635e48 Yuval Mintz   2016-08-15  2951  static int qede_alloc_mem_rxq(struct qede_dev *edev, struct qede_rx_queue *rxq)
2950219d Yuval Mintz   2015-10-26  2952  {
f86af2df Manish Chopra 2016-04-20  2953  	int i, rc, size;
2950219d Yuval Mintz   2015-10-26  2954  
2950219d Yuval Mintz   2015-10-26  2955  	rxq->num_rx_buffers = edev->q_num_rx_buffers;
2950219d Yuval Mintz   2015-10-26  2956  
1a635e48 Yuval Mintz   2016-08-15  2957  	rxq->rx_buf_size = NET_IP_ALIGN + ETH_OVERHEAD + edev->ndev->mtu;
1a635e48 Yuval Mintz   2016-08-15  2958  
fc48b7a6 Yuval Mintz   2016-02-15  2959  	if (rxq->rx_buf_size > PAGE_SIZE)
fc48b7a6 Yuval Mintz   2016-02-15 @2960  		rxq->rx_buf_size = PAGE_SIZE;
fc48b7a6 Yuval Mintz   2016-02-15  2961  
fc48b7a6 Yuval Mintz   2016-02-15  2962  	/* Segment size to spilt a page in multiple equal parts */
fc48b7a6 Yuval Mintz   2016-02-15  2963  	rxq->rx_buf_seg_size = roundup_pow_of_two(rxq->rx_buf_size);
2950219d Yuval Mintz   2015-10-26  2964  
2950219d Yuval Mintz   2015-10-26  2965  	/* Allocate the parallel driver ring for Rx buffers */
fc48b7a6 Yuval Mintz   2016-02-15  2966  	size = sizeof(*rxq->sw_rx_ring) * RX_RING_SIZE;
2950219d Yuval Mintz   2015-10-26  2967  	rxq->sw_rx_ring = kzalloc(size, GFP_KERNEL);
2950219d Yuval Mintz   2015-10-26  2968  	if (!rxq->sw_rx_ring) {

:::::: The code at line 2960 was first introduced by commit
:::::: fc48b7a6148af974b49db145812a8b060324a503 qed/qede: use 8.7.3.0 FW.

:::::: TO: Yuval Mintz <Yuval.Mintz@qlogic.com>
:::::: CC: David S. Miller <davem@davemloft.net>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

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

  reply	other threads:[~2016-11-27 15:52 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-27 14:51 [PATCH net-next 00/11] qed*: Add XDP support Yuval Mintz
2016-11-27 14:51 ` [PATCH net-next 01/11] qede: Optimize aggregation information size Yuval Mintz
2016-11-27 14:51 ` [PATCH net-next 02/11] qed: Optimize qed_chain datapath usage Yuval Mintz
2016-11-27 14:51 ` [PATCH net-next 03/11] qede: Remove 'num_tc' Yuval Mintz
2016-11-27 14:51 ` [PATCH net-next 04/11] qede: Refactor statistics gathering Yuval Mintz
2016-11-27 14:51 ` [PATCH net-next 05/11] qede: Refactor data-path Rx flow Yuval Mintz
2016-11-27 14:51 ` [PATCH net-next 06/11] qede: Revise state locking scheme Yuval Mintz
2016-11-27 14:51 ` [PATCH net-next 07/11] qed*: Handle-based L2-queues Yuval Mintz
2016-11-27 14:51 ` [PATCH net-next 08/11] qede: Don't check netdevice for rx-hash Yuval Mintz
2016-11-27 14:51 ` [PATCH net-next 09/11] qede: Better utilize the qede_[rt]x_queue Yuval Mintz
2016-11-27 15:51   ` kbuild test robot [this message]
2016-11-27 16:15     ` Mintz, Yuval
2016-11-27 20:16       ` David Miller
2016-11-27 21:17         ` Mintz, Yuval
2016-11-27 14:51 ` [PATCH net-next 10/11] qede: Add basic XDP support Yuval Mintz
2016-11-28 19:18   ` Jakub Kicinski
2016-11-28 20:20     ` Mintz, Yuval
     [not found]   ` <CALx6S36kiAiMeZoszx=5uBrUecwCodJx2tg3kL4HBk=4eVMSLg@mail.gmail.com>
2016-11-28 20:53     ` Mintz, Yuval
2016-11-27 14:51 ` [PATCH net-next 11/11] qede: Add support for XDP_TX Yuval Mintz

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=201611272330.xRUonBtv%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=Yuval.Mintz@cavium.com \
    --cc=davem@davemloft.net \
    --cc=kbuild-all@01.org \
    --cc=netdev@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox