> -----Original Message----- > From: Mittal, Anuj <[email protected]> > Sent: Friday, December 4, 2020 19:03 > To: Liu, Yongxin <[email protected]>; meta- > [email protected] > Subject: Re: [meta-intel] [meta-dpdk][PATCH] dpdk/19.11: fix binding for > built-in kernel drivers > > [Please note this e-mail is from an EXTERNAL e-mail address] > > Hello > > On Fri, 2020-12-04 at 16:42 +0800, Yongxin Liu wrote: > > Since commit 681a67288655 ("usertools: check if module is loaded > > before binding") in dpdk, usertools/dpdk-devbind.py only checks > > dynamic kernel drivers in /sys/module. So built-in kernel driver > > cannot be bound. > > > > Add "usertools-devbind-fix-binding-for-built-in-kernel-dr.patch" to > > fix this issue. > > > > Signed-off-by: Yongxin Liu <[email protected]> > > --- > > ...evbind-fix-binding-for-built-in-kernel-dr.patch | 54 > > ++++++++++++++++++++++ > > 1 file changed, 54 insertions(+) > > The patch isn't included in recipe. > > ... > > > + > > +A driver can be loaded as a dynamic module or a built-in module. > > +In commit 681a67288655 ("usertools: check if module is loaded before > > +binding"), script only checks modules in /sys/module/. > > + > > +However, for built-in kernel driver, it only shows up in > > /sys/module/, > > +if it has a version or at least one parameter. So add check for > > +modules in /lib/modules/$(uname -r)/modules.builtin. > > + > > +Upstream-Status: Pending [https://patches.dpdk.org/patch/84454] > > + > > This should be Submitted instead of Pending.
Thanks for your review. Sorry for my carelessness. Will send v2. --Yongxin > > Thanks, > > Anuj
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#6838): https://lists.yoctoproject.org/g/meta-intel/message/6838 Mute This Topic: https://lists.yoctoproject.org/mt/78705504/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
