On Mon, Nov 15, 2021 at 8:58 PM Somnath Kotur
wrote:
>
> On Mon, Nov 15, 2021 at 2:58 PM David Marchand
> wrote:
> >
> > Hello Ajit, Somnath,
> >
> > On Fri, Nov 12, 2021 at 3:02 PM Conor Walsh wrote:
> > >
> > > This patch fixes unused but set variables in the following net drivers:
> > > - bn
On Mon, Nov 15, 2021 at 2:58 PM David Marchand
wrote:
>
> Hello Ajit, Somnath,
>
> On Fri, Nov 12, 2021 at 3:02 PM Conor Walsh wrote:
> >
> > This patch fixes unused but set variables in the following net drivers:
> > - bnxt
> > - hinic
> > - liquidio
> > - nfp
> > - octeontx
> > - qede
> >
Hello Ajit, Somnath,
On Fri, Nov 12, 2021 at 3:02 PM Conor Walsh wrote:
>
> This patch fixes unused but set variables in the following net drivers:
> - bnxt
> - hinic
> - liquidio
> - nfp
> - octeontx
> - qede
> - txgbe
> - vmxnet3
>
> This patch also fixes an unused function warning for
> On Fri, 12 Nov 2021 16:38:37 +
> "Walsh, Conor" wrote:
>
> > Would something along the lines of this make more sense?
> >
> > #ifdef RTE_LIBRTE_VMXNET3_DEBUG_TX
> > completed += vmxnet3_unmap_pkt(tcd->txdIdx, txq);
> > #else
> > vmxnet3_unmap_pkt(tcd->txdIdx, txq);
> > #endif
> >
> > Thanks
On Fri, 12 Nov 2021 16:38:37 +
"Walsh, Conor" wrote:
> Would something along the lines of this make more sense?
>
> #ifdef RTE_LIBRTE_VMXNET3_DEBUG_TX
> completed += vmxnet3_unmap_pkt(tcd->txdIdx, txq);
> #else
> vmxnet3_unmap_pkt(tcd->txdIdx, txq);
> #endif
>
> Thanks,
> Conor.
Why not ju
> Subject: Re: [PATCH 5/7] drivers/net: fix unused but set variables
>
> On Fri, Nov 12, 2021 at 5:18 PM Ferruh Yigit wrote:
> >
> > On 11/12/2021 2:01 PM, Conor Walsh wrote:
> > > static void
> > > vmxnet3_tq_tx_complete(vmxnet3_tx_que
> On 11/12/2021 2:01 PM, Conor Walsh wrote:
> > static void
> > vmxnet3_tq_tx_complete(vmxnet3_tx_queue_t *txq)
> > {
> > + #ifdef RTE_LIBRTE_VMXNET3_DEBUG_TX
> > int completed = 0;
> > + #endif
> > vmxnet3_comp_ring_t *comp_ring = &txq->comp_ring;
> > struct Vmxnet3_TxCompDes
On Fri, Nov 12, 2021 at 5:18 PM Ferruh Yigit wrote:
>
> On 11/12/2021 2:01 PM, Conor Walsh wrote:
> > static void
> > vmxnet3_tq_tx_complete(vmxnet3_tx_queue_t *txq)
> > {
> > + #ifdef RTE_LIBRTE_VMXNET3_DEBUG_TX
> > int completed = 0;
> > + #endif
> > vmxnet3_comp_ring_t
On 11/12/2021 2:01 PM, Conor Walsh wrote:
static void
vmxnet3_tq_tx_complete(vmxnet3_tx_queue_t *txq)
{
+ #ifdef RTE_LIBRTE_VMXNET3_DEBUG_TX
int completed = 0;
+ #endif
vmxnet3_comp_ring_t *comp_ring = &txq->comp_ring;
struct Vmxnet3_TxCompDesc *tcd = (st
9 matches
Mail list logo