From: Thomas Monjalon <thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
To: "John W. Linville" <linville-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org>
Cc: dev-VfR2kkLFssw@public.gmane.org
Subject: Re: [PATCH] librte_pmd_af_packet: add compile-time checks for kernel-specific options
Date: Fri, 05 Dec 2014 22:14:52 +0100 [thread overview]
Message-ID: <1857540.S8Y96DUbY1@xps13> (raw)
In-Reply-To: <128892442.7P4I1l0Tzy@xps13>
2014-12-05 17:37, Thomas Monjalon:
> 2014-12-05 11:24, John W. Linville:
> > On Fri, Dec 05, 2014 at 10:30:53AM +0100, Thomas Monjalon wrote:
> > > Hi John,
> > >
> > > 2014-12-04 16:42, John W. Linville:
> > > > This allows the PMD to compile with kernels that don't support the
> > > > options in question. The "#if defined(...)" lines are a bit ugly,
> > > > but I don't know of any better way to accomplish the task.
> > > >
> > > > Signed-off-by: John W. Linville <linville-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org>
> > > > ---
> > > > lib/librte_pmd_af_packet/rte_eth_af_packet.c | 16 ++++++++++++----
> > > > 1 file changed, 12 insertions(+), 4 deletions(-)
> > >
> > > Is it possible to enable compilation of this PMD in default configuration?
> > > I guess it shouldn't fail anymore with this patch?
> >
> > Yes, I believe so. I checked the kernel git history for when each
> > definition was included. Everything else was older than the 2.6.32
> > kernel.
> >
> > I think you can reenable this PMD in the common_linuxapp config file
> > if you like. I'll send a patch if you prefer for me to do so.
>
> OK, I'm going do it.
Applied with default config change to enable the PMD.
Thanks
--
Thomas
prev parent reply other threads:[~2014-12-05 21:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-04 21:42 [PATCH] librte_pmd_af_packet: add compile-time checks for kernel-specific options John W. Linville
[not found] ` <1417729325-9410-1-git-send-email-linville-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org>
2014-12-05 3:46 ` Neil Horman
2014-12-05 9:30 ` Thomas Monjalon
2014-12-05 16:24 ` John W. Linville
[not found] ` <20141205162453.GB28319-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org>
2014-12-05 16:37 ` Thomas Monjalon
2014-12-05 17:29 ` Accessing Virtual Function Device on Guest Machine using VFIO Aashima Arora
[not found] ` <ba8c3baac3b4430dac0f007f6da0c564-AcH5Oudqfb99HHjWtI06IMyo0RDPibkP@public.gmane.org>
2014-12-05 18:08 ` Thomas Monjalon
2014-12-05 18:42 ` Neil Horman
2014-12-05 21:14 ` Thomas Monjalon [this message]
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=1857540.S8Y96DUbY1@xps13 \
--to=thomas.monjalon-pdr9zngts4eavxtiumwx3w@public.gmane.org \
--cc=dev-VfR2kkLFssw@public.gmane.org \
--cc=linville-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.