DPDK patches and discussions
 help / color / mirror / Atom feed
From: Paul Szczepanek <paul.szczepanek@arm.com>
To: Patrick Robb <probb@iol.unh.edu>, Dean Marx <dmarx@iol.unh.edu>
Cc: nd@arm.com, luca.vizzarro@arm.com, yoan.picchi@foss.arm.com,
	Honnappa.Nagarahalli@arm.com, dev@dpdk.org
Subject: Re: [PATCH v1 3/3] dts: fix doc generation bug
Date: Thu, 29 May 2025 13:28:16 +0100	[thread overview]
Message-ID: <b1bd3025-db4d-49ea-b80f-dc1e3fb74a4f@arm.com> (raw)
In-Reply-To: <CAJvnSUB1cU0kzaAsLQv57y3Zbmp70FkKyK0BGBRg8Qb6m7Bs9A@mail.gmail.com>

Patrick is right but it's OK, I'll merge as part of the series - in the
end it's a separate commit.

Reviewed-by: Paul Szczepanek <paul.szczepanek@arm.com>

On 28/05/2025 21:28, Patrick Robb wrote:
> 
> 
> On Tue, May 27, 2025 at 11:37 AM Dean Marx <dmarx@iol.unh.edu
> <mailto:dmarx@iol.unh.edu>> wrote:
> 
>     Fix a bug in the port stats check test suite that was causing
>     the DTS doc generation to fail.
> 
>     Fixes: 8f21210b1d50 ("dts: add port stats check test suite")
> 
>     Signed-off-by: Dean Marx <dmarx@iol.unh.edu <mailto:dmarx@iol.unh.edu>>
>     ---
>      dts/tests/TestSuite_port_stats_checks.py | 13 +++++++++----
>      1 file changed, 9 insertions(+), 4 deletions(-)
> 
>     diff --git a/dts/tests/TestSuite_port_stats_checks.py b/dts/tests/
>     TestSuite_port_stats_checks.py
>     index 2a3fb06946..491c2263b6 100644
>     --- a/dts/tests/TestSuite_port_stats_checks.py
>     +++ b/dts/tests/TestSuite_port_stats_checks.py
>     @@ -51,10 +51,15 @@ class TestPortStatsChecks(TestSuite):
> 
>          #: Length of the packet being sent including the IP and frame
>     headers.
>          total_packet_len: ClassVar[int] = 100
>     -    #: Packet to send during testing.
>     -    send_pkt: ClassVar[Packet] = (
>     -        Ether() / IP() / Raw(b"X" * (total_packet_len -
>     ip_header_len - ether_header_len))
>     -    )
>     +
>     +    @property
>     +    def send_pkt(self) -> Packet:
>     +        """Packet to send during testing."""
>     +        return (
>     +            Ether()
>     +            / IP()
>     +            / Raw(b"X" * (self.total_packet_len -
>     self.ip_header_len - self.ether_header_len))
>     +        )
> 
> 
> Looks good. In my opinion this should be a standalone patch, since it's
> unrelated to patch 1 and 2, but it's not functionally relevant since
> there is no such thing as a series in git, so you don't need to
> resubmit. Keep in mind for future series though that they should be
> logically grouped.
> 
> Reviewed-by: Patrick Robb <probb@iol.unh.edu <mailto:probb@iol.unh.edu>> 
>  
> 
> 
>          def extract_noise_information(
>              self, verbose_out: list[TestPmdVerbosePacket]
>     -- 
>     2.49.0
> 


  reply	other threads:[~2025-05-29 12:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-27 15:37 [PATCH v1 1/3] dts: rewrite README Dean Marx
2025-05-27 15:37 ` [PATCH v1 2/3] dts: rewrite dts rst Dean Marx
2025-05-28 21:25   ` Patrick Robb
2025-05-29 12:27     ` Paul Szczepanek
2025-05-27 15:37 ` [PATCH v1 3/3] dts: fix doc generation bug Dean Marx
2025-05-28 20:28   ` Patrick Robb
2025-05-29 12:28     ` Paul Szczepanek [this message]
2025-05-28 20:40 ` [PATCH v1 1/3] dts: rewrite README Patrick Robb
2025-05-29 12:27   ` Paul Szczepanek
2025-05-29 12:40 ` Paul Szczepanek

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=b1bd3025-db4d-49ea-b80f-dc1e3fb74a4f@arm.com \
    --to=paul.szczepanek@arm.com \
    --cc=Honnappa.Nagarahalli@arm.com \
    --cc=dev@dpdk.org \
    --cc=dmarx@iol.unh.edu \
    --cc=luca.vizzarro@arm.com \
    --cc=nd@arm.com \
    --cc=probb@iol.unh.edu \
    --cc=yoan.picchi@foss.arm.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;
as well as URLs for NNTP newsgroup(s).