diff options
author | Roland Hii <roland.king.guan.hii@intel.com> | 2019-06-19 22:41:48 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-22 16:17:31 -0700 |
commit | d0bb82fd60183868f46c8ccc595a3d61c3334a18 (patch) | |
tree | a758e5a0a657a77cccd1a78582ddffefb054b88c /drivers/net/ethernet/sis | |
parent | a1e5388b4d5fc78688e5e9ee6641f779721d6291 (diff) |
net: stmmac: set IC bit when transmitting frames with HW timestamp
When transmitting certain PTP frames, e.g. SYNC and DELAY_REQ, the
PTP daemon, e.g. ptp4l, is polling the driver for the frame transmit
hardware timestamp. The polling will most likely timeout if the tx
coalesce is enabled due to the Interrupt-on-Completion (IC) bit is
not set in tx descriptor for those frames.
This patch will ignore the tx coalesce parameter and set the IC bit
when transmitting PTP frames which need to report out the frame
transmit hardware timestamp to user space.
Fixes: f748be531d70 ("net: stmmac: Rework coalesce timer and fix multi-queue races")
Signed-off-by: Roland Hii <roland.king.guan.hii@intel.com>
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: Voon Weifeng <weifeng.voon@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sis')
0 files changed, 0 insertions, 0 deletions