]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - include/soc/mscc/ocelot.h
net: dsa: tag_ocelot_8021q: add support for PTP timestamping
[mirror_ubuntu-jammy-kernel.git] / include / soc / mscc / ocelot.h
index ded9ae1149bc54d0f8dafb0a05eec65a98eb2bfd..1f2d909765643773b1269729396b3b4b8a9e943d 100644 (file)
@@ -742,6 +742,7 @@ bool ocelot_can_inject(struct ocelot *ocelot, int grp);
 void ocelot_port_inject_frame(struct ocelot *ocelot, int port, int grp,
                              u32 rew_op, struct sk_buff *skb);
 int ocelot_xtr_poll_frame(struct ocelot *ocelot, int grp, struct sk_buff **skb);
+void ocelot_drain_cpu_queue(struct ocelot *ocelot, int grp);
 
 #else
 
@@ -762,6 +763,10 @@ static inline int ocelot_xtr_poll_frame(struct ocelot *ocelot, int grp,
        return -EIO;
 }
 
+static inline void ocelot_drain_cpu_queue(struct ocelot *ocelot, int grp)
+{
+}
+
 #endif
 
 /* Hardware initialization */