diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2014-08-28 15:11:03 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-01 18:11:47 -0700 |
commit | d09d3038a336cbab6bde616ce44266c36c214f81 (patch) | |
tree | 62875b85916231a50302f738d3b7d9ab17d98f9a /net/ipv4/tcp_yeah.c | |
parent | afb84b6261841f8ab387e267e748236fa805bea0 (diff) | |
download | op-kernel-dev-d09d3038a336cbab6bde616ce44266c36c214f81.zip op-kernel-dev-d09d3038a336cbab6bde616ce44266c36c214f81.tar.gz |
net: systemport: tell RXCHK if we are using Broadcom tags
When Broadcom tags are enabled, e.g: when interfaced to an Ethernet
switch, make sure that we tell the RXCHK engine that it should be
expecting a 4-bytes Broadcom tag after the Ethernet MAC Source Address.
Use netdev_uses_dsa() to check for that condition since that will tell
us if a switch is attached to our network interface.
Fixes: 80105befdb4b ("net: systemport: add Broadcom SYSTEMPORT Ethernet MAC driver")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_yeah.c')
0 files changed, 0 insertions, 0 deletions