]> 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)
commit845ff96297a930a1a582ea0bcc3143d7590b832f
treeba6c8f5934481d45a756cc3b604c22860b60832d
parent7f8afe08ca9cfecdb4fd1a812a98a07f46ca0831
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