Skip to content

fixes for queue resource free and code style

Xiaoyun wang dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Changes in v1 from the cover letter

- the queues resource free problem fixes
- the pkt len updates of mbuf fixes
- code style modification
- optimize RSS RETA table updates

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net/hinic: the queues resource free problem fixesdrivers/net/hinic/hinic_pmd_rx.c drivers/net/hinic/hinic_pmd_tx.c+4 -20 replies
2/4net/hinic: the pkt len updates of mbuf fixesdrivers/net/hinic/hinic_pmd_tx.c+2 -00 replies
3/4net/hinic: code style modificationdrivers/net/hinic/base/hinic_pmd_cmdq.h drivers/net/hinic/base/hinic_pmd_hwif.c drivers/net/hinic/base/hinic_pmd_nicio.c +2 more+22 -230 replies
4/4net/hinic: optimize RSS RETA table updatesdrivers/net/hinic/hinic_pmd_ethdev.c+8 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [dpdk-dev] [PATCH v1 0/4] fixes for queue resource free and code style

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(-)
Signature · 1 line
1.8.3.1