[PATCH 0/3] net/hns3: bugfix on hns3

Stephen Hemminger stephen at networkplumber.org
Mon Dec 30 18:51:54 CET 2024


On Mon, 30 Dec 2024 14:54:02 +0800
Jie Hai <haijie1 at huawei.com> wrote:

> From: Jie Hai <haijie1 at huawei.com>
> To: <dev at dpdk.org>, <thomas at monjalon.net>, <ferruh.yigit at amd.com>,  <david.marchand at redhat.com>, <andrew.rybchenko at oktetlabs.ru>
> CC: <lihuisong at huawei.com>, <fengchengwen at huawei.com>, <haijie1 at huawei.com>,  <huangdengdui at huawei.com>
> Subject: [PATCH 0/3] net/hns3: bugfix on hns3
> Date: Mon, 30 Dec 2024 14:54:02 +0800
> X-Mailer: git-send-email 2.22.0
> 
> The patchset fixes some codes.
> 
> Dengdui Huang (1):
>   net/hns3: fix simple Tx path incorrect free the mbuf
> 
> Jie Hai (2):
>   net/hns3: remove pvid info dump for VF
>   net/hns3: rename RAS module
> 
>  drivers/net/hns3/hns3_dump.c | 4 ++++
>  drivers/net/hns3/hns3_intr.c | 4 ++--
>  drivers/net/hns3/hns3_intr.h | 2 +-
>  drivers/net/hns3/hns3_rxtx.c | 2 +-
>  4 files changed, 8 insertions(+), 4 deletions(-)


While reviewing these, I noticed that hns3 driver is open coding its own version
of rte_pktmbuf_alloc(). That was a mistake, if a future changes to rte_mbuf.c change
the allocation logic, the driver will break.


More information about the dev mailing list