Hi Andrew, On Oct. Thursday 01 (40) 06:26 PM, Andrew Lunn wrote: > > DSA drivers don't need dynamic resources from the kernel. > > It is hard to say if that is going to remain true. I think when we > start doing more D in DSA, we might need to keep more state > information.
Maybe, but we should keep things simple and do not use complex structures until we need them. > What we need to avoid is making changes now that we later need to undo > because we need dynamic resources. So i'm happy for a simple > interface, so long as i can still use the complex interface, when i > need it. Yes, note that I don't want to get rid of switchdev_trans here. I want to explicitly skip it in the DSA framework (net/dev/slave.c) while allowing DSA drivers (e.g. mv88e6xxx.c) to tell us if a feature object is supported or not. Thanks, -v -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html