numam-dpdk/drivers/net/tap
Vipin Varghese 8055b534d6 net/tap: fix protocol field for non-IP
When non IP packets are sent on TUN interface, the logic put Ipv6 as
protocol field in header. With the current patch, the check is modified
for ipv4, ipv6 and non ip.

Fixes: 204d026a39 ("net/tap: support tun")

Suggested-by: Ophir Munk <ophirmu@mellanox.com>
Signed-off-by: Vipin Varghese <vipin.varghese@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2018-04-27 15:54:55 +01:00
..
Makefile net/tap: support Rx interrupt 2018-01-29 10:45:20 +01:00
rte_eth_tap.c net/tap: fix protocol field for non-IP 2018-04-27 15:54:55 +01:00
rte_eth_tap.h align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
rte_pmd_tap_version.map
tap_bpf_api.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
tap_bpf_insns.h align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
tap_bpf_program.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
tap_bpf.h align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
tap_flow.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
tap_flow.h align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
tap_intr.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
tap_netlink.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
tap_netlink.h align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
tap_rss.h align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
tap_tcmsgs.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
tap_tcmsgs.h align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00