[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140421.142625.1276208551531381086.davem@davemloft.net>
Date: Mon, 21 Apr 2014 14:26:25 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: f.fainelli@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next 1/4] net: systemport: add Broadcom SYSTEMPORT
Ethernet MAC driver
From: Florian Fainelli <f.fainelli@...il.com>
Date: Mon, 21 Apr 2014 10:51:05 -0700
> 2014-04-21 10:46 GMT-07:00 David Miller <davem@...emloft.net>:
>> From: Florian Fainelli <f.fainelli@...il.com>
>> Date: Mon, 21 Apr 2014 10:31:31 -0700
>>
>>> +#ifdef CONFIG_PHYS_ADDR_T_64BIT
>>> + __raw_writel(upper_32_bits(addr) & DESC_ADDR_HI_MASK,
>>> + d + DESC_ADDR_HI_STATUS_LEN);
>>> +#endif
>>
>> When a function call spans multiple lines, the arguments on the second
>> and subsequent lines need to start exactly at the first column after
>> the openning parenthesis.
>>
>> Please audit and fix this in your entire submission.
>>
>>> +static int bcm_sysport_set_settings(struct net_device *dev,
>>> + struct ethtool_cmd *cmd)
>>
>> Likewise for functions declarations and definitions.
>>
>> Also, no NAPI support? The locking and SKB freeing looks quite baroque
>> as a consequence of this.
>
> There is NAPI support for the RX path, transmitted SKBs are freed when
> the buffer done interrupt fires, I can certainly rework that if you
> feel like it would be better to get per tx-queue NAPI contexts
> instead.
The less you do dev_kfree_skb_any() the less context switches you make
in and out of the softirq dispatch.
--
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