ather than causing a segfault.
Cheers,
Alan
> -Original Message-
> From: Long Li
> Sent: Tuesday, March 12, 2024 7:09 PM
> To: Alan Elder ; Ferruh Yigit
> ; Andrew Rybchenko
>
> Cc: dev@dpdk.org; stephen
> Subject: RE: [PATCH v2] net/netvsc: fix number Tx queues >
> a/drivers/net/netvsc/hn_rxtx.c b/drivers/net/netvsc/hn_rxtx.c index
> 9bf1ec5509..c0aaeaa972 100644
> --- a/drivers/net/netvsc/hn_rxtx.c
> +++ b/drivers/net/netvsc/hn_rxtx.c
> @@ -243,6 +243,7 @@ hn_dev_tx_queue_setup(struct rte_eth_dev *dev, {
> struct hn_data *hv = dev->data->dev_private
On 3/8/2024 6:09 PM, Alan Elder wrote:
> The previous code allowed the number of Tx queues to be set higher than
> the number of Rx queues. If a packet was sent on a Tx queue with index
>> = number Rx queues there was a segfault.
>
> This commit fixes the issue by creating an Rx queue for every T
The previous code allowed the number of Tx queues to be set higher than
the number of Rx queues. If a packet was sent on a Tx queue with index
>= number Rx queues there was a segfault.
This commit fixes the issue by creating an Rx queue for every Tx queue
meaning that an event buffer is allocated
4 matches
Mail list logo