* broken vlan support on Realtek RTL8111/8168/8411 rev 9
@ 2017-09-10 17:16 Benoit Panizzon
2017-09-11 22:23 ` Francois Romieu
0 siblings, 1 reply; 3+ messages in thread
From: Benoit Panizzon @ 2017-09-10 17:16 UTC (permalink / raw)
To: netdev
Hello
I make a strange observation. I have two machines.
One with a:
Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit
Ethernet Controller (rev 02)
The other one with the same card, but (rev 09).
The rev 02 one works flawlessly.
The rev 09 one does set all vlan tags to zero on rx!
It's not a config error on the switch, I swapped interfaces with the
one the other card is working.
I did try the r8169 kernel module from Realtek stead of the r8168 one,
the problem persists.
I did try to disable vlan offloading:
rx-vlan-offload: on
tx-vlan-offload: on
It's not marked as fixed but:
when I try to turn offloading off I get:
# /sbin/ethtool -K eth0 rx-vlan-offload off
ethtool: bad command line argument(s)
For more information run ethtool -h
Could anyone give me a hint how to further debug the problem or disable
vlan offloading completely?
-Benoit-
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: broken vlan support on Realtek RTL8111/8168/8411 rev 9
2017-09-10 17:16 broken vlan support on Realtek RTL8111/8168/8411 rev 9 Benoit Panizzon
@ 2017-09-11 22:23 ` Francois Romieu
2017-09-12 11:07 ` Benoit Panizzon
0 siblings, 1 reply; 3+ messages in thread
From: Francois Romieu @ 2017-09-11 22:23 UTC (permalink / raw)
To: Benoit Panizzon; +Cc: netdev
Benoit Panizzon <benoit.panizzon@imp.ch> :
[...]
> It's not marked as fixed but:
>
> when I try to turn offloading off I get:
>
> # /sbin/ethtool -K eth0 rx-vlan-offload off
> ethtool: bad command line argument(s)
> For more information run ethtool -h
>
> Could anyone give me a hint how to further debug the problem or disable
> vlan offloading completely?
ethtool -K eth0 rxvlan off
For my reward, please send a complete dmesg where the messages from
the vanilla r8169 module appear for the rev 09 card (r81..f ?). I won't
dig it right now.
--
Ueimor
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: broken vlan support on Realtek RTL8111/8168/8411 rev 9
2017-09-11 22:23 ` Francois Romieu
@ 2017-09-12 11:07 ` Benoit Panizzon
0 siblings, 0 replies; 3+ messages in thread
From: Benoit Panizzon @ 2017-09-12 11:07 UTC (permalink / raw)
To: Francois Romieu; +Cc: netdev
Hi Francois
> ethtool -K eth0 rxvlan off
Thank you, that did the trick, vlan tags are not correctly passed on
and not set to vlan 0 with rxvlan turned off.
> For my reward, please send a complete dmesg where the messages from
> the vanilla r8169 module appear for the rev 09 card (r81..f ?). I
> won't dig it right now.
Yes, the 'f' variant:
[ 1.035203] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 1.035262] r8169 0000:03:00.0: setting latency timer to 64
[ 1.035348] r8169 0000:03:00.0: irq 41 for MSI/MSI-X
[ 1.035634] r8169 0000:03:00.0: eth0: RTL8168f/8111f at 0xffffc90000c28000, c8:60:00:dd:f8:6c, XID 08000800 IRQ 41
[ 1.035637] r8169 0000:03:00.0: eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[ 10.403921] r8169 0000:03:00.0: firmware: agent loaded rtl_nic/rtl8168f-1.fw into memory
Linux pulsar 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u2 (2017-06-26) x86_64 GNU/Linux
624831688e25aa47fa84c30c045fcae3 /lib/firmware/rtl_nic/rtl8168f-1.fw
Firmware Bug or Hardware Problem?
-Benoît Panizzon-
--
I m p r o W a r e A G - Leiter Commerce Kunden
______________________________________________________
Zurlindenstrasse 29 Tel +41 61 826 93 00
CH-4133 Pratteln Fax +41 61 826 93 01
Schweiz Web http://www.imp.ch
______________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-09-12 11:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-10 17:16 broken vlan support on Realtek RTL8111/8168/8411 rev 9 Benoit Panizzon
2017-09-11 22:23 ` Francois Romieu
2017-09-12 11:07 ` Benoit Panizzon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox