]> git.baikalelectronics.ru Git - kernel.git/commit
fm10k: Add support for ptp to hw specific files
authorAlexander Duyck <alexander.h.duyck@intel.com>
Sat, 20 Sep 2014 23:53:40 +0000 (19:53 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 23 Sep 2014 10:59:22 +0000 (03:59 -0700)
commitbc4f705db7d88296e29254ecf39975a5e0d2e50d
tree75b962d536ceac983d15339c91516e487c523ff4
parent6b2a29a014e65e8896dc49896b26ac5b4df9827c
fm10k: Add support for ptp to hw specific files

This change adds the messaging support needed to support PTP.  In the case
of Tx timestamps it is necessary for the Switch Management entity to return
the frames via the mailbox as the host interface cannot know which port the
timestamp will be delivered to.  In addition there is only one clock on the
entire switch, as such the entity that has BAR 4 access is the only one who
can actually update the frequency as it is the only one with access.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k_common.h
drivers/net/ethernet/intel/fm10k/fm10k_pf.c
drivers/net/ethernet/intel/fm10k/fm10k_type.h
drivers/net/ethernet/intel/fm10k/fm10k_vf.c
drivers/net/ethernet/intel/fm10k/fm10k_vf.h