While studying for CCNA, I came across the information that in a network device, say a switch, the CPU is responsible for the control and management planes work, while the actual data forwarding is done by ASICs, chips built specifically for that. Thus, the forwarding is done 'in hardware'.
Recently, I read some documentation of a network switch which got me confused. It seems that the switch in question has its ports connected to PHYs, chips that implement the L1 functions. Next, the PHYs are connected to Switching Chips (Broadcom Avenger BCM53162M), which, in turn, are connected in between them, and to the CPU (TI AM355x). Moreover, the switches in the series, might have additional software capabilities (such as additional protocols) if FPGAs are present on the PCBA.
My questions are:
- what is the purpose of the switching chip? Since they are connected to PHYs, are they the chips implementing the MAC layer functions? Or are they just switching the frames?
- why is an FPGA necessary for additional software capabilities? Shouldn't the CPU be doing the processing of any protocol implemented in the OS?
- which of these components (PHY, switching chip, FPGA) qualify as ASICs?