Re: [PATCH net-next 2/2] net: macb: distribute evenly Tx SRAM segments

From: Jakub Kicinski

Date: Fri Mar 06 2026 - 22:07:22 EST


On Thu, 05 Mar 2026 18:20:15 +0100 Théo Lebrun wrote:
> MODULE_DESCRIPTION("Cadence MACB/GEM Ethernet driver");
> MODULE_AUTHOR("Haavard Skinnemoen (Atmel)");
> MODULE_ALIAS("platform:macb");

these macros should be at the end of the file
you should probably move the test to a new file

> +#ifdef CONFIG_MACB_KUNIT_TEST
> +#include <kunit/test.h>
> +
> +struct macb_sram_segments_case {
> + unsigned int num_queues, num_segments;
> +};