[dpdk-dev] [PATCH v1 0/4] fixes for queue resource free and code style
Xiaoyun wang
cloud.wangxiaoyun at huawei.com
Thu May 14 11:29:15 CEST 2020
This patch adds tx_queues and rx_queues non-null judgment before
free tx or rx resources, because some app may set tx_queues or
rx_queues to be null before call free resource interfaces, which
may cause a segfault, adds pkt_len member update for dst_mbuf
when copy a mbuf to a new dst_mbuf, code style format rectification,
and adjusts the legality judgment order of RSS RETA table.
--
v1:
- the queues resource free problem fixes
- the pkt len updates of mbuf fixes
- code style modification
- optimize RSS RETA table updates
Xiaoyun wang (4):
net/hinic: the queues resource free problem fixes
net/hinic: the pkt len updates of mbuf fixes
net/hinic: code style modification
net/hinic: optimize RSS RETA table updates
drivers/net/hinic/base/hinic_pmd_cmdq.h | 2 +-
drivers/net/hinic/base/hinic_pmd_hwif.c | 2 +-
drivers/net/hinic/base/hinic_pmd_nicio.c | 1 -
drivers/net/hinic/hinic_pmd_ethdev.c | 44 +++++++++++++++-----------------
drivers/net/hinic/hinic_pmd_ethdev.h | 12 +++++----
drivers/net/hinic/hinic_pmd_rx.c | 3 ++-
drivers/net/hinic/hinic_pmd_tx.c | 5 +++-
7 files changed, 36 insertions(+), 33 deletions(-)
--
1.8.3.1
More information about the dev
mailing list