numam-dpdk/drivers/net/tap
Raslan Darawsheh 7c2d03d65f net/tap: remove Linux version check
Remove checks of Linux kernel version
in order to support kernel with backported features.

the expected behavior with a kernel that doesn't support flower
and other bits is the following:
        -flow validate can return successfully
        -flow create using the same rule fails.

Using the "remote" feature without kernel flower does not fail silently.
The TAP instance is not initialized if the requested parameters cannot
be satisfied.

it has been tested on an old kernel without required support:

PMD: Kernel refused TC filter rule creation (2): No such file or directory
PMD: tap0 failed to create implicit rules.
PMD: Can't set up remote feature: No such file of directory(2)
PMD: TAP Unable to initialize net_tap0

Signed-off-by: Raslan Darawsheh <rasland@mellanox.com>
Acked-by: Pascal Mazon <pascal.mazon@6wind.com>
2017-07-19 11:09:13 +03:00
..
Makefile drivers/net: remove unused DEPDIRS from makefiles 2017-04-06 20:58:59 +02:00
rte_eth_tap.c net/tap: remove Linux version check 2017-07-19 11:09:13 +03:00
rte_eth_tap.h net/tap: remove Linux version check 2017-07-19 11:09:13 +03:00
rte_pmd_tap_version.map net/tap: add TUN/TAP device PMD 2017-01-17 19:40:50 +01:00
tap_flow.c net/tap: remove Linux version check 2017-07-19 11:09:13 +03:00
tap_flow.h net/tap: support flow API isolated mode 2017-07-06 15:00:56 +02:00
tap_netlink.c net/tap: update netlink error code management 2017-04-04 19:03:03 +02:00
tap_netlink.h net/tap: add link status notification 2017-04-04 18:59:47 +02:00
tap_tcmsgs.c net/tap: update netlink error code management 2017-04-04 19:03:03 +02:00
tap_tcmsgs.h net/tap: update netlink error code management 2017-04-04 19:03:03 +02:00