net: mscc: ocelot: convert to ocelot_port_txtstamp_request()
Convert to a common ocelot_port_txtstamp_request() for TX timestamp request handling. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Acked-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
d150946ed8
commit
682eaad93e
@ -828,8 +828,9 @@ int ocelot_vlan_add(struct ocelot *ocelot, int port, u16 vid, bool pvid,
|
||||
int ocelot_vlan_del(struct ocelot *ocelot, int port, u16 vid);
|
||||
int ocelot_hwstamp_get(struct ocelot *ocelot, int port, struct ifreq *ifr);
|
||||
int ocelot_hwstamp_set(struct ocelot *ocelot, int port, struct ifreq *ifr);
|
||||
void ocelot_port_add_txtstamp_skb(struct ocelot *ocelot, int port,
|
||||
struct sk_buff *clone);
|
||||
int ocelot_port_txtstamp_request(struct ocelot *ocelot, int port,
|
||||
struct sk_buff *skb,
|
||||
struct sk_buff **clone);
|
||||
void ocelot_get_txtstamp(struct ocelot *ocelot);
|
||||
void ocelot_port_set_maxlen(struct ocelot *ocelot, int port, size_t sdu);
|
||||
int ocelot_get_max_mtu(struct ocelot *ocelot, int port);
|
||||
|
Reference in New Issue
Block a user