This patch will check the "nb_desc" parameter for rx queue.
Rx vmxnet rings length should be between 128-4096.
The patch will release the rxq and re-allocation it soon
for different "nb_desc".
Signed-off-by: Nick Zhang
---
drivers/net/vmxnet3
When we config RX queue with 2048 RX queue size, and stop the
device, changed queue size to 4096 and then start the device,
there will be segment fault. We should allocate RX ring for
max possible number of hardware descriptors.
Signed-off-by: Nick Zhang
---
drivers/net/vmxnet3/vmxnet3_rxtx.c
When we config TX queue with 2048 TX queue size, stop the device,
changed queue size to 4096 and then start the device, there will
be segment fault. We should allocate TX ring for max possible
number of hardware descriptors.
Signed-off-by: Nick Zhang
---
drivers/net/vmxnet3/vmxnet3_rxtx.c | 7
This patch will check the "nb_desc" parameter for tx queue.
Tx vmxnet rings length should be between 512-4096. The patch
will release the txq and re-allocation it soon for different "nb_desc".
Signed-off-by: Nick Zhang
---
drivers/net/vmxnet3
4 matches
Mail list logo