mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 13:41:30 +00:00
dummy: percpu stats and lockless xmit
Converts dummy network device driver to : - percpu stats - 64bit stats - lockless xmit (NETIF_F_LLTX) - performance features added (NETIF_F_SG | NETIF_F_FRAGLIST | NETIF_F_TSO | NETIF_F_NO_CSUM | NETIF_F_HIGHDMA) Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
745e20f1b6
commit
6d81f41c58
2 changed files with 56 additions and 3 deletions
|
@ -1057,6 +1057,7 @@ struct net_device {
|
|||
void *ml_priv;
|
||||
struct pcpu_lstats __percpu *lstats; /* loopback stats */
|
||||
struct pcpu_tstats __percpu *tstats; /* tunnel stats */
|
||||
struct pcpu_dstats __percpu *dstats; /* dummy stats */
|
||||
};
|
||||
/* GARP */
|
||||
struct garp_port *garp_port;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue