• Y
    enetc: add hardware timestamping support · d3982312
    Y.b. Lu 提交于
    This patch is to add hardware timestamping support
    for ENETC. On Rx, timestamping is enabled for all
    frames. On Tx, we only instruct the hardware to
    timestamp the frames marked accordingly by the stack.
    
    Because the RX BD ring dynamic allocation has not been
    supported and it is too expensive to use extended RX BDs
    if timestamping is not used, a Kconfig option is used to
    enable extended RX BDs in order to support hardware
    timestamping. This option will be removed once RX BD
    ring dynamic allocation is implemented.
    Signed-off-by: NYangbo Lu <yangbo.lu@nxp.com>
    Signed-off-by: NClaudiu Manoil <claudiu.manoil@nxp.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    d3982312
enetc.h 5.9 KB