mirror of
https://github.com/torvalds/linux.git
synced 2025-08-15 06:01:56 +02:00
![]() Currently when adding devlink port, phys_port_name is automatically generated within devlink port initialization flow. As a result adding devlink port support to driver may result in forced changes of interface names, which breaks already existing network configs. This is an expected behavior but in some scenarios it would not be preferable to provide such limitation for legacy driver not being able to keep 'pre-devlink' interface name. Add flag no_phys_port_name to devlink_port_attrs struct which indicates if devlink should not alter name of interface. Suggested-by: Jiri Pirko <jiri@resnulli.us> Link: https://lore.kernel.org/all/nbwrfnjhvrcduqzjl4a2jafnvvud6qsbxlvxaxilnryglf4j7r@btuqrimnfuly/ Signed-off-by: Jedrzej Jagielski <jedrzej.jagielski@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com> |
||
---|---|---|
.. | ||
core.c | ||
dev.c | ||
devl_internal.h | ||
dpipe.c | ||
health.c | ||
linecard.c | ||
Makefile | ||
netlink.c | ||
netlink_gen.c | ||
netlink_gen.h | ||
param.c | ||
port.c | ||
rate.c | ||
region.c | ||
resource.c | ||
sb.c | ||
trap.c |