]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: Remove dependency of PTP on having a dedicated channel
authorBen Hutchings <bhutchings@solarflare.com>
Tue, 15 Oct 2013 16:54:56 +0000 (17:54 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Thu, 12 Dec 2013 22:07:02 +0000 (22:07 +0000)
commit4076688bd4938cfc1e4ef08703317b9335b48b5b
treea600cefb96cfded628ec1f60bca5f36099654e18
parentd122d5b83fc9bdcd898e0da48652acf89bfbcc85
sfc: Remove dependency of PTP on having a dedicated channel

We need a dedicated channel on Siena to ensure we can match up
the separate RX and timestamp events for each PTP packet.  We won't
do this for EF10 as timestamps are delivered inline.

Pass a channel index of 0 to MC_CMD_PTP_OP_ENABLE when there is no
dedicated channel.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/nic.h
drivers/net/ethernet/sfc/ptp.c
drivers/net/ethernet/sfc/siena.c