From: Константин Ананьев Sent: Monday, June 5, 2023 9:08 PM To: Feifei Wang ; Aman Singh ; Yuying Zhang Cc: dev@dpdk.org; nd ; Jerin Jacob ; Ruifeng Wang Subject: Re: [PATCH v6 4/4] app/testpmd: add recycle mbufs engine […] +static void +recycle_mbufs_stream_init(struct fwd_stream *fs) +{ + /* Retrieve information about given ports's Rx queue + * for recycling mbufs. + */ + rte_eth_recycle_rx_queue_info_get(fs->rx_port, fs->rx_queue, + &(fs->recycle_rxq_info)); [Konstantin] We probably should check the return status and complain about failure. [Feifei] Agree. However, testpmd ‘stream_init’ function return value is void. Here, If errors happen, what we can do is to only complain about failure.