ocelot.c (2ea352d5960ad469f5712cf3e293db97beac4e01) ocelot.c (fc62c0948986b7aa6b2871a450a4469e35c5f9bc)
1// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2/*
3 * Microsemi Ocelot Switch driver
4 *
5 * Copyright (c) 2017 Microsemi Corporation
6 */
7#include <linux/etherdevice.h>
8#include <linux/ethtool.h>

--- 722 unchanged lines hidden (view full) ---

731 entry = list_entry(pos, struct ocelot_skb, head);
732 if (entry->id != id)
733 continue;
734
735 skb = entry->skb;
736
737 list_del(pos);
738 kfree(entry);
1// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2/*
3 * Microsemi Ocelot Switch driver
4 *
5 * Copyright (c) 2017 Microsemi Corporation
6 */
7#include <linux/etherdevice.h>
8#include <linux/ethtool.h>

--- 722 unchanged lines hidden (view full) ---

731 entry = list_entry(pos, struct ocelot_skb, head);
732 if (entry->id != id)
733 continue;
734
735 skb = entry->skb;
736
737 list_del(pos);
738 kfree(entry);
739 break;
739 }
740
741 /* Next ts */
742 ocelot_write(ocelot, SYS_PTP_NXT_PTP_NXT, SYS_PTP_NXT);
743
744 if (unlikely(!skb))
745 continue;
746

--- 1771 unchanged lines hidden ---
740 }
741
742 /* Next ts */
743 ocelot_write(ocelot, SYS_PTP_NXT_PTP_NXT, SYS_PTP_NXT);
744
745 if (unlikely(!skb))
746 continue;
747

--- 1771 unchanged lines hidden ---