DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Query: decouple the driver and library components
@ 2017-09-19 20:52 Kushal Gautam
  2017-09-19 21:19 ` Wiles, Keith
  0 siblings, 1 reply; 2+ messages in thread
From: Kushal Gautam @ 2017-09-19 20:52 UTC (permalink / raw)
  To: users

Hi:

I am new to DPDK. I had been looking at the i40e driver implementation of
DPDK. I see that the code is entirely revamped as compared to the original
i40e-driver.

My query is that is it possible for me to use this i40e driver(in dpdk
source code package) without other non-essential dependencies or in plain
words, can I decouple these components ? I am more interested in the
pollmode driver. My concern was on the jitter introduced by regular
drivers. I did modify the original i40e driver for this, but things did not
work out as I wanted to.

I understand that this driver package depends on various other libraries
that are bundled with the source code. So, could I decouple these
components ( for example; the libraries and the driver module) ?

Any information on this would be very helpful.

Thanks,
Kushal.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-users] Query: decouple the driver and library components
  2017-09-19 20:52 [dpdk-users] Query: decouple the driver and library components Kushal Gautam
@ 2017-09-19 21:19 ` Wiles, Keith
  0 siblings, 0 replies; 2+ messages in thread
From: Wiles, Keith @ 2017-09-19 21:19 UTC (permalink / raw)
  To: Kushal Gautam; +Cc: users


> On Sep 19, 2017, at 3:52 PM, Kushal Gautam <kushal.gautam@gmail.com> wrote:
> 
> Hi:
> 
> I am new to DPDK. I had been looking at the i40e driver implementation of
> DPDK. I see that the code is entirely revamped as compared to the original
> i40e-driver.
> 
> My query is that is it possible for me to use this i40e driver(in dpdk
> source code package) without other non-essential dependencies or in plain
> words, can I decouple these components ? I am more interested in the
> pollmode driver. My concern was on the jitter introduced by regular
> drivers. I did modify the original i40e driver for this, but things did not
> work out as I wanted to.
> 
> I understand that this driver package depends on various other libraries
> that are bundled with the source code. So, could I decouple these
> components ( for example; the libraries and the driver module) ?

DPDK PMDs are not standalone drivers and do require a fair number of DPDK headers and libraries. The i40e I believe does have core set of files that are generic across a number of OSes and systems. Intel provides the core code and DPDK PMD integrates with this core code by writing the DPDK PMD routines. I guess it is possible to take the core code and try to integrate to that level. As for taking the DPDK PMD as is will not be a simple task IMHO.

DPDK does provide external memory management for hardware and software designs in the mempool, which could allow you to add you memory allocation and your mbuf like wrapper around that memory. This was why it was added to DPDK to help developers with their own system to pull in DPDK for the PMDs.

Some parts of DPDK are kind of standalone, but no effort has been done to make them completely standalone libraries. IMO making it completely standalone set of libraries will add overhead (reduce performance) and a lot pain for the developers/users of DPDK integrate existing designs.

> 
> Any information on this would be very helpful.
> 
> Thanks,
> Kushal.

Regards,
Keith

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-09-19 21:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-19 20:52 [dpdk-users] Query: decouple the driver and library components Kushal Gautam
2017-09-19 21:19 ` Wiles, Keith

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).