path: root/drivers/net/Makefile
AgeCommit message (Collapse)Author
2019-03-01net/iavf: rename remaining avf stringsLeyi Rong
This is the main patch which renames the macros, functions, structs and any remaining strings in the iavf code. Signed-off-by: Leyi Rong <> Reviewed-by: Ferruh Yigit <>
2019-03-01net/iavf: rename avf to iavfLeyi Rong
Rename Intel Ethernet Adaptive Virtual Function driver avf to iavf. This is the first patch which will only renames the directory name, lib name, filenames and updates the new name in makefile and meson files. Also updates the #include files in source files. Signed-off-by: Leyi Rong <> Reviewed-by: Ferruh Yigit <>
2018-12-21net/ice: support device initializationWenzhuo Lu
Update the documents too. Signed-off-by: Wenzhuo Lu <> Signed-off-by: Qiming Yang <> Signed-off-by: Xiaoyun Li <> Signed-off-by: Jingjing Wu <> Reviewed-by: Ferruh Yigit <> Reviewed-by: Qi Zhang <>
2018-10-18net/atlantic: add PMD driver skeletonPavel Belous
Makefile/meson build infrastructure, atl_ethdev minimal skeleton, header with aquantia aQtion NIC device and vendor IDs. Signed-off-by: Igor Russkikh <> Signed-off-by: Pavel Belous <>
2018-10-11net/enetc: add PMD with basic operationsGagandeep Singh
This patch introduces the enetc PMD with basic initialisation functions includes probe, teardown, hardware initialisation Signed-off-by: Gagandeep Singh <> Acked-by: Shreyansh Jain <> Reviewed-by: Ferruh Yigit <>
2018-10-11net/mvneta: add PMD skeletonZyta Szpak
Add neta pmd driver skeleton providing base for the further development. Signed-off-by: Natalie Samsonov <> Signed-off-by: Yelena Krivosheev <> Signed-off-by: Dmitri Epshtein <> Signed-off-by: Zyta Szpak <> Signed-off-by: Andrzej Ostruszka <> Reviewed-by: Ferruh Yigit <>
2018-07-13net/netvsc: add Hyper-V network deviceStephen Hemminger
The driver supports Hyper-V networking directly like virtio for KVM or vmxnet3 for VMware. This code is based off of the FreeBSD driver. The file and variable names are kept the same to help with understanding (with most of the BSD style warts removed). This version supports the latest NetVSP 6.1 version and older versions. Signed-off-by: Haiyang Zhang <> Signed-off-by: Stephen Hemminger <>
2018-06-14net/ifc: make driver name consistentXiao Wang
Make the compiler switch name and document name consistent as ``ifc`` to avoid confusion. Also rename the map file to standard name for meson build in the process. Signed-off-by: Xiao Wang <> Signed-off-by: Bruce Richardson <>
2018-04-27net/ifcvf: add ifcvf vDPA driverXiao Wang
The IFCVF vDPA (vhost data path acceleration) driver provides support for the Intel FPGA 100G VF (IFCVF). IFCVF's datapath is virtio ring compatible, it works as a HW vhost backend which can send/receive packets to/from virtio directly by DMA. Different VF devices serve different virtio frontends which are in different VMs, so each VF needs to have its own DMA address translation service. During the driver probe a new container is created, with this container vDPA driver can program DMA remapping table with the VM's memory region information. Key vDPA driver ops implemented: - ifcvf_dev_config: Enable VF data path with virtio information provided by vhost lib, including IOMMU programming to enable VF DMA to VM's memory, VFIO interrupt setup to route HW interrupt to virtio driver, create notify relay thread to translate virtio driver's kick to a MMIO write onto HW, HW queues configuration. - ifcvf_dev_close: Revoke all the setup in ifcvf_dev_config. Live migration feature is supported by IFCVF and this driver enables it. For the dirty page logging, VF helps to log for packet buffer write, driver helps to make the used ring as dirty when device stops. Because vDPA driver needs to set up MSI-X vector to interrupt the guest, only vfio-pci is supported currently. Signed-off-by: Xiao Wang <> Signed-off-by: Rosen Xu <> Reviewed-by: Maxime Coquelin <> Reviewed-by: Ferruh Yigit <>
2018-04-14net/axgbe: add minimal init and uninit supportRavi Kumar
Add ethernet poll mode driver for AMD 10G devices embedded in AMD EPYC™ EMBEDDED 3000 family processors. Signed-off-by: Ravi Kumar <>
2018-03-30net/mrvl: rename PMD as mvpp2Natalie Samsonov
The name "mrvl" for Marvell PMD driver for PPv2 Marvell PPv2 (Packet Processor v2) 1/10 Gbps adapter is too generic and causes problem for adding new PMD drivers for other Marvell devices. Changed to "mvpp2" for specific Marvell PPv2 PMD. This patch doesn't introduce any change except renaming. Signed-off-by: Natalie Samsonov <> Acked-by: Ferruh Yigit <>
2018-03-14mk: fix dependencies of dpaaX driversHemant Agrawal
This patch fixes the build dependency of various dpaaX components, when the dpaa or fslmc bus is disabled, or VFIO is disabled. Fixes: 1ee9569576f6 ("config: enable dpaaX drivers for generic ARMv8") Cc: Reported-by: Yongseok Koh <> Suggested-by: Thomas Monjalon <> Signed-off-by: Hemant Agrawal <>
2018-01-21net/vdev_netvsc: introduce Hyper-V platform driverMatan Azrad
This patch lays the groundwork for this driver (draft documentation, copyright notices, code base skeleton and build system hooks). While it can be successfully compiled and invoked, it's an empty shell at this stage. Signed-off-by: Adrien Mazarguil <> Signed-off-by: Matan Azrad <>
2018-01-16net/avf: initialize PMDJingjing Wu
Signed-off-by: Jingjing Wu <>
2018-01-04drivers: use SPDX tag for Intel copyright filesBruce Richardson
Replace the BSD license header with the SPDX tag for files with only an Intel copyright on them. Signed-off-by: Bruce Richardson <>
2017-11-06mk: remove useless list of core librariesThomas Monjalon
When moving the library dependencies handling from top Makefiles to library Makefiles, the list core-libs became useless. Fixes: cbc12b0a96f5 ("mk: do not generate LDLIBS from directory dependencies") Signed-off-by: Thomas Monjalon <>
2017-10-24mk: do not generate LDLIBS from directory dependenciesOlivier Matz
The list of libraries in LDLIBS was generated from the DEPDIRS-xyz variable. This is valid when the subdirectory name match the library name, but it's not always the case, especially for PMDs. The patches removes this feature and explicitly adds the proper libraries in LDLIBS. Some DEPDIRS-xyz variables become useless, remove them. Reported-by: Gage Eads <> Signed-off-by: Olivier Matz <> Reviewed-by: Gage Eads <>
2017-10-23mempool/octeontx: move mbox from event to mempoolSantosh Shukla
Octeontx mempool pmd need mailbox for pool setup. That mailbox was defined at drivers/event/octeontx. So mempool has dependency on event/octeontx driver and commit:8700239f7767 has added make rule which makes sure event/* get build before mempool, but this rule introduces cyclic dependency and may create problem to future feature addition in drivers/Makefile. Same problem noticed and reported in below thread: The patch solves problem by moving mbox definition from drivers/event/octeontx to drivers/mempool/octeontx. Moving mbox files involves below changes: * Renamed ssovf_mbox.[ch] --> octeontx_mbox.[ch] * Renamed ssovf_probe.c --> octeontx_ssovf.c * Introduced pool logger file. * Moved API from to * Respective Makefile changes done in drivers/event/octeontx/Makefile and drivers/mempool/octeontx/Makefile. Fixes: 8700239f7767 ("mempool/octeontx: add build and log infrastructure") Reported-by: Hemant Agrawal <> Signed-off-by: Santosh Shukla <> Tested-by: Hemant Agrawal <> Reviewed-by: Pavan Nikhilesh <>
2017-10-12net/softnic: add softnic PMDJasvinder Singh
Add SoftNIC PMD to provide SW fall-back for ethdev APIs. Signed-off-by: Cristian Dumitrescu <> Signed-off-by: Jasvinder Singh <> Acked-by: Thomas Monjalon <>
2017-10-12net/mrvl: add net PMD skeletonTomasz Duszynski
Add mrvl net pmd driver skeleton providing base for the further development. Besides the basic functionality QoS configuration is introduced as well. Signed-off-by: Jacek Siuda <> Signed-off-by: Tomasz Duszynski <>
2017-10-12net/octeontx: add build infrastructureJerin Jacob
Adding bare minimum PMD library and doc build infrastructure. Signed-off-by: Jerin Jacob <> Signed-off-by: Santosh Shukla <>
2017-10-09net/xenvirt: removeJianfeng Tan
Signed-off-by: Jianfeng Tan <> Acked-by: Bruce Richardson <>
2017-10-06config: enable NXP DPAA PMD compilationShreyansh Jain
Signed-off-by: Shreyansh Jain <>
2017-07-19net/failsafe: add fail-safe PMDGaetan Rivet
Introduce the fail-safe poll mode driver initialization and enable its build infrastructure. This PMD allows for applications to benefit from true hot-plugging support without having to implement it. It intercepts and manages Ethernet device removal events issued by slave PMDs and re-initializes them transparently when brought back. It also allows defining a contingency to the removal of a device, by designating a fail-over device that will take on transmitting operations if the preferred device is removed. Applications only see a fail-safe instance, without caring for underlying activity ensuring their continued operations. Signed-off-by: Gaetan Rivet <> Acked-by: Olga Shern <>
2017-04-19net/dpaa2: introduce NXP DPAA2 driverHemant Agrawal
add support for fsl-mc bus based dpaa2 pmd driver. Signed-off-by: Hemant Agrawal <>
2017-04-19net/ark: stub PMD for Atomic Rules ArkvilleEd Czeck
Enable Arkville on supported configurations Add overview documentation Minimum driver support for valid compile Arkville PMD is not supported on ARM or PowerPC at this time Signed-off-by: Ed Czeck <> Signed-off-by: John Miller <>
2017-04-06drivers/net: remove unused DEPDIRS from makefilesFerruh Yigit
Signed-off-by: Ferruh Yigit <>
2017-04-06net/thunderx: disable PMD for old compilersFerruh Yigit
Disable for gcc < 4.7 and icc <= 14.0 PMD uses some compiler builtins and new compiler options. Tested with gcc 4.5.1 and following were not supported: option: -Ofast macros: _Static_assert __ORDER_LITTLE_ENDIAN__ __ORDER_BIG_ENDIAN__ __BYTE_ORDER__ __atomic_fetch_add __ATOMIC_ACQUIRE __atomic_load_n __ATOMIC_RELAXED __atomic_store_n __ATOMIC_RELEASE It is not easy to fix all in PMD, disabling PMD for older compilers. Signed-off-by: Ferruh Yigit <>
2017-04-04net/avp: add base filesAllain Legacy
This commit introduces the AVP PMD file structure without adding any actual driver functionality. Functional blocks will be added in later patches. Signed-off-by: Allain Legacy <> Signed-off-by: Matt Peters <> Acked-by: Vincent Jardin <>
2017-04-04net/liquidio: add skeletonShijith Thotton
Add makefile and config file options to compile PMD. Add feature and version map file. Update maintainers file to claim responsibility. Signed-off-by: Shijith Thotton <> Signed-off-by: Jerin Jacob <> Signed-off-by: Derek Chickles <> Signed-off-by: Venkat Koppula <> Signed-off-by: Srisivasubramanian S <> Signed-off-by: Mallesham Jatharakonda <>
2017-04-04net/kni: add KNI PMDFerruh Yigit
Add KNI PMD which wraps librte_kni for ease of use. KNI PMD can be used as any regular PMD to send / receive packets to the Linux networking stack. Signed-off-by: Ferruh Yigit <> Reviewed-by: Yong Wang <> Acked-by: Bruce Richardson <> Acked-by: Yong Wang <>
2017-03-28net/xenvirt: fix missing dependency on cmdline libBruce Richardson
Xenvirt driver uses the cmdline lib for parsing ether addresses so add it as a dependency to fix builds. Fixes: feb9f680cd2c ("mk: optimize directory dependencies") Signed-off-by: Bruce Richardson <>
2017-03-27mk: optimize directory dependenciesOlivier Matz
Before this patch, the management of dependencies between directories had several issues: - the generation of .depdirs, done at configuration is slow: it can take more than one minute on some slow targets (usually ~10s on a standard PC without -j). - for instance, it is possible to express a dependency like: - app/foo depends on lib/librte_foo - and lib/librte_foo depends on app/bar But this won't work because the directories are traversed with a depth-first algorithm, so we have to choose between doing 'app' before or after 'lib'. - the script is too complex. - we cannot use "make -d" for debug, because the output of make is used for the generation of .depdirs. This patch moves the DEPDIRS-* variables in the upper Makefile, making the dependencies much easier to calculate. A DEPDIRS variable is still used to process library dependencies in LDLIBS. After this commit, "make config" is almost immediate. Signed-off-by: Olivier Matz <> Tested-by: Robin Jarry <> Tested-by: Jerin Jacob <>
2017-03-15remove unmaintained TILE-Gx architectureThomas Monjalon
The TILE-Gx architecture and its driver mpipe are not maintained. The code is removed to avoid confusion. A last update has been done in 17.05 before removal. It can be built with the updated toolchain: and libgxio: Quote from " Mellanox agrees to remove TILE-Gx support from, but will continue to support customers using DPDK. Customer that needs support should contact Mellanox directly. " Signed-off-by: Thomas Monjalon <>
2017-01-17net/tap: add TUN/TAP device PMDKeith Wiles
The PMD allows for DPDK and the host to communicate using a raw device interface on the host and in the DPDK application. The device created is a Tap device with a L2 packet header. Signed-off-by: Keith Wiles <> Reviewed-by: Ferruh Yigit <> Tested-by: Aws Ismail <> Tested-by: Vasily Philipov <>
2017-01-17net/sfc: libefx-based driver stubAndrew Rybchenko
Enable the PMD by default on supported configurations. Signed-off-by: Andrew Rybchenko <> Reviewed-by: Andy Moreton <> Reviewed-by: Ferruh Yigit <>
2016-06-20net/thunderx: add PMD skeletonJerin Jacob
Introduce driver initialization and enable build infrastructure for nicvf pmd driver. By default, It is enabled only for defconfig_arm64-thunderx-* config as it is an inbuilt NIC device. Signed-off-by: Jerin Jacob <> Signed-off-by: Maciej Czekaj <> Signed-off-by: Kamil Rytarowski <> Signed-off-by: Zyta Szpak <> Signed-off-by: Slawomir Rosek <> Signed-off-by: Radoslaw Biernacki <>
2016-06-20net/bnxt: add driver for Broadcom NetXtreme-C devicesAjit Khaparde
This patch adds the initial skeleton for bnxt driver along with the nic guide, and ties the driver into the build system. At this point, the driver simply fails init. Signed-off-by: Ajit Khaparde <> Signed-off-by: Stephen Hurd <> Reviewed-by: David Christensen <> [Release Note Addition] Signed-off-by: Bruce Richardson <>
2016-05-06qede: enable PMD buildRasesh Mody
This patch enables the QEDE PMD build. Signed-off-by: Harish Patil <> Signed-off-by: Rasesh Mody <> Signed-off-by: Sony Chacko <>
2016-03-25vhost: add driver on top of the libraryTetsuya Mukawa
The patch introduces a new PMD. This PMD is implemented as thin wrapper of librte_vhost. It means librte_vhost is also needed to compile the PMD. The vhost messages will be handled only when a port is started. So start a port first, then invoke QEMU. The PMD has 2 parameters. - iface: The parameter is used to specify a path to connect to a virtio-net device. - queues: The parameter is used to specify the number of the queues virtio-net device has. (Default: 1) Here is an example. $ ./testpmd -c f -n 4 --vdev 'eth_vhost0,iface=/tmp/sock0,queues=1' -- -i To connect above testpmd, here is qemu command example. $ qemu-system-x86_64 \ <snip> -chardev socket,id=chr0,path=/tmp/sock0 \ -netdev vhost-user,id=net0,chardev=chr0,vhostforce,queues=1 \ -device virtio-net-pci,netdev=net0,mq=on Signed-off-by: Tetsuya Mukawa <> Acked-by: Ferruh Yigit <> Acked-by: Yuanhan Liu <> Acked-by: Rich Lane <> Tested-by: Rich Lane <> Update for queue state event name: Signed-off-by: Bruce Richardson <>
2016-03-25ena: add polling-mode driverJan Medala
This is a PMD for the Amazon ethernet ENA (Elastic Network Adapters) family. The driver operates variety of ENA adapters through feature negotiation with the adapter and upgradable commands set. ENA driver handles PCI Physical and Virtual ENA functions. Signed-off-by: Evgeny Schemeilin <> Signed-off-by: Jan Medala <> Signed-off-by: Jakub Palider <> Release Note addition: Signed-off-by: Bruce Richardson <>
2016-03-01mk: replace the combined library with a linker scriptPanu Matilainen
The physically linked-together combined library has been an increasing source of problems, as was predicted when library and symbol versioning was introduced. Replace the complex and fragile construction with a simple linker script which achieves the same without all the problems, remove the related kludges from eg mlx drivers. Since creating the linker script is practically zero cost, remove the config option and just create it always. Based on a patch by Sergio Gonzales Monroy, linker script approach initially suggested by Neil Horman. Suggested-by: Sergio Gonzalez Monroy <> Suggested-by: Neil Horman <> Signed-off-by: Panu Matilainen <> Signed-off-by: Thomas Monjalon <>
2015-12-08nfp: introduce driver initializationAlejandro Lucero
Signed-off-by: Alejandro Lucero <> Signed-off-by: Rolf Neugebauer <>
2015-11-20szedata2: add new poll mode driverMatej Vido
Add virtual PMD which communicates with COMBO cards through sze2 layer using libsze2 library. Since link_speed is uint16_t, there can not be used number for 100G speed, therefore link_speed is set to ETH_LINK_SPEED_10G until the type of link_speed is solved. Signed-off-by: Matej Vido <>
2015-10-30mlx5: introduce new driver for Mellanox ConnectX-4 adaptersAdrien Mazarguil
In its current state, this driver implements the bare minimum to initialize itself and Mellanox ConnectX-4 adapters without doing anything else (no RX/TX for instance). It is disabled by default since it is based on the mlx4 driver and also depends on libibverbs. Signed-off-by: Adrien Mazarguil <> Signed-off-by: Nelio Laranjeiro <> Signed-off-by: Or Ami <>
2015-07-27bnx2x: enable PMD buildStephen Hemminger
This is build infrastructure changes for bnx2x driver. - enable BNX2X poll mode driver in default config. - add it to mk - put entry in MAINTAINERS Note: I intentionally did not list myself as maintainer of this driver. QLogic has discussed taking over as maintainer. Signed-off-by: Stephen Hemminger <> Acked-by: Harish Patil <>
2015-07-13mpipe: add TILE-Gx mPIPE poll mode driverCyril Chemparathy
This commit adds a poll mode driver for the mPIPE hardware present on TILE-Gx SoCs. Signed-off-by: Cyril Chemparathy <> Signed-off-by: Zhigang Lu <>
2015-06-30cxgbe: add pmd skeletonRahul Lakkireddy
Adds cxgbe poll mode driver for DPDK under drivers/net/cxgbe directory. This patch: 1. Adds the Makefile to compile cxgbe pmd. 2. Registers and initializes the cxgbe pmd driver. Enable cxgbe PMD for compilation and linking with changes to: 1. config/common_linuxapp to add macros for cxgbe pmd. 2. drivers/net/Makefile to add cxgbe pmd to the compile list. 3. mk/ to add cxgbe pmd to link. Update MAINTAINERS file to claim responsibility for the cxgbe PMD. Signed-off-by: Rahul Lakkireddy <> Signed-off-by: Kumar Sanghvi <> [Thomas: add disabled config for bsdapp]
2015-05-22xenvirt: move drivers/net/Bruce Richardson
Move xenvirt PMD to drivers/net directory Signed-off-by: Bruce Richardson <> Acked-by: John McNamara <> Acked-by: Thomas Monjalon <>
2015-05-22vmxnet3: move to drivers/net/Bruce Richardson
Move vmxnet3 PMD to drivers/net directory. As part of the move, rename the "vmxnet3" subdirectory, containing the original FreeBSD drivers, from "vmxnet3" to the more standard name "base", to indicate it contains the base drivers used for the implementation. Signed-off-by: Bruce Richardson <> Acked-by: John McNamara <> Acked-by: Thomas Monjalon <>