DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas@monjalon.net>
To: Kevin Wilson <wkevils@gmail.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] Kernel Module dependency in DPDK 18.05-rc5 and earlier DPDK releases
Date: Fri, 25 May 2018 13:21:18 +0200	[thread overview]
Message-ID: <2384240.a6VFuv6gqB@xps> (raw)
In-Reply-To: <CAGXs5wXJ4EYjkKvZdh6O8stw1zvYc4srTwjJsUhheC5vAZbqDQ@mail.gmail.com>

25/05/2018 11:55, Kevin Wilson:
> Hi,
> 
> I am facing the following issue in DPDK 18.05-rc5 (I saw it also with earlier
> releases of DPDK from the last year). The issue is with defining
> dependency on a kernel module in a PMD.
> I want to develop a PMD which requiers that before running DPDK app which
> uses this PMD, a specified kernel module is required to be insmoded.
> I tried to add a call to RTE_PMD_REGISTER_KMOD_DEP in my PMD,
> specifying a required
> kernel module, and I expected that when calling a DPDK app which uses
> this PMD it will shout that such a kernel module is not loaded, but this did not
> happen.

No such check is implemented currently.
You can try to implement a check in EAL in the probing function.

  reply	other threads:[~2018-05-25 11:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-25  9:55 Kevin Wilson
2018-05-25 11:21 ` Thomas Monjalon [this message]
2018-05-25 13:20   ` Kevin Wilson
2018-05-25 13:57     ` Bruce Richardson
2018-05-25 14:54       ` Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2384240.a6VFuv6gqB@xps \
    --to=thomas@monjalon.net \
    --cc=dev@dpdk.org \
    --cc=wkevils@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).