netdev
[Top] [All Lists]

sk_buff & DMA

To: netdev@xxxxxxxxxxx
Subject: sk_buff & DMA
From: Ilya Volynets <ilya@xxxxxxxxxxx>
Date: Mon, 22 Oct 2001 18:41:10 -0700
Organization: Total Knowledge
Reply-to: ilya@xxxxxxxxxxx
Sender: owner-netdev@xxxxxxxxxxx
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,
I have a device that uses 4K aligned buffers for DMA,
and I would like to avoid copying data as much as possible,
so I want to do DMA dirrectly to sk_buff
My questions are:
1. Are there any explicit guarantees about alignment of
newly allocated sk_buff data?
2. If 1 is no, is there any way of making new sk_buff with
preallocated memory for data
3. If 1 and 2 are no, why?
        Ilya.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjvUyrkACgkQtKh84cA8u2kXbgCfeydCWxL6www0e9CiiYyVJzZb
A10An1TfFkjFQiIXBJDl1fo7PTtq14Ik
=3hrL
-----END PGP SIGNATURE-----

<Prev in Thread] Current Thread [Next in Thread>
  • sk_buff & DMA, Ilya Volynets <=