Search Linux Wireless

Re: [PATCH 4/4] wilc1000: Add support for enabling CRC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 25/02/21 1:52 pm, Kalle Valo wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> <Ajay.Kathat@xxxxxxxxxxxxx> writes:
> 
>> On 25/02/21 5:06 am, David Mosberger-Tang wrote:
>>> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
>>>
>>> Julian,
>>>
>>> On Thu, 2021-02-25 at 08:19 +1100, Julian Calaby wrote:
>>>> Hi David,
>>>>
>>>> On Wed, Feb 24, 2021 at 6:56 PM David Mosberger-Tang <
>>>> davidm@xxxxxxxxxx> wrote:
>>>>>
>>>>> +#define ENABLE_CRC7    0       /* set to 1 to protect SPI commands
>>>>> with CRC7 */
>>>>> +#define ENABLE_CRC16   0       /* set to 1 to protect SPI data
>>>>> with CRC16 */
>>>>
>>>> Should these be Kconfig variables instead?
>>>
>>> I'd certainly like that.  Ajay, would you be OK with that?
>>>
>>
>> Yes, I am fine with the changes to move as Kconfig variable.
> 
> Kconfig is not ideal for configuring functionality, something like a
> module parameter is usually better. But why not just enable CRC always?
> Why would the user need to disable this?

As I know, the CRC check can be an time taking operation for each data
packets and in turn, can have impact on throughput performance.
Generally, it is recommended to keep this CRC configuration disabled.
But someone is cautious can enable it on a need basis by knowing the
possible reduction on throughput number.

Regards,
Ajay




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux