commit | 46f1c52e66dbc0d7a99f7c2a3c9debb497fe7b7b | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Wed Aug 23 14:41:50 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Aug 23 22:40:49 2017 -0700 |
tree | 71d077de7e2b677bdffe612392cd612f42bfc4ad | |
parent | ee6c88bb754e3d363e568da78086adfedb692447 [diff] |
nfp: TX time stamp packets before HW doorbell is rung TX completion may happen any time after HW queue was kicked. We can't access the skb afterwards. Move the time stamping before ringing the doorbell. Fixes: 4c3523623dc0 ("net: add driver for Netronome NFP4000/NFP6000 NIC VFs") Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>