Re: [PATCH net-next 02/12] ionic: add handling of larger descriptors

2021-04-05 Thread Shannon Nelson
On 4/4/21 3:50 PM, Richard Cochran wrote: On Thu, Apr 01, 2021 at 10:56:00AM -0700, Shannon Nelson wrote: @@ -1722,11 +1722,15 @@ static void ionic_txrx_free(struct ionic_lif *lif) static int ionic_txrx_alloc(struct ionic_lif *lif) { - unsigned int sg_desc_sz; + unsigned int

Re: [PATCH net-next 02/12] ionic: add handling of larger descriptors

2021-04-04 Thread Richard Cochran
On Thu, Apr 01, 2021 at 10:56:00AM -0700, Shannon Nelson wrote: > @@ -1722,11 +1722,15 @@ static void ionic_txrx_free(struct ionic_lif *lif) > > static int ionic_txrx_alloc(struct ionic_lif *lif) > { > - unsigned int sg_desc_sz; > + unsigned int num_desc, desc_sz, comp_sz, sg_desc_sz; >

[PATCH net-next 02/12] ionic: add handling of larger descriptors

2021-04-01 Thread Shannon Nelson
In preparating for hardware timestamping, we need to support large Tx and Rx completion descriptors. Here we add the new queue feature ids and handling for the completion descriptor sizes. We only are adding support for the Rx 2x sized completion descriptors in the general Rx queues for now as we