All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shawn Guo <shawnguo@kernel.org>
To: Xiaoliang Yang <xiaoliang.yang_1@nxp.com>
Cc: robh+dt@kernel.org, s.hauer@pengutronix.de, festevam@gmail.com,
	linux-arm-kernel@lists.infradead.org,
	linux-tegra@vger.kernel.org, linux-imx@nxp.com,
	kernel@pengutronix.de, devicetree@vger.kernel.org,
	qiangqing.zhang@nxp.com
Subject: Re: [PATCH v3] arm64: dts: imx8mp-evk: configure multiple queues on eqos
Date: Thu, 16 Dec 2021 18:14:41 +0800	[thread overview]
Message-ID: <20211216101438.GL4216@dragon> (raw)
In-Reply-To: <20211216092448.35927-1-xiaoliang.yang_1@nxp.com>

On Thu, Dec 16, 2021 at 05:24:48PM +0800, Xiaoliang Yang wrote:
> 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.
> 
> The priority of each queue is a bitmask value that maps VLAN tag
> priority to the queue. Since the hardware only supports five queues,
> this patch maps priority 0-4 to queues one by one, and priority 5-7 to
> queue 4.
> 
> The total fifo size of 5 queues is 8192 bytes, if enable 5 queues with
> store-and-forward mode, it's not enough for large packets, which would
> trigger fifo overflow frequently. This patch set DMA to thresh mode to
> enable all 5 queues.
> 
> Signed-off-by: Xiaoliang Yang <xiaoliang.yang_1@nxp.com>
> Reviewed-by: Joakim Zhang <qiangqing.zhang@nxp.com>

Applied, thanks!

WARNING: multiple messages have this Message-ID (diff)
From: Shawn Guo <shawnguo@kernel.org>
To: Xiaoliang Yang <xiaoliang.yang_1@nxp.com>
Cc: robh+dt@kernel.org, s.hauer@pengutronix.de, festevam@gmail.com,
	linux-arm-kernel@lists.infradead.org,
	linux-tegra@vger.kernel.org, linux-imx@nxp.com,
	kernel@pengutronix.de, devicetree@vger.kernel.org,
	qiangqing.zhang@nxp.com
Subject: Re: [PATCH v3] arm64: dts: imx8mp-evk: configure multiple queues on eqos
Date: Thu, 16 Dec 2021 18:14:41 +0800	[thread overview]
Message-ID: <20211216101438.GL4216@dragon> (raw)
In-Reply-To: <20211216092448.35927-1-xiaoliang.yang_1@nxp.com>

On Thu, Dec 16, 2021 at 05:24:48PM +0800, Xiaoliang Yang wrote:
> 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.
> 
> The priority of each queue is a bitmask value that maps VLAN tag
> priority to the queue. Since the hardware only supports five queues,
> this patch maps priority 0-4 to queues one by one, and priority 5-7 to
> queue 4.
> 
> The total fifo size of 5 queues is 8192 bytes, if enable 5 queues with
> store-and-forward mode, it's not enough for large packets, which would
> trigger fifo overflow frequently. This patch set DMA to thresh mode to
> enable all 5 queues.
> 
> Signed-off-by: Xiaoliang Yang <xiaoliang.yang_1@nxp.com>
> Reviewed-by: Joakim Zhang <qiangqing.zhang@nxp.com>

Applied, thanks!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2021-12-16 10:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-16  9:24 [PATCH v3] arm64: dts: imx8mp-evk: configure multiple queues on eqos Xiaoliang Yang
2021-12-16  9:24 ` Xiaoliang Yang
2021-12-16 10:14 ` Shawn Guo [this message]
2021-12-16 10:14   ` Shawn Guo
2021-12-16 10:27 ` (EXT) " Alexander Stein
2021-12-16 10:27   ` Alexander Stein
2021-12-16 10:54   ` [EXT] " Xiaoliang Yang
2021-12-16 10:54     ` Xiaoliang Yang

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=20211216101438.GL4216@dragon \
    --to=shawnguo@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-tegra@vger.kernel.org \
    --cc=qiangqing.zhang@nxp.com \
    --cc=robh+dt@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=xiaoliang.yang_1@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.