numam-dpdk/drivers/net/hns3
Wei Hu (Xavier) 8f64f2846d net/hns3: fix checking enough Tx BDs
In .tx_pkt_burst ops implementation function of hns3 PMD driver,
there is one check whether there are enough BDs in the TX queue.
If not, driver will stop sending the packets.

Currently in the 'for' process loop, the next_to_use member of
TX queue is not updated in time after processing BDs of one packet,
which results in the invalid action of checking whether there are
enough BDs and failure in sending packets.

This patch fixes it by moving the assignment statment of the
next_to_use member of TX queue to the place after porcessing TX BDs
in the 'for' loop.

Fixes: bba6366983 ("net/hns3: support Rx/Tx and related operations")
Cc: stable@dpdk.org

Signed-off-by: Hongbo Zheng <zhenghongbo3@huawei.com>
Signed-off-by: Huisong Li <lihuisong@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
2019-11-26 18:05:15 +01:00
..
hns3_cmd.c net/hns3: fix FLR reset 2019-10-25 19:23:23 +02:00
hns3_cmd.h
hns3_dcb.c
hns3_dcb.h
hns3_ethdev_vf.c net/hns3: fix VF link status 2019-11-26 18:05:15 +01:00
hns3_ethdev.c net/hns3: fix duplicated VLAN entry 2019-11-26 18:05:15 +01:00
hns3_ethdev.h net/hns3: fix sending packets less than 60 bytes 2019-11-26 18:05:15 +01:00
hns3_fdir.c
hns3_fdir.h
hns3_flow.c
hns3_intr.c net/hns3: fix FLR reset 2019-10-25 19:23:23 +02:00
hns3_intr.h net/hns3: support device reset 2019-10-07 15:00:57 +02:00
hns3_logs.h
hns3_mbx.c net/hns3: fix mailbox response length 2019-11-26 18:05:15 +01:00
hns3_mbx.h net/hns3: fix VF configuration after abnormal exit 2019-11-26 18:05:15 +01:00
hns3_mp.c net/hns3: support multiple process 2019-10-07 15:00:57 +02:00
hns3_mp.h net/hns3: support multiple process 2019-10-07 15:00:57 +02:00
hns3_regs.c net/hns3: support dump register 2019-10-07 15:00:57 +02:00
hns3_regs.h net/hns3: support dump register 2019-10-07 15:00:57 +02:00
hns3_rss.c net/hns3: fix RSS hardware configuration restore 2019-11-26 18:05:15 +01:00
hns3_rss.h
hns3_rxtx.c net/hns3: fix checking enough Tx BDs 2019-11-26 18:05:15 +01:00
hns3_rxtx.h net/hns3: fix statistics 2019-10-25 19:23:23 +02:00
hns3_stats.c net/hns3: fix statistics 2019-10-25 19:23:23 +02:00
hns3_stats.h net/hns3: support device stats 2019-10-07 15:00:57 +02:00
Makefile build: remove individual library versions 2019-11-20 23:05:39 +01:00
meson.build net/hns3: support multiple process 2019-10-07 15:00:57 +02:00
rte_pmd_hns3_version.map build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00