[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4C696858.5030908@01019freenet.de>
Date: Mon, 16 Aug 2010 18:33:28 +0200
From: Andreas <andihartmann@...19freenet.de>
To: Ivo Van Doorn <ivdoorn@...il.com>,
Kernel-Mailingliste <linux-kernel@...r.kernel.org>,
users@...x00.serialmonkey.com,
Helmut Schaa <helmut.schaa@...glemail.com>
Subject: Re: [rt2x00-users] rt61pci - bad performance
Ivo Van Doorn wrote:
>>>> hw crypto should be enabled by default in rt61pci, however, I don't know
>>>> if it is actually working ;)
>>>
>>> How can I see if it's working?
>>
>> You can add a printk to rt61pci_fill_rxdone, something like:
>>
>> diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c
>> index e539c6c..aa1aafd 100644
>> --- a/drivers/net/wireless/rt2x00/rt61pci.c
>> +++ b/drivers/net/wireless/rt2x00/rt61pci.c
>> @@ -2023,6 +2023,7 @@ static void rt61pci_fill_rxdone(struct queue_entry *entry,
>> rxdesc->flags |= RX_FLAG_DECRYPTED;
>> else if (rxdesc->cipher_status == RX_CRYPTO_FAIL_MIC)
>> rxdesc->flags |= RX_FLAG_MMIC_ERROR;
>> + printk(KERN_INFO "rt61pci_fill_rxdone: %x\n", rxdesc->cipher_status);
>> }
>>
>> /*
>
> Actually check debugfs:
>
> /sys/kernel/debug/ieee80211/phy0/rt61pci/queue/crypto
>
> for the statistics for cryptography.
>
> Ivo
Well, this path doesn't exist - even the crypto-file can't be found.
lsmod | grep rt61
rt61pci 19584 0
rt2x00pci 5646 1 rt61pci
rt2x00lib 31738 2 rt61pci,rt2x00pci
eeprom_93cx6 1429 1 rt61pci
crc_itu_t 1435 2 rt61pci,firewire_core
notebook1:/sys/kernel/debug/ieee80211/phy0 # find -name crypto
notebook1:/sys/kernel/debug/ieee80211/phy0 #
notebook1:/sys/kernel/debug/ieee80211/phy0 # mount | grep debugfs
debugfs on /sys/kernel/debug type debugfs (rw)
The debug message gave tons of:
Aug 16 18:11:47 .... kernel: [ 3435.535149] rt61pci_fill_rxdone: 0
Aug 16 18:11:47 .... kernel: [ 3435.536335] rt61pci_fill_rxdone: 0
Aug 16 18:11:47 .... kernel: [ 3435.537049] rt61pci_fill_rxdone: 0
Aug 16 18:11:47 .... kernel: [ 3435.537697] rt61pci_fill_rxdone: 0
Aug 16 18:11:47 .... kernel: [ 3435.538595] rt61pci_fill_rxdone: 0
Aug 16 18:11:47 .... kernel: [ 3435.543566] rt61pci_fill_rxdone: 0
Aug 16 18:11:47 .... kernel: [ 3435.545187] rt61pci_fill_rxdone: 0
Aug 16 18:11:47 .... kernel: [ 3435.546837] rt61pci_fill_rxdone: 0
Aug 16 18:11:47 .... kernel: [ 3435.547031] rt61pci_fill_rxdone: 0
Kind regards,
Andreas
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists