numam-dpdk/drivers/common/iavf
Qiming Chen 395d41fbb1 common/iavf: fix ARQ resource leak
In the iavf_init_arq function, if an exception occurs in the
iavf_config_arq_regs function, and the previously applied ARQ (Admin
Receive Queue) bufs resource is released. This patch maintains the same
modification as the iavf_init_asq function to roll back resources.

Fixes: 87aca6d8d8 ("net/iavf/base: fix command buffer memory leak")
Cc: stable@dpdk.org

Signed-off-by: Qiming Chen <chenqiming_huawei@163.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
2021-09-28 05:33:44 +02:00
..
iavf_adminq_cmd.h common/iavf: update copyright date 2021-01-13 18:51:58 +01:00
iavf_adminq.c common/iavf: fix ARQ resource leak 2021-09-28 05:33:44 +02:00
iavf_adminq.h common/iavf: update copyright date 2021-01-13 18:51:58 +01:00
iavf_alloc.h common/iavf: update copyright date 2021-01-13 18:51:58 +01:00
iavf_common.c common/iavf: update copyright date 2021-01-13 18:51:58 +01:00
iavf_devids.h net/iavf: deprecate i40evf PMD 2021-04-19 10:36:17 +02:00
iavf_impl.c drivers/net: fix memzone allocations for DMA memory 2021-07-07 14:30:30 +02:00
iavf_osdep.h net/iavf: use write combining store for tail updates 2021-06-10 12:04:16 +02:00
iavf_prototype.h common/iavf: update copyright date 2021-01-13 18:51:58 +01:00
iavf_register.h common/iavf: update copyright date 2021-01-13 18:51:58 +01:00
iavf_status.h common/iavf: update copyright date 2021-01-13 18:51:58 +01:00
iavf_type.h common/iavf: support ETS-based QoS offload configuration 2021-07-06 04:58:14 +02:00
meson.build common/iavf: update copyright date 2021-01-13 18:51:58 +01:00
README common/iavf: update base driver version 2021-09-13 02:47:33 +02:00
version.map build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
virtchnl.h common/iavf: enable hash calculation based on IPv4 checksum 2021-09-24 13:05:19 +02:00

/* SPDX-License-Identifier: BSD-3-Clause
 * Copyright(c) 2019-2021 Intel Corporation
 */

Intel® IAVF driver
=================

This directory contains source code of FreeBSD IAVF driver of version
cid-avf.2021.08.16.tar.gz released by the team which develops
basic drivers for any IAVF NIC. The directory of base/ contains the
original source package.

Updating the driver
===================

NOTE: The source code in this directory should not be modified apart from
the following file(s):

    iavf_osdep.h
    iavf_impl.c