patches for DPDK stable branches
 help / color / mirror / Atom feed
  • * [dpdk-stable] [PATCH] igb_uio: remove PCI reset during uio device open
           [not found] <F5DF4F0E3AFEF648ADC1C3C33AD4DBF16F7E0E71@SHSMSX101.ccr.corp.intel.com>
           [not found] ` <D5DED7B9.160793%Harish.Patil@cavium.com>
    @ 2017-09-19 10:24 ` Shijith Thotton
      2017-09-20 16:52   ` Ferruh Yigit
                         ` (3 more replies)
      1 sibling, 4 replies; 12+ messages in thread
    From: Shijith Thotton @ 2017-09-19 10:24 UTC (permalink / raw)
      To: dev
      Cc: Ferruh Yigit, Thomas Monjalon, Yang, Qiming, Patil, Harish,
    	Zhang, Helin, Gregory Etelson, Tan, Jianfeng, Hu, Xuekun, Li,
    	Xiaoyun, Thotton, Shijith, stable
    
    Issuing reset during uio device open caused PMD init failure for some
    NIC VFs (i40, ixgbe, qede) in host. So this initial reset is removed.
    Bus master enable is kept as part of open since we disable it in uio
    device release.
    
    Fixes: b58eedfc7dd5 ("igb_uio: issue FLR during open and release of device file")
    Cc: stable@dpdk.org
    
    Signed-off-by: Shijith Thotton <shijith.thotton@caviumnetworks.com>
    ---
     lib/librte_eal/linuxapp/igb_uio/igb_uio.c | 4 +---
     1 file changed, 1 insertion(+), 3 deletions(-)
    
    diff --git a/lib/librte_eal/linuxapp/igb_uio/igb_uio.c b/lib/librte_eal/linuxapp/igb_uio/igb_uio.c
    index 07a19a3..a6c2996 100644
    --- a/lib/librte_eal/linuxapp/igb_uio/igb_uio.c
    +++ b/lib/librte_eal/linuxapp/igb_uio/igb_uio.c
    @@ -179,9 +179,7 @@ struct rte_uio_pci_dev {
     	struct rte_uio_pci_dev *udev = info->priv;
     	struct pci_dev *dev = udev->pdev;
     
    -	pci_reset_function(dev);
    -
    -	/* set bus master, which was cleared by the reset function */
    +	/* enable bus mastering on the device */
     	pci_set_master(dev);
     
     	return 0;
    -- 
    1.8.3.1
    
    ^ permalink raw reply	[flat|nested] 12+ messages in thread

  • end of thread, other threads:[~2017-10-13 14:37 UTC | newest]
    
    Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
    -- links below jump to the message on this page --
         [not found] <F5DF4F0E3AFEF648ADC1C3C33AD4DBF16F7E0E71@SHSMSX101.ccr.corp.intel.com>
         [not found] ` <D5DED7B9.160793%Harish.Patil@cavium.com>
         [not found]   ` <F5DF4F0E3AFEF648ADC1C3C33AD4DBF16F7EA3EB@SHSMSX151.ccr.corp.intel.com>
    2017-09-15  8:42     ` [dpdk-stable] [dpdk-dev] vf init issue with patch igb_uio: issue FLR during open and release of device file Thomas Monjalon
    2017-09-15  9:18       ` Yang, Qiming
    2017-09-15  9:25         ` Ferruh Yigit
    2017-09-15  9:31         ` Shijith Thotton
    2017-09-19 10:24 ` [dpdk-stable] [PATCH] igb_uio: remove PCI reset during uio device open Shijith Thotton
    2017-09-20 16:52   ` Ferruh Yigit
    2017-09-21 10:00   ` [dpdk-stable] [dpdk-dev] " Luca Boccassi
    2017-09-22  2:47   ` [dpdk-stable] " Yang, Qiming
    2017-09-29 12:57   ` [dpdk-stable] [dpdk-dev] " Wu, Jingjing
    2017-10-02 18:24     ` Shijith Thotton
    2017-10-03 11:35       ` Gregory Etelson
    2017-10-13 14:36         ` Shijith Thotton
    

    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).