On Tue, May 28, 2024 at 06:38:06AM +0200, Michal Swiatkowski wrote: > Keep the same flow of port representor creation, but instead of general > attach function create helpers for specific representor type. > > Store function pointer for add and remove representor. > > Type of port representor can be also known based on VSI type, but it > is more clean to have it directly saved in port representor structure. > > Add devlink lock for whole port representor creation and destruction. > > Reviewed-by: Wojciech Drewek <wojciech.dre...@intel.com> > Signed-off-by: Michal Swiatkowski <michal.swiatkow...@linux.intel.com>
Reviewed-by: Simon Horman <ho...@kernel.org>