]> git.baikalelectronics.ru Git - kernel.git/commit
net: mscc: ocelot: use skb queue instead of skbs list
authorYangbo Lu <yangbo.lu@nxp.com>
Wed, 27 Nov 2019 07:27:57 +0000 (15:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Nov 2019 18:53:37 +0000 (10:53 -0800)
commit3c161eec8d1d911781510ee6c5eec20aaefe590d
treeaba3f3692d0cc33761d3db91cabc9d09d5b28911
parent14b20c4f438905b2fb85d2ee6fe9b7e30358d561
net: mscc: ocelot: use skb queue instead of skbs list

Convert to use skb queue instead of the list of skbs.
The skb queue could provide protection with lock.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mscc/ocelot.c
include/soc/mscc/ocelot.h