mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Xiaoliang Yang <xiaoliang.yang_1@nxp.com>
To: "davem@davemloft.net" <davem@davemloft.net>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Cc: "kuba@kernel.org" <kuba@kernel.org>,
	Joakim Zhang <qiangqing.zhang@nxp.com>,
	"Anson.Huang@nxp.com" <Anson.Huang@nxp.com>,
	"peppe.cavallaro@st.com" <peppe.cavallaro@st.com>,
	"alexandre.torgue@foss.st.com" <alexandre.torgue@foss.st.com>,
	"joabreu@synopsys.com" <joabreu@synopsys.com>,
	Yannick Vignon <yannick.vignon@nxp.com>,
	"boon.leong.ong@intel.com" <boon.leong.ong@intel.com>,
	"Jose.Abreu@synopsys.com" <Jose.Abreu@synopsys.com>,
	"mst@redhat.com" <mst@redhat.com>,
	"Joao.Pinto@synopsys.com" <Joao.Pinto@synopsys.com>,
	Mingkai Hu <mingkai.hu@nxp.com>, Leo Li <leoyang.li@nxp.com>
Subject: RE: [PATCH 1/2] arm64: dts: imx8mp-evk: configure multiple queues on eqos
Date: Wed, 1 Dec 2021 01:41:09 +0000	[thread overview]
Message-ID: <DB8PR04MB57853E3EB5431A09BD22FDFDF0689@DB8PR04MB5785.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <20211201004750.49010-1-xiaoliang.yang_1@nxp.com>

Sorry, this patch is missing the net-next prefix and series description,please reject it. I sent a new one.

> Eqos ethernet support five queues on hardware, enable these queues and
> configure the priority of each queue.
> 
> Signed-off-by: Xiaoliang Yang <xiaoliang.yang_1@nxp.com>
> ---
>  arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 41
> ++++++++++++++++++++
>  1 file changed, 41 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
> b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
> index 7b99fad6e4d6..1e523b3d122b 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
> +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
> @@ -86,6 +86,9 @@
>  	pinctrl-0 = <&pinctrl_eqos>;
>  	phy-mode = "rgmii-id";
>  	phy-handle = <&ethphy0>;
> +	snps,force_thresh_dma_mode;
> +	snps,mtl-tx-config = <&mtl_tx_setup>;
> +	snps,mtl-rx-config = <&mtl_rx_setup>;
>  	status = "okay";
> 
>  	mdio {
> @@ -99,6 +102,44 @@
>  			eee-broken-1000t;
>  		};
>  	};
> +
> +	mtl_tx_setup: tx-queues-config {
> +		snps,tx-queues-to-use = <5>;
> +		queue0 {
> +			snps,priority = <0x0>;
> +		};
> +		queue1 {
> +			snps,priority = <0x1>;
> +		};
> +		queue2 {
> +			snps,priority = <0x2>;
> +		};
> +		queue3 {
> +			snps,priority = <0x3>;
> +		};
> +		queue4 {
> +			snps,priority = <0x4>;
> +		};
> +	};
> +
> +	mtl_rx_setup: rx-queues-config {
> +		snps,rx-queues-to-use = <5>;
> +		queue0 {
> +			snps,priority = <0x0>;
> +		};
> +		queue1 {
> +			snps,priority = <0x1>;
> +		};
> +		queue2 {
> +			snps,priority = <0x2>;
> +		};
> +		queue3 {
> +			snps,priority = <0x3>;
> +		};
> +		queue4 {
> +			snps,priority = <0x4>;
> +		};
> +	};
>  };
> 
>  &fec {
> --
> 2.17.1

Thanks,
Xiaoliang

      parent reply	other threads:[~2021-12-01  1:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-01  0:47 Xiaoliang Yang
2021-12-01  0:47 ` [PATCH 2/2] net: stmmac: make stmmac-tx-timeout configurable in Kconfig Xiaoliang Yang
2021-12-01  1:41 ` Xiaoliang Yang [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DB8PR04MB57853E3EB5431A09BD22FDFDF0689@DB8PR04MB5785.eurprd04.prod.outlook.com \
    --to=xiaoliang.yang_1@nxp.com \
    --cc=Anson.Huang@nxp.com \
    --cc=Joao.Pinto@synopsys.com \
    --cc=Jose.Abreu@synopsys.com \
    --cc=alexandre.torgue@foss.st.com \
    --cc=boon.leong.ong@intel.com \
    --cc=davem@davemloft.net \
    --cc=joabreu@synopsys.com \
    --cc=kuba@kernel.org \
    --cc=leoyang.li@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingkai.hu@nxp.com \
    --cc=mst@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=peppe.cavallaro@st.com \
    --cc=qiangqing.zhang@nxp.com \
    --cc=yannick.vignon@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®