All of lore.kernel.org
 help / color / mirror / Atom feed
From: hayeswang <hayeswang@realtek.com>
To: 'Anand Raj Manickam' <anandrm@gmail.com>,
	'Francois Romieu' <romieu@fr.zoreil.com>
Cc: 'Ivan Vecera' <ivecera@redhat.com>, <netdev@vger.kernel.org>
Subject: RE: Realtek r8168C / r8169 driver VLAN TAG stripping
Date: Wed, 9 Feb 2011 17:51:54 +0800	[thread overview]
Message-ID: <CD09B45F37004B06A86638CA387A191A@realtek.com.tw> (raw)
In-Reply-To: <AANLkTin+MkXrqpkcKxUbMk9UDAtYz3H02Ka+CjGxJQRB@mail.gmail.com>


I have tested 8168C with RTL_GIGA_MAC_VER_22 . It seems fine with VLAN. My
platform is using Fedora 14. I connect my linux platform with windows one
directly because I don't have a switch supporting VLAN. I set VLAN both windows
side and Linux side and it works well. For the windows side, I use 8111D.

$ uname -a
Linux fc14.localdomain 2.6.35.10-74.fc14.i686 #1 SMP Thu Dec 23 16:17:40 UTC
2010 i686 i686 i386 GNU/Linux

$ ethtool -i eth4
driver: r8169
version: 2.3LK-NAPI
firmware-version: 
bus-info: 0000:04:00.0

$ ifconfig eth4.10
eth4.10   Link encap:Ethernet  HWaddr 00:E0:4C:68:00:1B  
          inet addr:192.168.123.112  Bcast:192.168.123.255  Mask:255.255.255.0
          inet6 addr: fe80::2e0:4cff:fe68:1b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6060686 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7154774 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:162285185 (154.7 MiB)  TX bytes:188567970 (179.8 MiB)

$ cat /proc/cpuinfo
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 15
model		: 6
model name	: Intel(R) Pentium(R) D CPU 3.00GHz
stepping	: 2
cpu MHz		: 3000.000
cache size	: 2048 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 2
apicid		: 0
initial apicid	: 0
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 6
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat
pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pebs
bts pni dtes64 monitor ds_cpl vmx cid cx16 xtpr pdcm lahf_lm tpr_shadow
bogomips	: 6018.47
clflush size	: 64
cache_alignment	: 128
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 15
model		: 6
model name	: Intel(R) Pentium(R) D CPU 3.00GHz
stepping	: 2
cpu MHz		: 3000.000
cache size	: 2048 KB
physical id	: 0
siblings	: 2
core id		: 1
cpu cores	: 2
apicid		: 1
initial apicid	: 1
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 6
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat
pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pebs
bts pni dtes64 monitor ds_cpl vmx cid cx16 xtpr pdcm lahf_lm tpr_shadow
bogomips	: 6018.36
clflush size	: 64
cache_alignment	: 128
address sizes	: 36 bits physical, 48 bits virtual
power management:

 
Best Regards,
Hayes


> -----Original Message-----
> From: Anand Raj Manickam [mailto:anandrm@gmail.com] 
> Sent: Tuesday, February 01, 2011 6:38 PM
> To: Francois Romieu
> Cc: Ivan Vecera; netdev@vger.kernel.org; Hayeswang
> Subject: Re: Realtek r8168C / r8169 driver VLAN TAG stripping
> 
> On Tue, Feb 1, 2011 at 3:42 PM, Francois Romieu 
> <romieu@fr.zoreil.com> wrote:
> > Ivan Vecera <ivecera@redhat.com> :
> > [...]
> >> Unfortunately I have no local access (it's placed in 
> China) or remote 
> >> serial console to the system with this 8168c. The second 
> problem is 
> >> that the system is connected to the switch that does not pass the 
> >> packets with VLAN tags -> it seems that at least Tx 
> packets have the VLAN tag.
> >>
> >> I'm sorry I'm not able to help more.
> >
> > Thanks a lot for the information, it is both welcome and helpful.
> >
> > I'll freeze Anand's report for now as "8168c + unspecified glue 
> > hardware bug with unknown product manufactured by Arkino on 
> > unidentified motherboard with unknown number of processors".
> 
>  cat /proc/cpuinfo
> processor	: 0
> vendor_id	: AuthenticAMD
> cpu family	: 16
> model		: 6
> model name	: AMD Sempron(tm) 140 Processor
> stepping	: 2
> cpu MHz		: 2700.641
> cache size	: 1024 KB
> fdiv_bug	: no
> hlt_bug		: no
> f00f_bug	: no
> coma_bug	: no
> fpu		: yes
> fpu_exception	: yes
> cpuid level	: 5
> wp		: yes
> flags		: fpu vme de pse tsc msr pae mce cx8 apic sep 
> mtrr pge mca cmov
> pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext 
> fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc up 
> nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm svm 
> extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw 
> ibs skinit wdt npt lbrv svm_lock nrip_save
> bogomips	: 5401.28
> clflush size	: 64
> cache_alignment	: 64
> address sizes	: 48 bits physical, 48 bits virtual
> power management: ts ttp tm stc 100mhzsteps hwpstate
> 
> 


      reply	other threads:[~2011-02-09  9:52 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CD09B45F37004B06A86638CA387A191A@realtek.com.tw \
    --to=hayeswang@realtek.com \
    --cc=anandrm@gmail.com \
    --cc=ivecera@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=romieu@fr.zoreil.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.