Re: [PATCH v2 net-next] vmxnet3: Remove buf_info from device

2021-01-22 Thread Jakub Kicinski
On Fri, 22 Jan 2021 00:30:51 -0800 Ronak Doshi wrote: > + tq->buf_info = kcalloc_node(tq->tx_ring.size, sizeof(tq->buf_info[0]), > + GFP_KERNEL | __GFP_ZERO, > + dev_to_node(&adapter->pdev->dev)); no need to pass __GFP_ZERO to kca

[PATCH v2 net-next] vmxnet3: Remove buf_info from device

2021-01-22 Thread Ronak Doshi
vmxnet3: Remove buf_info from device accessible structures buf_info structures in RX & TX queues are private driver data that do not need to be visible to the device. Although there is physical address and length in the queue descriptor that points to these structures, their layout is not standar