Home
last modified time | relevance | path

Searched refs:xmit_work (Results 1 – 6 of 6) sorted by relevance

/linux-6.3-rc2/net/dsa/
A Dtag_ocelot_8021q.c30 struct felix_deferred_xmit_work *xmit_work; in ocelot_defer_xmit() local
46 xmit_work = kzalloc(sizeof(*xmit_work), GFP_ATOMIC); in ocelot_defer_xmit()
47 if (!xmit_work) in ocelot_defer_xmit()
51 kthread_init_work(&xmit_work->work, xmit_work_fn); in ocelot_defer_xmit()
55 xmit_work->dp = dp; in ocelot_defer_xmit()
56 xmit_work->skb = skb_get(skb); in ocelot_defer_xmit()
58 kthread_queue_work(xmit_worker, &xmit_work->work); in ocelot_defer_xmit()
A Dtag_ksz.c242 struct ksz_deferred_xmit_work *xmit_work; in ksz_defer_xmit() local
254 xmit_work = kzalloc(sizeof(*xmit_work), GFP_ATOMIC); in ksz_defer_xmit()
255 if (!xmit_work) in ksz_defer_xmit()
258 kthread_init_work(&xmit_work->work, xmit_work_fn); in ksz_defer_xmit()
262 xmit_work->dp = dp; in ksz_defer_xmit()
263 xmit_work->skb = skb_get(skb); in ksz_defer_xmit()
265 kthread_queue_work(xmit_worker, &xmit_work->work); in ksz_defer_xmit()
A Dtag_sja1105.c149 struct sja1105_deferred_xmit_work *xmit_work; in sja1105_defer_xmit() local
158 xmit_work = kzalloc(sizeof(*xmit_work), GFP_ATOMIC); in sja1105_defer_xmit()
159 if (!xmit_work) in sja1105_defer_xmit()
162 kthread_init_work(&xmit_work->work, xmit_work_fn); in sja1105_defer_xmit()
166 xmit_work->dp = dp; in sja1105_defer_xmit()
167 xmit_work->skb = skb_get(skb); in sja1105_defer_xmit()
169 kthread_queue_work(xmit_worker, &xmit_work->work); in sja1105_defer_xmit()
/linux-6.3-rc2/drivers/net/dsa/microchip/
A Dksz_ptp.c574 struct ksz_deferred_xmit_work *xmit_work = work_to_xmit_work(work); in ksz_port_deferred_xmit() local
575 struct sk_buff *clone, *skb = xmit_work->skb; in ksz_port_deferred_xmit()
576 struct dsa_switch *ds = xmit_work->dp->ds; in ksz_port_deferred_xmit()
580 prt = &dev->ports[xmit_work->dp->index]; in ksz_port_deferred_xmit()
592 kfree(xmit_work); in ksz_port_deferred_xmit()
/linux-6.3-rc2/drivers/net/dsa/ocelot/
A Dfelix.c1495 struct felix_deferred_xmit_work *xmit_work = work_to_xmit_work(work); in felix_port_deferred_xmit() local
1496 struct dsa_switch *ds = xmit_work->dp->ds; in felix_port_deferred_xmit()
1497 struct sk_buff *skb = xmit_work->skb; in felix_port_deferred_xmit()
1500 int port = xmit_work->dp->index; in felix_port_deferred_xmit()
1521 kfree(xmit_work); in felix_port_deferred_xmit()
/linux-6.3-rc2/drivers/net/dsa/sja1105/
A Dsja1105_main.c2683 struct sja1105_deferred_xmit_work *xmit_work = work_to_xmit_work(work); in sja1105_port_deferred_xmit() local
2684 struct sk_buff *clone, *skb = xmit_work->skb; in sja1105_port_deferred_xmit()
2685 struct dsa_switch *ds = xmit_work->dp->ds; in sja1105_port_deferred_xmit()
2687 int port = xmit_work->dp->index; in sja1105_port_deferred_xmit()
2701 kfree(xmit_work); in sja1105_port_deferred_xmit()

Completed in 32 milliseconds