All of lore.kernel.org
 help / color / mirror / Atom feed
* Realtek r8168C / r8169 driver VLAN TAG stripping
@ 2011-01-13 14:40 Anand Raj Manickam
  2011-01-13 15:09 ` Anand Raj Manickam
  0 siblings, 1 reply; 17+ messages in thread
From: Anand Raj Manickam @ 2011-01-13 14:40 UTC (permalink / raw)
  To: netdev

Hi ,
I have a problem on Realtek 8168C chipset - r8169 Driver .
The VLAN tag on Tx  & Rx gets stripped .

The 8021q module is loaded .
vconfig add eth0 50
ifconfig eth0.50 172.16.1.10 up

ping -I eth0.50 172.16.1.1 .

All packets on Tx & Rx have the VLAN tag stripped on Tx & Rx.

On debugging the Driver , we found that on Tx the VLAN tag is present.

static int rtl8169_start_xmit(struct sk_buff *skb, struct net_device *dev)
{
.
.
tp->tx_skb[entry].len = len;
txd->addr = cpu_to_le64(mapping);
txd->opts2 = cpu_to_le32(rtl8169_tx_vlan_tag(tp, skb));
printk("The Vlan tag %x \n",txd->opts2);
.
.
}

The Vlan tag 23200

In the above value 23200
2 - TxVlanTag
32 - Vlan tag (50).

>From the above we are clear that the Vlan tag reaches the driver .

Can someone shed some light on this issue ?
Any pointer are welcome.
Thanks,
Anand

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2011-02-09  9:52 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-13 14:40 Realtek r8168C / r8169 driver VLAN TAG stripping Anand Raj Manickam
2011-01-13 15:09 ` Anand Raj Manickam
2011-01-16 19:20   ` Francois Romieu
     [not found]     ` <AANLkTi=uNKMj_gs_bKRQ1tQa0TMwdnyrtVcR5JPNpmJv@mail.gmail.com>
2011-01-17  7:34       ` Anand Raj Manickam
2011-01-18  1:21         ` Francois Romieu
2011-01-27 10:35           ` Anand Raj Manickam
2011-01-27 15:07             ` Francois Romieu
2011-01-27 15:31               ` Anand Raj Manickam
2011-01-27 16:50                 ` Francois Romieu
2011-01-28  1:40                   ` Anand Raj Manickam
2011-01-28 12:06                     ` Francois Romieu
2011-01-28 12:16                       ` Anand Raj Manickam
2011-01-31  5:45                       ` hayeswang
2011-01-31 13:14                       ` Ivan Vecera
2011-02-01 10:12                         ` Francois Romieu
2011-02-01 10:38                           ` Anand Raj Manickam
2011-02-09  9:51                             ` hayeswang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.