On Mon, Apr 15, 2019 at 5:40 PM Andrzej Pietrasiewicz
wrote:
>
> Hi Peter,
>
>
>
> >>
> >> Can you please describe your use case?
> >>
> >> Andrzej
> >
> > I would like to change parameters for function driver through configfs,
> > below is the example for ncm and f_sourcesink cases,
> > thanks.
Hi Peter,
Can you please describe your use case?
Andrzej
I would like to change parameters for function driver through configfs, below
is the example for ncm and f_sourcesink cases,
thanks.
if [ "$FUNC" == "ncm" ]; then
mkdir functions/$FUNC".0"
ln -s functions/$FUNC".0" configs/c.1
echo
> >
> >>>
> >>> Andrzej, would you tell us why you introduce refcnt for driver's
> >>> configfs opts? And why it is needed to judge for "store" operation?
> >>>
> >>
> >> The reason is that a function can be linked to more than one
> >> configuration. Imagine this sequence: you create a function,