net: macb: Add support for PTP timestamps in DMA descriptors
authorRafal Ozieblo <rafalo@cadence.com>
Thu, 29 Jun 2017 06:12:51 +0000 (07:12 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Jun 2017 17:11:41 +0000 (13:11 -0400)
commit7b4296148066f19b5960127ba579e358df501c22
tree2ab6336928cd958deb408dcecfcb7b300f4cb20f
parentb07911593719828cac023bdcf6bf4da1c9ba546f
net: macb: Add support for PTP timestamps in DMA descriptors

This patch adds support for PTP timestamps in
DMA buffer descriptors. It checks capability at runtime
and uses appropriate buffer descriptor.

Signed-off-by: Rafal Ozieblo <rafalo@cadence.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/Kconfig
drivers/net/ethernet/cadence/macb.c
drivers/net/ethernet/cadence/macb.h