All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Michael Chan <michael.chan@broadcom.com>
Cc: kbuild-all@01.org, davem@davemloft.net, netdev@vger.kernel.org,
	Sathya Perla <sathya.perla@broadcom.com>
Subject: Re: [PATCH net-next 10/10] bnxt_en: add support for port_attr_get and and get_phys_port_name
Date: Tue, 25 Jul 2017 10:44:49 +0800	[thread overview]
Message-ID: <201707251020.bDXHsX68%fengguang.wu@intel.com> (raw)
In-Reply-To: <1500914069-15724-11-git-send-email-michael.chan@broadcom.com>

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

Hi Sathya,

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

url:    https://github.com/0day-ci/linux/commits/Michael-Chan/bnxt_en-Update-firmware-interface-spec-to-1-8-0/20170725-094835
config: x86_64-randconfig-x016-201730 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function 'bnxt_init_one':
>> drivers/net/ethernet/broadcom/bnxt/bnxt.c:7897:5: error: 'struct net_device' has no member named 'switchdev_ops'; did you mean 'netdev_ops'?
     dev->switchdev_ops = &bnxt_switchdev_ops;
        ^~
--
   drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c: In function 'bnxt_vf_rep_netdev_init':
>> drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:305:5: error: 'struct net_device' has no member named 'switchdev_ops'; did you mean 'netdev_ops'?
     dev->switchdev_ops = &bnxt_vf_rep_switchdev_ops;
        ^~
   In file included from include/linux/kernfs.h:13:0,
                    from include/linux/sysfs.h:15,
                    from include/linux/kobject.h:21,
                    from include/linux/pci.h:28,
                    from drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:9:
   drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c: In function 'bnxt_dl_eswitch_mode_set':
   drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:410:16: error: 'struct bnxt' has no member named 'sriov_lock'
     mutex_lock(&bp->sriov_lock);
                   ^
   include/linux/mutex.h:164:44: note: in definition of macro 'mutex_lock'
    #define mutex_lock(lock) mutex_lock_nested(lock, 0)
                                               ^~~~
   drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:439:18: error: 'struct bnxt' has no member named 'sriov_lock'
     mutex_unlock(&bp->sriov_lock);
                     ^~

vim +7897 drivers/net/ethernet/broadcom/bnxt/bnxt.c

  7863	
  7864	static int bnxt_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
  7865	{
  7866		static int version_printed;
  7867		struct net_device *dev;
  7868		struct bnxt *bp;
  7869		int rc, max_irqs;
  7870	
  7871		if (pci_is_bridge(pdev))
  7872			return -ENODEV;
  7873	
  7874		if (version_printed++ == 0)
  7875			pr_info("%s", version);
  7876	
  7877		max_irqs = bnxt_get_max_irq(pdev);
  7878		dev = alloc_etherdev_mq(sizeof(*bp), max_irqs);
  7879		if (!dev)
  7880			return -ENOMEM;
  7881	
  7882		bp = netdev_priv(dev);
  7883	
  7884		if (bnxt_vf_pciid(ent->driver_data))
  7885			bp->flags |= BNXT_FLAG_VF;
  7886	
  7887		if (pdev->msix_cap)
  7888			bp->flags |= BNXT_FLAG_MSIX_CAP;
  7889	
  7890		rc = bnxt_init_board(pdev, dev);
  7891		if (rc < 0)
  7892			goto init_err_free;
  7893	
  7894		dev->netdev_ops = &bnxt_netdev_ops;
  7895		dev->watchdog_timeo = BNXT_TX_TIMEOUT;
  7896		dev->ethtool_ops = &bnxt_ethtool_ops;
> 7897		dev->switchdev_ops = &bnxt_switchdev_ops;
  7898		pci_set_drvdata(pdev, dev);
  7899	
  7900		rc = bnxt_alloc_hwrm_resources(bp);
  7901		if (rc)
  7902			goto init_err_pci_clean;
  7903	
  7904		mutex_init(&bp->hwrm_cmd_lock);
  7905		rc = bnxt_hwrm_ver_get(bp);
  7906		if (rc)
  7907			goto init_err_pci_clean;
  7908	
  7909		if (bp->flags & BNXT_FLAG_SHORT_CMD) {
  7910			rc = bnxt_alloc_hwrm_short_cmd_req(bp);
  7911			if (rc)
  7912				goto init_err_pci_clean;
  7913		}
  7914	
  7915		rc = bnxt_hwrm_func_reset(bp);
  7916		if (rc)
  7917			goto init_err_pci_clean;
  7918	
  7919		bnxt_hwrm_fw_set_time(bp);
  7920	
  7921		dev->hw_features = NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | NETIF_F_SG |
  7922				   NETIF_F_TSO | NETIF_F_TSO6 |
  7923				   NETIF_F_GSO_UDP_TUNNEL | NETIF_F_GSO_GRE |
  7924				   NETIF_F_GSO_IPXIP4 |
  7925				   NETIF_F_GSO_UDP_TUNNEL_CSUM | NETIF_F_GSO_GRE_CSUM |
  7926				   NETIF_F_GSO_PARTIAL | NETIF_F_RXHASH |
  7927				   NETIF_F_RXCSUM | NETIF_F_GRO;
  7928	
  7929		if (!BNXT_CHIP_TYPE_NITRO_A0(bp))
  7930			dev->hw_features |= NETIF_F_LRO;
  7931	
  7932		dev->hw_enc_features =
  7933				NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | NETIF_F_SG |
  7934				NETIF_F_TSO | NETIF_F_TSO6 |
  7935				NETIF_F_GSO_UDP_TUNNEL | NETIF_F_GSO_GRE |
  7936				NETIF_F_GSO_UDP_TUNNEL_CSUM | NETIF_F_GSO_GRE_CSUM |
  7937				NETIF_F_GSO_IPXIP4 | NETIF_F_GSO_PARTIAL;
  7938		dev->gso_partial_features = NETIF_F_GSO_UDP_TUNNEL_CSUM |
  7939					    NETIF_F_GSO_GRE_CSUM;
  7940		dev->vlan_features = dev->hw_features | NETIF_F_HIGHDMA;
  7941		dev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_HW_VLAN_CTAG_TX |
  7942				    NETIF_F_HW_VLAN_STAG_RX | NETIF_F_HW_VLAN_STAG_TX;
  7943		dev->features |= dev->hw_features | NETIF_F_HIGHDMA;
  7944		dev->priv_flags |= IFF_UNICAST_FLT;
  7945	
  7946		/* MTU range: 60 - 9500 */
  7947		dev->min_mtu = ETH_ZLEN;
  7948		dev->max_mtu = BNXT_MAX_MTU;
  7949	

---
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: 31958 bytes --]

  reply	other threads:[~2017-07-25  2:45 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-24 16:34 [PATCH net-next 00/10] bnxt_en: Updates for net-next Michael Chan
2017-07-24 16:34 ` [PATCH net-next 01/10] bnxt_en: Update firmware interface spec to 1.8.0 Michael Chan
2017-07-24 16:34 ` [PATCH net-next 02/10] bnxt_en: Retrieve the hardware bridge mode from the firmware Michael Chan
2017-07-24 16:34 ` [PATCH net-next 03/10] bnxt_en: Implement ndo_bridge_{get|set}link methods Michael Chan
2017-07-24 16:34 ` [PATCH net-next 04/10] bnxt_en: Add bnxt_get_num_stats() to centrally get the number of ethtool stats Michael Chan
2017-07-24 16:34 ` [PATCH net-next 05/10] bnxt_en: Allow the user to set ethtool stats-block-usecs to 0 Michael Chan
2017-07-24 16:34 ` [PATCH net-next 06/10] bnxt_en: Report firmware DCBX agent Michael Chan
2017-07-24 16:34 ` [PATCH net-next 07/10] bnxt_en: Set ETS min_bw parameter for older firmware Michael Chan
2017-07-24 16:34 ` [PATCH net-next 08/10] bnxt_en: add support to enable VF-representors Michael Chan
2017-07-25  2:28   ` kbuild test robot
2017-07-24 16:34 ` [PATCH net-next 09/10] bnxt_en: add vf-rep RX/TX and netdev implementation Michael Chan
2017-07-24 16:34 ` [PATCH net-next 10/10] bnxt_en: add support for port_attr_get and and get_phys_port_name Michael Chan
2017-07-25  2:44   ` kbuild test robot [this message]
2017-07-25  4:06     ` Jakub Kicinski
2017-07-25  4:21       ` David Miller
2017-07-25  4:45   ` Jakub Kicinski
2017-07-25  5:13     ` [RFC] switchdev: clarify ndo_get_phys_port_name() formats Jakub Kicinski
2017-07-25 15:22       ` Andy Gospodarek
2017-07-25 22:26         ` Jakub Kicinski
2017-07-26  1:48           ` Andy Gospodarek
2017-07-26  2:34             ` Jakub Kicinski
2017-07-26 17:54               ` Andy Gospodarek
2017-07-26  5:48       ` Jiri Pirko
2017-07-26  8:13         ` Jakub Kicinski
2017-07-26  9:23           ` Or Gerlitz
2017-07-26 20:11             ` Jakub Kicinski
2017-07-27 10:30               ` Or Gerlitz
2017-07-28  2:31                 ` [RFC] switchdev: generate phys_port_name in the core Jakub Kicinski
2017-07-28  2:37                   ` Jakub Kicinski
2017-07-28  5:35                   ` Jiri Pirko
2017-07-28  5:58                     ` Jiri Pirko
2017-07-28  7:28                       ` Jakub Kicinski
2017-07-28  7:27                     ` Jakub Kicinski
2017-07-28 14:13                   ` Andrew Lunn
2017-07-25  9:55     ` [PATCH net-next 10/10] bnxt_en: add support for port_attr_get and and get_phys_port_name Sathya Perla
2017-07-25 22:27       ` Jakub Kicinski
2017-07-26  9:13     ` Or Gerlitz
2017-07-25  0:32 ` [PATCH net-next 00/10] bnxt_en: Updates for net-next David Miller

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=201707251020.bDXHsX68%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=davem@davemloft.net \
    --cc=kbuild-all@01.org \
    --cc=michael.chan@broadcom.com \
    --cc=netdev@vger.kernel.org \
    --cc=sathya.perla@broadcom.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 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.