]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
skge: fix transmitter flow control
authorStephen Hemminger <shemminger@linux-foundation.org>
Fri, 23 Feb 2007 22:03:00 +0000 (14:03 -0800)
committerJeff Garzik <jeff@garzik.org>
Tue, 27 Feb 2007 09:16:04 +0000 (04:16 -0500)
commitc4cd29d2058808b7a68e3f2e6cbbcfe19ca7233d
tree36a0139a9ab4df2e7b63f20d3a1184f638a5db81
parent9dc6f0e789ac8cdd4a7912a9c27027d937a6e784
skge: fix transmitter flow control

It looks like the skge driver inherited another bug from the sk98lin code.
If I send from 1000mbit port to a machine on 100mbit port, the switch should
be doing hardware flow control, but no pause frames show up in the statistics.

This is the analog of the recent sky2 fixes. The device needs to listen
for multicast pause frames and then not discard them.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/skge.c
drivers/net/skge.h