[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5547D5A1.9050208@cogentembedded.com>
Date: Mon, 04 May 2015 23:25:05 +0300
From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
To: Hariprasad Shenai <hariprasad@...lsio.com>, netdev@...r.kernel.org
CC: davem@...emloft.net, leedom@...lsio.com, nirranjan@...lsio.com
Subject: Re: [PATCH net-next 3/6] cxgb4: Pass in a Congestion Channel Map
to t4_sge_alloc_rxq()
Hello.
On 05/04/2015 07:28 PM, Hariprasad Shenai wrote:
> Passes a Congestion Channel Map to t4_sge_alloc_rxq()
> for the Ethernet RX Queues based on the MPS Buffer Group Map
> of the TX Channel rather than just the TX Channel Map.
> Also, in t4_sge_alloc_rxq() for T5, setting up the
> Congestion Manager values of the new RX Ethernet Queue is
> done by firmware now.
> Signed-off-by: Hariprasad Shenai <hariprasad@...lsio.com>
> ---
> drivers/net/ethernet/chelsio/cxgb4/sge.c | 35 ++++++++++++++++++++++++++
> drivers/net/ethernet/chelsio/cxgb4/t4_values.h | 9 +++++++
> drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h | 1 +
> 3 files changed, 45 insertions(+)
> diff --git a/drivers/net/ethernet/chelsio/cxgb4/sge.c b/drivers/net/ethernet/chelsio/cxgb4/sge.c
> index 7547a9c..757e0ab 100644
> --- a/drivers/net/ethernet/chelsio/cxgb4/sge.c
> +++ b/drivers/net/ethernet/chelsio/cxgb4/sge.c
> @@ -2551,6 +2551,41 @@ int t4_sge_alloc_rxq(struct adapter *adap, struct sge_rspq *iq, bool fwevtq,
[...]
> + ret = t4_set_params(adap, adap->mbox, adap->fn, 0, 1,
> + ¶m, &val);
> + if (ret)
> + dev_warn(adap->pdev_dev, "Failed to set Congestion"
> + " Manager Context for Ingress Queue %d: %d\n",
There's no need to break the long kernel messages, actually it's even
frowned upon as it makes grepping more complex.
[...]
WBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists