lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202106011706.JoWDF6pK-lkp@intel.com>
Date:   Tue, 1 Jun 2021 17:22:27 +0800
From:   kernel test robot <lkp@...el.com>
To:     Zheng Yongjun <zhengyongjun3@...wei.com>, davem@...emloft.net,
        kuba@...nel.org, netdev@...r.kernel.org,
        linux-kernel@...r.kernel.org
Cc:     kbuild-all@...ts.01.org, jdmason@...zu.us,
        Zheng Yongjun <zhengyongjun3@...wei.com>
Subject: Re: [PATCH net-next] net: vxge: Remove unused variable

Hi Zheng,

Thank you for the patch! Yet something to improve:

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

url:    https://github.com/0day-ci/linux/commits/Zheng-Yongjun/net-vxge-Remove-unused-variable/20210601-153524
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 44fdd2edb36f0da66758cd355840d357078110fe
config: x86_64-randconfig-a012-20210601 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/0day-ci/linux/commit/3d8621406ca0701d83af93a9b4deec4112ccb616
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Zheng-Yongjun/net-vxge-Remove-unused-variable/20210601-153524
        git checkout 3d8621406ca0701d83af93a9b4deec4112ccb616
        # save the attached .config to linux build tree
        make W=1 ARCH=x86_64 

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

All errors (new ones prefixed by >>):

   drivers/net/ethernet/neterion/vxge/vxge-main.c: In function 'do_vxge_reset':
>> drivers/net/ethernet/neterion/vxge/vxge-main.c:1711:3: error: 'status' undeclared (first use in this function); did you mean 'kstatfs'?
    1711 |   status = vxge_reset_all_vpaths(vdev);
         |   ^~~~~~
         |   kstatfs
   drivers/net/ethernet/neterion/vxge/vxge-main.c:1711:3: note: each undeclared identifier is reported only once for each function it appears in


vim +1711 drivers/net/ethernet/neterion/vxge/vxge-main.c

16fded7da2cefc drivers/net/vxge/vxge-main.c Jon Mason       2011-01-18  1606  
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1607  static int do_vxge_reset(struct vxgedev *vdev, int event)
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1608  {
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1609  	int ret = 0, vp_id, i;
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1610  
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1611  	vxge_debug_entryexit(VXGE_TRACE, "%s:%d", __func__, __LINE__);
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1612  
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1613  	if ((event == VXGE_LL_FULL_RESET) || (event == VXGE_LL_START_RESET)) {
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1614  		/* check if device is down already */
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1615  		if (unlikely(!is_vxge_card_up(vdev)))
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1616  			return 0;
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1617  
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1618  		/* is reset already scheduled */
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1619  		if (test_and_set_bit(__VXGE_STATE_RESET_CARD, &vdev->state))
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1620  			return 0;
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1621  	}
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1622  
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1623  	if (event == VXGE_LL_FULL_RESET) {
2e41f6449c561e drivers/net/vxge/vxge-main.c Jon Mason       2010-12-10  1624  		netif_carrier_off(vdev->ndev);
2e41f6449c561e drivers/net/vxge/vxge-main.c Jon Mason       2010-12-10  1625  
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1626  		/* wait for all the vpath reset to complete */
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1627  		for (vp_id = 0; vp_id < vdev->no_of_vpath; vp_id++) {
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1628  			while (test_bit(vp_id, &vdev->vp_reset))
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1629  				msleep(50);
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1630  		}
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1631  
2e41f6449c561e drivers/net/vxge/vxge-main.c Jon Mason       2010-12-10  1632  		netif_carrier_on(vdev->ndev);
2e41f6449c561e drivers/net/vxge/vxge-main.c Jon Mason       2010-12-10  1633  
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1634  		/* if execution mode is set to debug, don't reset the adapter */
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1635  		if (unlikely(vdev->exec_mode)) {
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1636  			vxge_debug_init(VXGE_ERR,
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1637  				"%s: execution mode is debug, returning..",
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1638  				vdev->ndev->name);
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1639  			clear_bit(__VXGE_STATE_CARD_UP, &vdev->state);
d03848e057cb33 drivers/net/vxge/vxge-main.c Jon Mason       2010-07-15  1640  			netif_tx_stop_all_queues(vdev->ndev);
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1641  			return 0;
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1642  		}
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1643  	}
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1644  
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1645  	if (event == VXGE_LL_FULL_RESET) {
4d2a5b406c02b2 drivers/net/vxge/vxge-main.c Jon Mason       2010-11-11  1646  		vxge_hw_device_wait_receive_idle(vdev->devh);
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1647  		vxge_hw_device_intr_disable(vdev->devh);
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1648  
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1649  		switch (vdev->cric_err_event) {
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1650  		case VXGE_HW_EVENT_UNKNOWN:
d03848e057cb33 drivers/net/vxge/vxge-main.c Jon Mason       2010-07-15  1651  			netif_tx_stop_all_queues(vdev->ndev);
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1652  			vxge_debug_init(VXGE_ERR,
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1653  				"fatal: %s: Disabling device due to"
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1654  				"unknown error",
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1655  				vdev->ndev->name);
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1656  			ret = -EPERM;
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1657  			goto out;
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1658  		case VXGE_HW_EVENT_RESET_START:
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1659  			break;
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1660  		case VXGE_HW_EVENT_RESET_COMPLETE:
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1661  		case VXGE_HW_EVENT_LINK_DOWN:
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1662  		case VXGE_HW_EVENT_LINK_UP:
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1663  		case VXGE_HW_EVENT_ALARM_CLEARED:
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1664  		case VXGE_HW_EVENT_ECCERR:
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1665  		case VXGE_HW_EVENT_MRPCIM_ECCERR:
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1666  			ret = -EPERM;
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1667  			goto out;
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1668  		case VXGE_HW_EVENT_FIFO_ERR:
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1669  		case VXGE_HW_EVENT_VPATH_ERR:
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1670  			break;
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1671  		case VXGE_HW_EVENT_CRITICAL_ERR:
d03848e057cb33 drivers/net/vxge/vxge-main.c Jon Mason       2010-07-15  1672  			netif_tx_stop_all_queues(vdev->ndev);
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1673  			vxge_debug_init(VXGE_ERR,
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1674  				"fatal: %s: Disabling device due to"
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1675  				"serious error",
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1676  				vdev->ndev->name);
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1677  			/* SOP or device reset required */
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1678  			/* This event is not currently used */
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1679  			ret = -EPERM;
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1680  			goto out;
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1681  		case VXGE_HW_EVENT_SERR:
d03848e057cb33 drivers/net/vxge/vxge-main.c Jon Mason       2010-07-15  1682  			netif_tx_stop_all_queues(vdev->ndev);
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1683  			vxge_debug_init(VXGE_ERR,
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1684  				"fatal: %s: Disabling device due to"
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1685  				"serious error",
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1686  				vdev->ndev->name);
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1687  			ret = -EPERM;
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1688  			goto out;
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1689  		case VXGE_HW_EVENT_SRPCIM_SERR:
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1690  		case VXGE_HW_EVENT_MRPCIM_SERR:
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1691  			ret = -EPERM;
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1692  			goto out;
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1693  		case VXGE_HW_EVENT_SLOT_FREEZE:
d03848e057cb33 drivers/net/vxge/vxge-main.c Jon Mason       2010-07-15  1694  			netif_tx_stop_all_queues(vdev->ndev);
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1695  			vxge_debug_init(VXGE_ERR,
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1696  				"fatal: %s: Disabling device due to"
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1697  				"slot freeze",
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1698  				vdev->ndev->name);
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1699  			ret = -EPERM;
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1700  			goto out;
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1701  		default:
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1702  			break;
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1703  
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1704  		}
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1705  	}
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1706  
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1707  	if ((event == VXGE_LL_FULL_RESET) || (event == VXGE_LL_START_RESET))
d03848e057cb33 drivers/net/vxge/vxge-main.c Jon Mason       2010-07-15  1708  		netif_tx_stop_all_queues(vdev->ndev);
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1709  
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1710  	if (event == VXGE_LL_FULL_RESET) {
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01 @1711  		status = vxge_reset_all_vpaths(vdev);
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1712  		if (status != VXGE_HW_OK) {
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1713  			vxge_debug_init(VXGE_ERR,
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1714  				"fatal: %s: can not reset vpaths",
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1715  				vdev->ndev->name);
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1716  			ret = -EPERM;
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1717  			goto out;
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1718  		}
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1719  	}
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1720  
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1721  	if (event == VXGE_LL_COMPL_RESET) {
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1722  		for (i = 0; i < vdev->no_of_vpath; i++)
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1723  			if (vdev->vpaths[i].handle) {
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1724  				if (vxge_hw_vpath_recover_from_reset(
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1725  					vdev->vpaths[i].handle)
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1726  						!= VXGE_HW_OK) {
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1727  					vxge_debug_init(VXGE_ERR,
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1728  						"vxge_hw_vpath_recover_"
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1729  						"from_reset failed for vpath: "
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1730  						"%d", i);
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1731  					ret = -EPERM;
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1732  					goto out;
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1733  				}
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1734  				} else {
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1735  					vxge_debug_init(VXGE_ERR,
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1736  					"vxge_hw_vpath_reset failed for "
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1737  						"vpath:%d", i);
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1738  					ret = -EPERM;
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1739  					goto out;
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1740  				}
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1741  	}
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1742  
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1743  	if ((event == VXGE_LL_FULL_RESET) || (event == VXGE_LL_COMPL_RESET)) {
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1744  		/* Reprogram the DA table with populated mac addresses */
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1745  		for (vp_id = 0; vp_id < vdev->no_of_vpath; vp_id++) {
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1746  			vxge_restore_vpath_mac_addr(&vdev->vpaths[vp_id]);
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1747  			vxge_restore_vpath_vid_table(&vdev->vpaths[vp_id]);
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1748  		}
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1749  
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1750  		/* enable vpath interrupts */
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1751  		for (i = 0; i < vdev->no_of_vpath; i++)
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1752  			vxge_vpath_intr_enable(vdev, i);
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1753  
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1754  		vxge_hw_device_intr_enable(vdev->devh);
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1755  
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1756  		smp_wmb();
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1757  
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1758  		/* Indicate card up */
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1759  		set_bit(__VXGE_STATE_CARD_UP, &vdev->state);
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1760  
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1761  		/* Get the traffic to flow through the vpaths */
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1762  		for (i = 0; i < vdev->no_of_vpath; i++) {
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1763  			vxge_hw_vpath_enable(vdev->vpaths[i].handle);
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1764  			smp_wmb();
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1765  			vxge_hw_vpath_rx_doorbell_init(vdev->vpaths[i].handle);
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1766  		}
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1767  
d03848e057cb33 drivers/net/vxge/vxge-main.c Jon Mason       2010-07-15  1768  		netif_tx_wake_all_queues(vdev->ndev);
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1769  	}
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1770  
16fded7da2cefc drivers/net/vxge/vxge-main.c Jon Mason       2011-01-18  1771  	/* configure CI */
16fded7da2cefc drivers/net/vxge/vxge-main.c Jon Mason       2011-01-18  1772  	vxge_config_ci_for_tti_rti(vdev);
16fded7da2cefc drivers/net/vxge/vxge-main.c Jon Mason       2011-01-18  1773  
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1774  out:
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1775  	vxge_debug_entryexit(VXGE_TRACE,
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1776  		"%s:%d  Exiting...", __func__, __LINE__);
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1777  
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1778  	/* Indicate reset done */
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1779  	if ((event == VXGE_LL_FULL_RESET) || (event == VXGE_LL_COMPL_RESET))
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1780  		clear_bit(__VXGE_STATE_RESET_CARD, &vdev->state);
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1781  	return ret;
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1782  }
703da5a1a231d8 drivers/net/vxge/vxge-main.c Ramkrishna Vepa 2009-04-01  1783  

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

Download attachment ".config.gz" of type "application/gzip" (42725 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ