]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mlx5/mlx5_flow_dv.c
net/mlx5: fix assert in modify converting
[dpdk.git] / drivers / net / mlx5 / mlx5_flow_dv.c
index c8035b352ec9a4a21bc250a92e5332de6ace6cd9..794afcf18c66192ff5daa7fbecf42c652f452494 100644 (file)
@@ -435,7 +435,6 @@ flow_dv_convert_modify_action(struct rte_flow_item *item,
                /* Fetch variable byte size mask from the array. */
                mask = flow_dv_fetch_field((const uint8_t *)item->mask +
                                           field->offset, field->size);
                /* Fetch variable byte size mask from the array. */
                mask = flow_dv_fetch_field((const uint8_t *)item->mask +
                                           field->offset, field->size);
-               MLX5_ASSERT(mask);
                if (!mask) {
                        ++field;
                        continue;
                if (!mask) {
                        ++field;
                        continue;