qede: Add driver support for PTP
authorSudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com>
Wed, 15 Feb 2017 08:24:11 +0000 (10:24 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Feb 2017 17:42:53 +0000 (12:42 -0500)
commit4c55215c05d252e975930fe08ff418d02e002ceb
tree9ea214d52889e57fd7532a8039509a7fe86a1d5e
parentc78c70fa30e23dc6cdb394f6c13880919499fba5
qede: Add driver support for PTP

This patch adds the driver support for,
  - Registering the ptp clock functionality with the OS.
  - Timestamping the Rx/Tx PTP packets.
  - Ethtool callbacks related to PTP.

Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/Kconfig
drivers/net/ethernet/qlogic/qede/Makefile
drivers/net/ethernet/qlogic/qede/qede.h
drivers/net/ethernet/qlogic/qede/qede_ethtool.c
drivers/net/ethernet/qlogic/qede/qede_fp.c
drivers/net/ethernet/qlogic/qede/qede_main.c
drivers/net/ethernet/qlogic/qede/qede_ptp.c [new file with mode: 0644]
drivers/net/ethernet/qlogic/qede/qede_ptp.h [new file with mode: 0644]