[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7F38996F7185A24AB9071ED4950AD8C101B3CE45@swsmsx413.ger.corp.intel.com>
Date: Tue, 17 Jun 2008 10:05:17 +0100
From: "Sosnowski, Maciej" <maciej.sosnowski@...el.com>
To: "Dotan Barak" <dotanba@...il.com>
Cc: "Krzysztof Oledzki" <ole@....pl>, <olel@....pl>,
<netdev@...r.kernel.org>
Subject: RE: How can i know if I/OAT is supported?
Dotan Barak wrote:
> 2008/6/17 Sosnowski, Maciej <maciej.sosnowski@...el.com>:
>> Krzysztof Oledzki wrote:
>>> On Mon, 16 Jun 2008, Sosnowski, Maciej wrote:
>>>
>>>> Hi Dotan,
>>>>
>>>>>>> I'm trying to use the I/OAT technology but i don't know if the the
>>>>>>> sent data used this technology.
>>>>>>> Are there are any counters which indicates how many data was sent using
>>>>>>> I/OAT?
>>>>>>
>>>>>> for f in /sys/class/dma/*; do echo "$f: bytes=`cat $f/bytes_transferred`
>>>>>> count=`cat $f/memcpy_count`" ; done
>>>>>
>>>>> I have the folder /sys/class/dma/, but this folder is empty.
>>>>> What does it mean?
>>>>
>>>> It means that you do not have ioatdma module loaded. Simply try: modprobe
>>>> ioatdma. If driver installs correctly, you should see statistics in
>>>> /sys/class/dma/
>>>
>>> Are you sure? From my experience it looks like the driver is loaded yet it
>>> was not able to find a supported device or initialize it.
>>>
>>> Best regards,
>>>
>>> Krzysztof Olędzki
>>
>> Yes, that's why I have written "if driver installs correctly"
>> (sorry, I should have put it "initializes correctly").
>> Anyway, to make it clear, empty /sys/class/dma/ means that
>> either ioatdma is not loaded at all or its initialization failed.
>>
>> Regards,
>> Maciej
>
> O.k., so now I/OAT is not compiled as part of the kernel and i'm
> loading the updated driver but still
> i don't see any file in this folder...
> (the module is loaded)
>
> How can i know if my chipset/BIOS/CPU support I/OAT?
>
> thanks
> Dotan
You should check your PCI devices and see if you can find DMA Engine there.
One of following vendor:device should be there ("lspci -n")
if your chipset supports I/OAT: 8086:1a38, 8086:360b, 8086:65ff, 8086:402f.
Apart from that, if the driver finds I/OAT device,
you should see "Intel(R) I/OAT DMA Engine found" kernel message.
Regards,
Maciej
---------------------------------------------------------------------
Intel Technology Poland sp. z o.o.
z siedziba w Gdansku
ul. Slowackiego 173
80-298 Gdansk
Sad Rejonowy Gdansk Polnoc w Gdansku,
VII Wydzial Gospodarczy Krajowego Rejestru Sadowego,
numer KRS 101882
NIP 957-07-52-316
Kapital zakladowy 200.000 zl
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists