Re: [PATCH] net: mctp: Add MCTP PCIe VDM transport driver

From: Adam Young
Date: Thu Jul 17 2025 - 17:40:21 EST



On 7/17/25 04:21, YH Chung wrote:
Would it be preferable to create a directory such as net/mctp/aspeed/ to host the abstraction layer alongside the hardware-specific drivers?
We're considering this structure to help encapsulate the shared logic and keep the MCTP PCIe VDM-related components organized.

My suggestiong  is: Keep it simple.  There are only a handful of mctp device drivers thus far, and there seems to be little justification for a deeper hierarchy.

Just focus on the cleanest implementation.  Having two drivers plus a single common source code for each in drivers/net/mctp seems to be easier to manage for now.