* [patch net-2.6] via-velocity: remove non-tagged packet filtering
@ 2011-08-16 8:33 Jiri Pirko
2011-08-18 3:14 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Jiri Pirko @ 2011-08-16 8:33 UTC (permalink / raw)
To: netdev; +Cc: davem, shemminger, romieu, stephan.baerwolf
It's undesired to filter untagged packets at any time. So simply remove this.
Reported-by: Stephan Bärwolf <stephan.baerwolf@tu-ilmenau.de>
Tested-by: Stephan Bärwolf <stephan.baerwolf@tu-ilmenau.de>
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
---
drivers/net/via-velocity.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/drivers/net/via-velocity.c b/drivers/net/via-velocity.c
index deb1eca..7c5336c 100644
--- a/drivers/net/via-velocity.c
+++ b/drivers/net/via-velocity.c
@@ -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, ®s->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);
--
1.7.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [patch net-2.6] via-velocity: remove non-tagged packet filtering
2011-08-16 8:33 [patch net-2.6] via-velocity: remove non-tagged packet filtering Jiri Pirko
@ 2011-08-18 3:14 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2011-08-18 3:14 UTC (permalink / raw)
To: jpirko; +Cc: netdev, shemminger, romieu, stephan.baerwolf
From: Jiri Pirko <jpirko@redhat.com>
Date: Tue, 16 Aug 2011 10:33:34 +0200
> It's undesired to filter untagged packets at any time. So simply remove this.
>
> Reported-by: Stephan Bärwolf <stephan.baerwolf@tu-ilmenau.de>
> Tested-by: Stephan Bärwolf <stephan.baerwolf@tu-ilmenau.de>
> Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-18 3:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-16 8:33 [patch net-2.6] via-velocity: remove non-tagged packet filtering Jiri Pirko
2011-08-18 3:14 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).