DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v1 0/4] fixes for queue resource free and code style
@ 2020-05-14  9:29 Xiaoyun wang
  2020-05-14  9:29 ` [dpdk-dev] [PATCH v1 1/4] net/hinic: the queues resource free problem fixes Xiaoyun wang
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Xiaoyun wang @ 2020-05-14  9:29 UTC (permalink / raw)
  To: dev
  Cc: ferruh.yigit, bluca, luoxianjun, luoxingyu, zhouguoyang,
	shahar.belkar, yin.yinshi, david.yangxiaoliang, zhaohui8,
	zhengjingzhou, Xiaoyun wang

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-05-14 16:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-14  9:29 [dpdk-dev] [PATCH v1 0/4] fixes for queue resource free and code style Xiaoyun wang
2020-05-14  9:29 ` [dpdk-dev] [PATCH v1 1/4] net/hinic: the queues resource free problem fixes Xiaoyun wang
2020-05-14  9:29 ` [dpdk-dev] [PATCH v1 2/4] net/hinic: the pkt len updates of mbuf fixes Xiaoyun wang
2020-05-14  9:29 ` [dpdk-dev] [PATCH v1 3/4] net/hinic: code style modification Xiaoyun wang
2020-05-14  9:29 ` [dpdk-dev] [PATCH v1 4/4] net/hinic: optimize RSS RETA table updates Xiaoyun wang
2020-05-14 16:44 ` [dpdk-dev] [PATCH v1 0/4] fixes for queue resource free and code style Ferruh Yigit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).