drivers: eth: mcux: Prioritize received PTP packets to high
Set the received PTP packet priority high so that those packets will be handled first. Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
parent
18d327c432
commit
77e03fc8be
|
@ -389,6 +389,8 @@ static bool eth_get_ptp_data(struct net_if *iface, struct net_pkt *pkt,
|
|||
}
|
||||
}
|
||||
|
||||
net_pkt_set_priority(pkt, NET_PRIORITY_CA);
|
||||
|
||||
if (ptpTsData) {
|
||||
|
||||
/* Cannot use GPTP_HDR as net_pkt fields are not all filled */
|
||||
|
|
Loading…
Reference in New Issue