default or selected kernelversion does not have config value CONFIG_NET_DSA_MICROCHIP_KSZ8795.
Result is shown for kernelversion 6.7-rc4

Microchip KSZ8795 series switch support

modulename: ksz8795.ko

configname: CONFIG_NET_DSA_MICROCHIP_KSZ8795

Linux Kernel Configuration
└─>Device Drivers
└─>Network device support
└─>Distributed Switch Architecture drivers
└─>Microchip KSZ8795 series switch support
In linux kernel since version 4.14.326 (release Date: 2023-09-23)  
This driver adds support for Microchip KSZ8795/KSZ88X3 switch chips.

source code: