summaryrefslogtreecommitdiff
path: root/drivers/net/mlx4/mlx4.c
diff options
context:
space:
mode:
authorMoti Haimovsky <motih@mellanox.com>2017-11-05 19:26:56 +0200
committerThomas Monjalon <thomas@monjalon.net>2017-11-07 12:47:13 +0100
commitaee4a03fee4f24fe7d46a17f4e75853b86fd36cc (patch)
tree82a32c4da3e0d74acf6bf05bface22310f1dbf06 /drivers/net/mlx4/mlx4.c
parente59196e01c1456e8ea0e9b2056651ef64dc17b78 (diff)
downloaddpdk-aee4a03fee4f24fe7d46a17f4e75853b86fd36cc.zip
dpdk-aee4a03fee4f24fe7d46a17f4e75853b86fd36cc.tar.gz
dpdk-aee4a03fee4f24fe7d46a17f4e75853b86fd36cc.tar.xz
net/mlx4: enhance Rx packet type offloads
This patch enhances the Rx packet type offload to also report the L4 protocol information in the hw ptype filled by the PMD for each received packet. Signed-off-by: Moti Haimovsky <motih@mellanox.com> Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Diffstat (limited to 'drivers/net/mlx4/mlx4.c')
-rw-r--r--drivers/net/mlx4/mlx4.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/mlx4/mlx4.c b/drivers/net/mlx4/mlx4.c
index 5d35a50..f9e4f9d 100644
--- a/drivers/net/mlx4/mlx4.c
+++ b/drivers/net/mlx4/mlx4.c
@@ -244,6 +244,7 @@ static const struct eth_dev_ops mlx4_dev_ops = {
.stats_get = mlx4_stats_get,
.stats_reset = mlx4_stats_reset,
.dev_infos_get = mlx4_dev_infos_get,
+ .dev_supported_ptypes_get = mlx4_dev_supported_ptypes_get,
.vlan_filter_set = mlx4_vlan_filter_set,
.rx_queue_setup = mlx4_rx_queue_setup,
.tx_queue_setup = mlx4_tx_queue_setup,