]> 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)
commitb817fe2731bc0f6a95ab7ea0809147f87d48d0c5
treea600cefb96cfded628ec1f60bca5f36099654e18
parentf50f00546a74012af0e30cd231efdde6579f74b5
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