]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: sja1105: Reject unsupported link modes for AN
authorVladimir Oltean <olteanv@gmail.com>
Thu, 2 May 2019 20:23:38 +0000 (23:23 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 May 2019 14:49:17 +0000 (10:49 -0400)
commite4e368dd836477e684a7684eab2dda76d4827405
treeba6c8f5934481d45a756cc3b604c22860b60832d
parent396eae067f1a4d9c454c7fb18a41954d0c91381a
net: dsa: sja1105: Reject unsupported link modes for AN

Ethernet flow control:

The switch MAC does not consume, nor does it emit pause frames. It
simply forwards them as any other Ethernet frame (and since the DMAC is,
per IEEE spec, 01-80-C2-00-00-01, it means they are filtered as
link-local traffic and forwarded to the CPU, which can't do anything
useful with them).

Duplex:

There is no duplex setting in the SJA1105 MAC. It is known to forward
traffic at line rate on the same port in both directions. Therefore it
must be that it only supports full duplex.

Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/sja1105/sja1105_main.c