numam-dpdk/drivers/net/mlx5
Matthieu Ternisien d'Ouville 501505c560 net/mlx: fix IPv4 and IPv6 packet type
Mellanox PMDs do not differentiate IP header with or without options, so
the advertised packet type for an IPv4 should not be RTE_PTYPE_L3_IPV4,
which explicitly means "does not contain any header option".

Change the driver to set
RTE_PTYPE(_INNER)_L3_IPV4_EXT_UNKNOWN or
RTE_PTYPE(_INNER)_L3_IPV6_EXT_UNKNOWN flags for all IPv4/IPv6 packets
received.

Fixes: 429df3803a ("mlx4: replace some offload flags with packet type")
Fixes: 67fa62bc67 ("mlx5: support checksum offload")

Signed-off-by: Samuel Gauthier <samuel.gauthier@6wind.com>
Signed-off-by: Matthieu Ternisien d'Ouville <matthieu.tdo@6wind.com>
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
2017-01-17 19:41:43 +01:00
..
Makefile net/mlx5: add preliminary flow API support 2017-01-17 19:40:52 +01:00
mlx5_defs.h net/mlx: align drivers to latest naming convention 2016-10-13 15:30:59 +02:00
mlx5_ethdev.c net/mlx: remove link update lock 2017-01-17 19:41:43 +01:00
mlx5_fdir.c net/mlx5: add preliminary flow API support 2017-01-17 19:40:52 +01:00
mlx5_flow.c net/mlx5: extend IPv4 flow item 2017-01-17 19:40:52 +01:00
mlx5_mac.c net/mlx: fix debug build with gcc 6.1 2016-09-30 12:27:18 +02:00
mlx5_mr.c net/mlx: fix debug build with gcc 6.1 2016-09-30 12:27:18 +02:00
mlx5_prm.h net/mlx5: use vector types to speed up processing 2017-01-17 19:40:53 +01:00
mlx5_rss.c net/mlx: fix debug build with gcc 6.1 2016-09-30 12:27:18 +02:00
mlx5_rxmode.c net/mlx: fix debug build with gcc 6.1 2016-09-30 12:27:18 +02:00
mlx5_rxq.c net/mlx5: fix handling of small mbuf sizes 2016-11-07 18:21:41 +01:00
mlx5_rxtx.c net/mlx: fix IPv4 and IPv6 packet type 2017-01-17 19:41:43 +01:00
mlx5_rxtx.h net/mlx5: fix Tx doorbell 2017-01-17 19:40:53 +01:00
mlx5_stats.c net/mlx: fix debug build with gcc 6.1 2016-09-30 12:27:18 +02:00
mlx5_trigger.c net/mlx5: support basic flow items and actions 2017-01-17 19:40:52 +01:00
mlx5_txq.c net/mlx5: support ConnectX-5 devices 2017-01-17 19:41:42 +01:00
mlx5_utils.h remove extra parentheses in return statement 2016-02-10 15:47:50 +01:00
mlx5_vlan.c net/mlx: fix debug build with gcc 6.1 2016-09-30 12:27:18 +02:00
mlx5.c net/mlx: remove link update lock 2017-01-17 19:41:43 +01:00
mlx5.h net/mlx: remove link update lock 2017-01-17 19:41:43 +01:00
rte_pmd_mlx5_version.map mlx5: introduce new driver for Mellanox ConnectX-4 adapters 2015-10-30 22:03:42 +01:00