Micrel, Inc.
KSZ8842-PMQL/PMBL
October 2007
108
M9999-100207-1.5
VLAN Table
The KSZ8842-PMQL/PMBL uses the VLAN table to perform look ups. If 802.1Q VLAN mode is enabled (SGCR2[15]),
this table will be used to retrieve the VLAN information that is associated with the ingress packet. This information
includes FID (filter ID), VID (VLAN ID), and VLAN membership as described in table 14:
Bit
Default
R/W
Description
19
1
RW
Valid
1 = specifies that this entry is valid, the look up result will be used
0 = specifies that this entry is not valid
18 – 16
111
R/W
Membership
Specifies which ports are members of the VLAN. If a DA look up fails (no
match in both static and dynamic tables), the packet associated with this
VLAN will be forwarded to ports specified in this field. For example: 101
means port 3 and 1 are in this VLAN.
15 – 12
0x0
R/W
FID
Specifies the Filter ID. The KSZ8842-PMQL/PMBL supports 16 active
VLANs represented by these four bit fields. The FID is the mapped ID. If
802.1Q VLAN is enabled, the look up will be based on FID+DA and
FID+SA.
11 – 0
0x001
R/W
VID
Specifies the IEEE 802.1Q 12 bits VLAN ID.
Table 14. VLAN Table Format (16 Entries)
If 802.1Q VLAN mode is enabled, KSZ8842-PMQL/PMBL will assign a VID to every ingress packet. If the packet is
untagged or tagged with a null VID, the packet is assigned with the default port VID of the ingress port. If the packet is
tagged with non null VID, the VID in the tag will be used. The look up process will start from the VLAN table look up. If
the VID is not valid, the packet will be dropped and no address learning will take place. If the VID is valid, the FID is
retrieved. The FID+DA and FID+SA lookups are performed. The FID+DA look up determines the forwarding ports. If
FID+DA fails, the packet will be broadcast to all the members (excluding the ingress port) of the VLAN. If FID+SA fails,
the FID+SA will be learned.
Examples:
1. VLAN Table Read (read the third entry, at the indirect address offset 0x02)
Write to reg. IACR with 0x1402 (set indirect address and trigger a read VLAN table operation)
Then
Read reg. IADR5 (VLAN table bits 19-16)
Read reg. IADR4 (VLAN table bits 15-0)
2. VLAN Table Write (write the seventh entry, at the indirect address offset 0x06)
Write to reg. IADR5 (VLAN table bits 19-16)
Write to reg. IADR4 (VLAN table bits 15-0)
Write to reg. IACR with 0x1406 (set indirect address and trigger a read VLAN table operation)
相关PDF资料
PIC16LF1938-I/SO IC MCU 8BIT FLASH 28SOIC
PIC16F639-E/SO IC MCU FLASH 2KX14 20SOIC
PIC24F08KL402-I/SS IC MCU 16BIT 8KB FLASH 28-SSOP
PIC16F1936-I/MV IC MCU 8BIT 14KB FLASH 28UQFN
PIC16LF724-I/PT IC PIC MCU FLASH 7KB 44-TQFP
PIC16F724-I/MV MCU 7KB FLASH PROGRAM 40-UQFN
PIC16LF724-I/MV MCU PIC 7KB FLASH XLP 40-UQFN
PIC18F2331T-I/SO IC MCU FLASH 4KX16 28SOIC
相关代理商/技术参数
PIC18F2431T-I/MM 功能描述:8位微控制器 -MCU 16 KB FL 768 RAM 22 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F2431T-I/SO 功能描述:8位微控制器 -MCU 16KB 768 RAM 22 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F2439-E/SO 功能描述:8位微控制器 -MCU 16KB 768 RAM 22 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F2439-E/SP 功能描述:8位微控制器 -MCU 16KB 768 RAM 22 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F2439-I/SO 功能描述:8位微控制器 -MCU 12KB 640 RAM 21 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F2439-I/SP 功能描述:8位微控制器 -MCU 12KB 640 RAM 21 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F2439-I/SP 制造商:Microchip Technology Inc 功能描述:IC 8BIT FLASH MCU 18F2439 SDIL28
PIC18F2439T-E/SO 功能描述:8位微控制器 -MCU MCU CMOS 28 RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT