freebsd-dev/sys/dev/mana
Wei Hu 027d0c1c04 mana: fix misc minor handlding issues when error happens.
- In mana_create_txq(), if test fails we must free some resources
  as in all the other handling paths of this function.
- In mana_gd_read_cqe(), add warning log in case of CQE read
  overflow, instead of failing silently.
- Fix error handling in mana_create_rxq() when
  cq->gdma_id >= gc->max_num_cqs.
- In mana_init_port(), use the correct port index rather than 0.
- In mana_hwc_create_wq(), If allocating the DMA buffer fails,
  mana_hwc_destroy_wq was called without previously storing the
  pointer to the queue. In order to avoid leaking the pointer to
  the queue, store it as soon as it is allocated.

MFC after:	2 weeks
Sponsored by:	Microsoft
2022-01-13 07:22:21 +00:00
..
gdma_main.c mana: fix misc minor handlding issues when error happens. 2022-01-13 07:22:21 +00:00
gdma_util.c
gdma_util.h
gdma.h Mana: move mana polling from EQ to CQ 2021-10-26 12:25:22 +00:00
hw_channel.c mana: fix misc minor handlding issues when error happens. 2022-01-13 07:22:21 +00:00
hw_channel.h
mana_en.c mana: fix misc minor handlding issues when error happens. 2022-01-13 07:22:21 +00:00
mana_sysctl.c
mana_sysctl.h
mana.h Mana: move mana polling from EQ to CQ 2021-10-26 12:25:22 +00:00
shm_channel.c
shm_channel.h