search for: ifcvf_mdev_set_features

Displaying 5 results from an estimated 5 matches for "ifcvf_mdev_set_features".

2019 Oct 21
0
[RFC 2/2] vhost: IFC VF vdpa layer
...can't get any update through its firmware? > > Hi Jason, > > Thanks for your comments, for now driver just support these features. Ok, it should work but less flexible, we can change it in the future. > >> >> >>> +} >>> + >>> +static int ifcvf_mdev_set_features(struct mdev_device *mdev, u64 >>> features) >>> +{ >>> +??? struct ifcvf_adapter *adapter = mdev_get_drvdata(mdev); >>> +??? struct ifcvf_hw *vf = IFC_PRIVATE_TO_VF(adapter); >>> + >>> +??? vf->req_features = features; >>> + >&gt...
2019 Oct 22
0
[RFC 2/2] vhost: IFC VF vdpa layer
...on and removal. >>>>> >>>>> Signed-off-by: Zhu Lingshan <lingshan.zhu at intel.com> >>>>> --- [...] >> >> >>> >>>> >>>> >>>>> +} >>>>> + >>>>> +static int ifcvf_mdev_set_features(struct mdev_device *mdev, u64 >>>>> features) >>>>> +{ >>>>> +??? struct ifcvf_adapter *adapter = mdev_get_drvdata(mdev); >>>>> +??? struct ifcvf_hw *vf = IFC_PRIVATE_TO_VF(adapter); >>>>> + >>>>> +??? vf-&gt...
2019 Oct 23
0
[RFC 2/2] vhost: IFC VF vdpa layer
...om> >>>>>>> --- >> >> >> [...] >> >> >>>> >>>> >>>>> >>>>>> >>>>>> >>>>>>> +} >>>>>>> + >>>>>>> +static int ifcvf_mdev_set_features(struct mdev_device *mdev, >>>>>>> u64 features) >>>>>>> +{ >>>>>>> +??? struct ifcvf_adapter *adapter = mdev_get_drvdata(mdev); >>>>>>> +??? struct ifcvf_hw *vf = IFC_PRIVATE_TO_VF(adapter); >>>>>&gt...
2019 Oct 16
0
[RFC 2/2] vhost: IFC VF vdpa layer
...+ return IRQ_HANDLED; > +} > + > +static u64 ifcvf_mdev_get_features(struct mdev_device *mdev) > +{ > + return IFC_SUPPORTED_FEATURES; I would expect this should be done by querying the hw. Or IFC VF can't get any update through its firmware? > +} > + > +static int ifcvf_mdev_set_features(struct mdev_device *mdev, u64 features) > +{ > + struct ifcvf_adapter *adapter = mdev_get_drvdata(mdev); > + struct ifcvf_hw *vf = IFC_PRIVATE_TO_VF(adapter); > + > + vf->req_features = features; > + > + return 0; > +} > + > +static u64 ifcvf_mdev_get_vq_state(struc...
2019 Nov 06
0
[PATCH 2/2] IFC VDPA layer
...return vring->cb.callback(vring->cb.private); > + > + return IRQ_HANDLED; > +} > + > +static u64 ifcvf_mdev_get_features(struct mdev_device *mdev) > +{ > + struct ifcvf_hw *vf = mdev_to_vf(mdev); > + > + return ifcvf_get_features(vf); > +} > + > +static int ifcvf_mdev_set_features(struct mdev_device *mdev, u64 features) > +{ > + struct ifcvf_hw *vf = mdev_to_vf(mdev); > + > + vf->req_features = features; > + > + return 0; > +} > + > +static u64 ifcvf_mdev_get_vq_state(struct mdev_device *mdev, u16 qid) > +{ > + struct ifcvf_hw *vf = mdev_t...