[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <DB8PR04MB67950EFCFF14551287DF0D07E6689@DB8PR04MB6795.eurprd04.prod.outlook.com>
Date: Wed, 1 Dec 2021 01:43:22 +0000
From: Joakim Zhang <qiangqing.zhang@....com>
To: Xiaoliang Yang <xiaoliang.yang_1@....com>,
"davem@...emloft.net" <davem@...emloft.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
CC: "kuba@...nel.org" <kuba@...nel.org>,
"peppe.cavallaro@...com" <peppe.cavallaro@...com>,
"alexandre.torgue@...s.st.com" <alexandre.torgue@...s.st.com>,
"joabreu@...opsys.com" <joabreu@...opsys.com>,
Yannick Vignon <yannick.vignon@....com>,
"boon.leong.ong@...el.com" <boon.leong.ong@...el.com>,
"Jose.Abreu@...opsys.com" <Jose.Abreu@...opsys.com>,
"mst@...hat.com" <mst@...hat.com>,
"Joao.Pinto@...opsys.com" <Joao.Pinto@...opsys.com>,
Mingkai Hu <mingkai.hu@....com>, Leo Li <leoyang.li@....com>,
Xiaoliang Yang <xiaoliang.yang_1@....com>
Subject: RE: [PATCH net-next 1/2] arm64: dts: imx8mp-evk: configure multiple
queues on eqos
Hi Xiaoliang,
After enable multiple queues in dts by default, eqos can't boot with NFS, NFS can't be mounted at the end. Can this reproduce at your side?
Best Regards,
Joakim Zhang
> -----Original Message-----
> From: Xiaoliang Yang <xiaoliang.yang_1@....com>
> Sent: 2021年12月1日 9:47
> To: davem@...emloft.net; netdev@...r.kernel.org;
> linux-kernel@...r.kernel.org
> Cc: kuba@...nel.org; Joakim Zhang <qiangqing.zhang@....com>;
> peppe.cavallaro@...com; alexandre.torgue@...s.st.com;
> joabreu@...opsys.com; Yannick Vignon <yannick.vignon@....com>;
> boon.leong.ong@...el.com; Jose.Abreu@...opsys.com; mst@...hat.com;
> Joao.Pinto@...opsys.com; Mingkai Hu <mingkai.hu@....com>; Leo Li
> <leoyang.li@....com>; Xiaoliang Yang <xiaoliang.yang_1@....com>
> Subject: [PATCH net-next 1/2] arm64: dts: imx8mp-evk: configure multiple
> queues on eqos
>
> Eqos ethernet support five queues on hardware, enable these queues and
> configure the priority of each queue. Uses Strict Priority as scheduling
> algorithms to ensure that the TSN function works.
>
> Signed-off-by: Xiaoliang Yang <xiaoliang.yang_1@....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 = <ðphy0>;
> + 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
Powered by blists - more mailing lists