diff options
author | Damjan Marion <damarion@cisco.com> | 2016-04-13 18:03:20 +0200 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2016-04-14 23:29:13 +0000 |
commit | a42cd34f106869d5afc26f5b5db7e0cb2f73ae97 (patch) | |
tree | 0c2b31263d7d77a57db3b56dc0736a1d8ef96e07 /svm | |
parent | 550b5f62528c435e4b9d41729f1d92e8ed9e161a (diff) |
Rework of DPDK PCI device uio driver binding process
This is complete rework of DPDK PCI initialization. It drops
previous scheme where lspci/route/awk/sed are used and instead
sysfs is solely used for discovering Ethernet PCI devices. Criteria
for blacklisting device is changed from exsiting routing table entry
to simple interface state obtained by SIOCGIFFLAGS ioctl().
It checks for IFF_UP flag, so as long as interface is declared
up and even when carrier is down interface will be blacklisted.
Change-Id: I59961ddcf1c19c728934e7fe746f343983741bf1
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'svm')
0 files changed, 0 insertions, 0 deletions