Re: [PATCH net-next 11/12] ionic: change queue count with no reset

2020-08-26 Thread Shannon Nelson
On 8/26/20 2:14 PM, Jakub Kicinski wrote: On Wed, 26 Aug 2020 09:42:13 -0700 Shannon Nelson wrote: + if (qparam->nxqs != lif->nxqs) { + err = netif_set_real_num_tx_queues(lif->netdev, lif->nxqs); + if (err) + goto err_out; + e

Re: [PATCH net-next 11/12] ionic: change queue count with no reset

2020-08-26 Thread Jakub Kicinski
On Wed, 26 Aug 2020 09:42:13 -0700 Shannon Nelson wrote: > + if (qparam->nxqs != lif->nxqs) { > + err = netif_set_real_num_tx_queues(lif->netdev, lif->nxqs); > + if (err) > + goto err_out; > + err = netif_set_real_num_rx_queues(lif->netdev

[PATCH net-next 11/12] ionic: change queue count with no reset

2020-08-26 Thread Shannon Nelson
Add to our new ionic_reconfigure_queues() to also be able to change the number of queues in use, and to change the queue interrupt layout between split and combined. Signed-off-by: Shannon Nelson --- .../ethernet/pensando/ionic/ionic_ethtool.c | 88 +--- .../net/ethernet/pensando/ionic/io