From: "Wiles, Keith" <keith.wiles@intel.com>
To: "Yigit, Ferruh" <ferruh.yigit@intel.com>
Cc: raman geetha gopalakrishnan <glowingsun@gmail.com>,
"dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] Reg DPDK & PMD
Date: Wed, 8 Mar 2017 14:37:26 +0000 [thread overview]
Message-ID: <C0216DAD-BF02-4D47-9BFB-E444C71A1B86@intel.com> (raw)
In-Reply-To: <08e21158-c6bd-d390-8913-033f3f06bb8e@intel.com>
> On Mar 8, 2017, at 8:25 AM, Ferruh Yigit <ferruh.yigit@intel.com> wrote:
>
> On 3/8/2017 1:35 PM, raman geetha gopalakrishnan wrote:
>> Hi All,
>>
>> I have the following basic question. Hope to get an answer / link where i
>> can get myself clear.
>>
>> 1. In DPDK PMD is optimized driver for an given NIC to get maximum
>> performance.
>> That being the case why we are talking about DPDK supported NICs.
>>
>> A) My assumption is that NIC interface is standardized so that PMD
>> should actually work with any NIC (barring some NIC specific performance
>> tweaks)
>> is that correct?
>
> PMDs (Poll Mode Drivers) are _real_ device drivers, they are not an
> optimization layer on top off a standardized interface, they deal
> directly with hardware, so needs to be specific to hardware.
>
>>
>> B) if #A is correct , how can i make changes to PMD to support any NIC
>> ?
>>
>> if i have to put the above question in different way then it is
>>
>> 2. what is preventing us from having a common PMD layer for all NICs and
>> additional PMD specific to each NIC???
Another minor point is DPDK has a generic API layer for the ethernet NICs it is called ethdev with a set of standard APIs for the application. The PMDs attached themselves to the ethdev using standardized APIs, which is about as close we can get to a standard interface to PMDs/hardware.
>>
>> Thanks
>> Raman
>>
>
Regards,
Keith
prev parent reply other threads:[~2017-03-08 14:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-08 13:35 raman geetha gopalakrishnan
2017-03-08 14:16 ` Bruce Richardson
2017-03-09 3:16 ` raman geetha gopalakrishnan
2017-03-08 14:25 ` Ferruh Yigit
2017-03-08 14:37 ` Wiles, Keith [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=C0216DAD-BF02-4D47-9BFB-E444C71A1B86@intel.com \
--to=keith.wiles@intel.com \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@intel.com \
--cc=glowingsun@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).