提交 9a75a972 编写于 作者: J Jiri Pirko 提交者: David S. Miller

via-velocity: remove non-tagged packet filtering

It's undesired to filter untagged packets at any time. So simply remove this.
Reported-by: NStephan Bärwolf <stephan.baerwolf@tu-ilmenau.de>
Tested-by: NStephan Bärwolf <stephan.baerwolf@tu-ilmenau.de>
Signed-off-by: NJiri Pirko <jpirko@redhat.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 ba3211cc
......@@ -515,10 +515,6 @@ static void velocity_init_cam_filter(struct velocity_info *vptr)
mac_set_cam_mask(regs, vptr->mCAMmask);
/* Enable VCAMs */
if (test_bit(0, vptr->active_vlans))
WORD_REG_BITS_ON(MCFG_RTGOPT, &regs->MCFG);
for_each_set_bit(vid, vptr->active_vlans, VLAN_N_VID) {
mac_set_vlan_cam(regs, i, (u8 *) &vid);
vptr->vCAMmask[i / 8] |= 0x1 << (i % 8);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册