virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
  • [parent not found: <20210419063326.3748-3-lingshan.zhu@intel.com>]
  • * Re: [PATCH V4 0/3] vDPA/ifcvf: enables Intel C5000X-PL virtio-blk
           [not found] <20210419063326.3748-1-lingshan.zhu@intel.com>
           [not found] ` <20210419063326.3748-2-lingshan.zhu@intel.com>
           [not found] ` <20210419063326.3748-3-lingshan.zhu@intel.com>
    @ 2021-11-24 15:39 ` Stefano Garzarella
      2 siblings, 0 replies; 3+ messages in thread
    From: Stefano Garzarella @ 2021-11-24 15:39 UTC (permalink / raw)
      To: Zhu Lingshan
      Cc: Cindy Lu, kvm, Michael Tsirkin, netdev, kernel list,
    	Linux Virtualization, Zhu Lingshan
    
    Hi Zhu,
    
    On Mon, Apr 19, 2021 at 8:39 AM Zhu Lingshan <lingshan.zhu@intel.com> wrote:
    >
    > This series enabled Intel FGPA SmartNIC C5000X-PL virtio-blk for vDPA.
    
    Looking at the IFCVF upstream vDPA driver (with this series applied), it 
    seems that there is still some cleaning to be done to support virtio-blk 
    devices:
    
    - ifcvf_vdpa_get_config() and ifcvf_vdpa_set_config() use
      `sizeof(struct virtio_net_config)` to check the inputs.
      This seems wrong for a virtio-blk device. Maybe we can set the config
      size for each device in ifcvf_vdpa_dev_add() and use that field to
      check the inputs. We can reuse the same field also in
      ifcvf_vdpa_get_config_size().
    
    - Just for make the code more readable we should rename `net_cfg` field
      to `device_cfg`in `struct ifcvf_hw`.
    
    What do you think?
    
    Thanks,
    Stefano
    
    _______________________________________________
    Virtualization mailing list
    Virtualization@lists.linux-foundation.org
    https://lists.linuxfoundation.org/mailman/listinfo/virtualization
    
    ^ permalink raw reply	[flat|nested] 3+ messages in thread

  • end of thread, other threads:[~2021-11-24 15:39 UTC | newest]
    
    Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <20210419063326.3748-1-lingshan.zhu@intel.com>
         [not found] ` <20210419063326.3748-2-lingshan.zhu@intel.com>
    2021-04-20  2:56   ` [PATCH V4 1/3] vDPA/ifcvf: deduce VIRTIO device ID when probe Jason Wang
         [not found] ` <20210419063326.3748-3-lingshan.zhu@intel.com>
    2021-05-03  8:47   ` [PATCH V4 2/3] vDPA/ifcvf: enable Intel C5000X-PL virtio-block for vDPA Michael S. Tsirkin
    2021-11-24 15:39 ` [PATCH V4 0/3] vDPA/ifcvf: enables Intel C5000X-PL virtio-blk Stefano Garzarella
    

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