Re: [PATCH RFC net-next] netconsole: selftest: Add test for fragmented messages

2025-02-03 Thread Breno Leitao
On Mon, Feb 03, 2025 at 02:21:02PM +, Simon Horman wrote: > On Mon, Feb 03, 2025 at 03:00:37AM -0800, Breno Leitao wrote: > > Hello Simon, > > > > On Mon, Feb 03, 2025 at 10:48:55AM +, Simon Horman wrote: > > > On Fri, Jan 31, 2025 at 04:39:38AM -0800, Breno Leitao wrote: > > > > > > +# V

Re: [PATCH RFC net-next] netconsole: selftest: Add test for fragmented messages

2025-02-03 Thread Simon Horman
On Mon, Feb 03, 2025 at 03:00:37AM -0800, Breno Leitao wrote: > Hello Simon, > > On Mon, Feb 03, 2025 at 10:48:55AM +, Simon Horman wrote: > > On Fri, Jan 31, 2025 at 04:39:38AM -0800, Breno Leitao wrote: > > > > +# Validate the message, which has two messages glued together. > > > +# unwrap

Re: [PATCH RFC net-next] netconsole: selftest: Add test for fragmented messages

2025-02-03 Thread Breno Leitao
Hello Simon, On Mon, Feb 03, 2025 at 10:48:55AM +, Simon Horman wrote: > On Fri, Jan 31, 2025 at 04:39:38AM -0800, Breno Leitao wrote: > > +# Validate the message, which has two messages glued together. > > +# unwrap them to make sure all the characters were transmitted. > > +# File will look

Re: [PATCH RFC net-next] netconsole: selftest: Add test for fragmented messages

2025-02-03 Thread Simon Horman
On Fri, Jan 31, 2025 at 04:39:38AM -0800, Breno Leitao wrote: > Add a new selftest to verify netconsole's handling of messages that > exceed the packet size limit and require fragmentation. The test sends > messages with varying sizes and userdata, validating that: > > 1. Large messages are correc

[PATCH RFC net-next] netconsole: selftest: Add test for fragmented messages

2025-01-31 Thread Breno Leitao
Add a new selftest to verify netconsole's handling of messages that exceed the packet size limit and require fragmentation. The test sends messages with varying sizes and userdata, validating that: 1. Large messages are correctly fragmented and reassembled 2. Userdata fields are properly preserved