commit | fa91da4992d6068387a0b1e8862c17e18af7d728 | [log] [tgz] |
---|---|---|
author | Aurelien Jarno <aurelien@aurel32.net> | Wed Feb 06 21:44:47 2019 +0100 |
committer | Jukka Rissanen <jukka.rissanen@linux.intel.com> | Fri Feb 08 12:41:11 2019 +0200 |
tree | edd42d3a2381f1fc376cb96ff346b9e9f13149ef | |
parent | 757d86b2413084f45a7861d6fd830cf15170e327 [diff] |
drivers: eth: gmac: only keep a reference to the packet when PTP is used The SAM GMAC Ethernet driver currently keeps a reference to the packet being sent in addition than keeping of references of the fragments. In practice this is only needed when PTP is enabled, otherwise the driver only need to prevent the fragment (or even their content) to be changed. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>