Home
last modified time | relevance | path

Searched hist:dfcc16c9 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/sgi/
H A Dioc3-eth.cdfcc16c9 Mon Jul 10 07:00:32 CDT 2017 Jason A. Donenfeld <Jason@zx2c4.com> ioc3-eth: store pointer to net_device for priviate area

Computing the alignment manually for going from priv to pub is probably
not such a good idea, and in general the assumption that going from priv
to pub is possible trivially could change, so rather than relying on
that, we change things to just store a pointer to pub. This was sugested
by DaveM in [1].

[1] http://www.spinics.net/lists/netdev/msg443992.html

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
dfcc16c9 Mon Jul 10 07:00:32 CDT 2017 Jason A. Donenfeld <Jason@zx2c4.com> ioc3-eth: store pointer to net_device for priviate area

Computing the alignment manually for going from priv to pub is probably
not such a good idea, and in general the assumption that going from priv
to pub is possible trivially could change, so rather than relying on
that, we change things to just store a pointer to pub. This was sugested
by DaveM in [1].

[1] http://www.spinics.net/lists/netdev/msg443992.html

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: David S. Miller <davem@davemloft.net>