Home
last modified time | relevance | path

Searched hist:"1007 f59dce53a22cba164f854d7bdc171c85dc79" (Results 1 – 1 of 1) sorted by relevance

/linux/net/core/
H A Dtimestamping.cdiff 1007f59dce53a22cba164f854d7bdc171c85dc79 Thu Jul 09 20:02:52 CEST 2015 Alexander Duyck <alexander.h.duyck@redhat.com> net: skb_defer_rx_timestamp should check for phydev before setting up classify

This change makes it so that the call skb_defer_rx_timestamp will first
check for a phydev before going in and manipulating the skb->data and
skb->len values. By doing this we can avoid unnecessary work on network
devices that don't support phydev. As a result we reduce the total
instruction count needed to process this on most devices.

Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>