lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAFcVECKdQEYh1bvngoKr6rgCTCz=UmKdr4ntWyktqzHz+WacSA@mail.gmail.com>
Date:   Mon, 27 Nov 2017 13:07:54 +0530
From:   Harini Katakam <harinikatakamlinux@...il.com>
To:     Harini Katakam <harini.katakam@...inx.com>
Cc:     Nicolas Ferre <nicolas.ferre@...el.com>,
        David Miller <davem@...emloft.net>, netdev@...r.kernel.org,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "michals@...inx.com" <michals@...inx.com>,
        "Edgar E. Iglesias" <edgar.iglesias@...inx.com>,
        Michal Simek <michal.simek@...inx.com>
Subject: Re: [RFC PATCH 1/2] net: macb: Add RBQP to the macb queues

Hi,

Please ignore this series.
I'm sending another updated one.
Sorry for the inconvenience.

Regards,
Harini

On Mon, Nov 27, 2017 at 12:33 PM, Harini Katakam
<harini.katakam@...inx.com> wrote:
> From: "Edgar E. Iglesias" <edgar.iglesias@...inx.com>
>
> Add RX queue pointer to macb queues to make it accessible for the
> multiple queues available. Currently the first RX queue is used.
>
> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@...inx.com>
> Signed-off-by: Harini Katakam <harinik@...inx.com>
> Signed-off-by: Michal Simek <michal.simek@...inx.com>
> ---
>  drivers/net/ethernet/cadence/macb.h      | 1 +
>  drivers/net/ethernet/cadence/macb_main.c | 2 ++
>  2 files changed, 3 insertions(+)
>
> diff --git a/drivers/net/ethernet/cadence/macb.h b/drivers/net/ethernet/cadence/macb.h
> index c93f3a2..acb6578 100644
> --- a/drivers/net/ethernet/cadence/macb.h
> +++ b/drivers/net/ethernet/cadence/macb.h
> @@ -968,6 +968,7 @@ struct macb_queue {
>         unsigned int            IMR;
>         unsigned int            TBQP;
>         unsigned int            TBQPH;
> +       unsigned int            RBQP;
>
>         unsigned int            tx_head, tx_tail;
>         struct macb_dma_desc    *tx_ring;
> diff --git a/drivers/net/ethernet/cadence/macb_main.c b/drivers/net/ethernet/cadence/macb_main.c
> index 72a67f7..623ae9c 100644
> --- a/drivers/net/ethernet/cadence/macb_main.c
> +++ b/drivers/net/ethernet/cadence/macb_main.c
> @@ -2875,6 +2875,7 @@ static int macb_init(struct platform_device *pdev)
>                         if (bp->hw_dma_cap & HW_DMA_CAP_64B)
>                                 queue->TBQPH = GEM_TBQPH(hw_q - 1);
>  #endif
> +                       queue->RBQP = GEM_RBQP(hw_q - 1);
>                 } else {
>                         /* queue0 uses legacy registers */
>                         queue->ISR  = MACB_ISR;
> @@ -2886,6 +2887,7 @@ static int macb_init(struct platform_device *pdev)
>                         if (bp->hw_dma_cap & HW_DMA_CAP_64B)
>                                 queue->TBQPH = MACB_TBQPH;
>  #endif
> +                       queue->RBQP = MACB_RBQP;
>                 }
>
>                 /* get irq: here we use the linux queue index, not the hardware
> --
> 2.7.4
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ