Skip to contentSkip to conversation

PMD for Cisco VIC Ethernet NIC - Request for guidelines for submission

DISCUSSION Sujith Sankar (ssujith) 2 participants 3 messages May 28, 2014 – May 29, 2014 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Hi all,

We have been working on development of poll-mode driver for Cisco VIC Ethernet NIC and integration of it with DPDK. We would like to submit this poll-mode driver (ENIC PMD) to the DPDK community so that it could be part of the DPDK tree.

Could someone please provide the guidelines and steps to do this? As of now, ENIC PMD is being tested with DPDK 1.6.0r2. Is it alright to submit a patch for DPDK 1.6.0r2?

One aspect of ENIC PMD is that it works with VFIO-PCI and not UIO. Hope this is acceptable. The following thread in dpdk-dev influenced this decision.
http://dpdk.org/ml/archives/dev/2013-July/000373.html

ENIC PMD uses one interrupt per interface and it is used by the NIC for signalling the driver in case of any error. Since this does not come in the fast path, it should be acceptable, isn¹t it?

Please give your suggestions and comments.

Thanks,
-Sujith

A message that is not in the archive (sent off-list or not yet received): CFAB7A96.19CB4%[email protected]

#2 lore raw

Hi Sujith,

Quoted 3 lines

One aspect of ENIC PMD is that it works with VFIO-PCI and not UIO. Hope this is acceptable. The following thread in dpdk-dev influenced this decision.
http://dpdk.org/ml/archives/dev/2013-July/000373.html

You may find this [1] patchset interesting. Basically, it adds native support for VFIO to do the binding and unbinding in DPDK. Whether it fits your purposes depends on your code, but hopefully you'll be able to simplify your code.

[1] http://dpdk.org/ml/archives/dev/2014-May/002568.html

Best regards,
Anatoly Burakov
DPDK SW Engineer

A message that is not in the archive (sent off-list or not yet received): C6ECDF3AB251BE4894318F4E451236976CC9583E-kPTMFJFq+rF9qrmMLTLiibfspsVTdybXVpNB7YpNyf8@public.gmane.org

#4 lore raw

Thank you Anatoly !
I¹ll take a look at it and get back in case of questions.

-Sujith

Quoted 20 lines · Anatoly

Hi Sujith,

Quoted 4 lines

One aspect of ENIC PMD is that it works with VFIO-PCI and not UIO. Hope this is acceptable. The following thread in dpdk-dev influenced this decision.
http://dpdk.org/ml/archives/dev/2013-July/000373.html

You may find this [1] patchset interesting. Basically, it adds native support for VFIO to do the binding and unbinding in DPDK. Whether it fits your purposes depends on your code, but hopefully you'll be able to simplify your code.

[1] http://dpdk.org/ml/archives/dev/2014-May/002568.html

Best regards,
Anatoly Burakov
DPDK SW Engineer