diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-07-10 14:00:32 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-15 14:28:56 -0700 |
commit | dfcc16c9d5b9c9c38fe18a91da63ab5af05d96ca (patch) | |
tree | d28a211195193d30ce8cf5e045bf331448bc9cd6 /drivers/net/ethernet/mellanox/mlx4 | |
parent | 521ea95225e3258feea2d725140c691588553b63 (diff) |
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>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4')
0 files changed, 0 insertions, 0 deletions