netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Florian Fainelli <f.fainelli@gmail.com>
To: David Miller <davem@davemloft.net>
Cc: netdev <netdev@vger.kernel.org>
Subject: Re: [PATCH net-next 1/4] net: systemport: add Broadcom SYSTEMPORT Ethernet MAC driver
Date: Mon, 21 Apr 2014 10:51:05 -0700	[thread overview]
Message-ID: <CAGVrzcbCLHCgFZGTTtCUaDHLcWh5RvwCj0VyUDK6=8hbPrV2Vg@mail.gmail.com> (raw)
In-Reply-To: <20140421.134644.1829764866020217667.davem@davemloft.net>

2014-04-21 10:46 GMT-07:00 David Miller <davem@davemloft.net>:
> From: Florian Fainelli <f.fainelli@gmail.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.

Thanks!
-- 
Florian

  reply	other threads:[~2014-04-21 17:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-21 17:31 [PATCH net-next 0/4] net: Broadcom SYSTEMPORT driver Florian Fainelli
2014-04-21 17:31 ` [PATCH net-next 1/4] net: systemport: add Broadcom SYSTEMPORT Ethernet MAC driver Florian Fainelli
2014-04-21 17:46   ` David Miller
2014-04-21 17:51     ` Florian Fainelli [this message]
2014-04-21 18:26       ` David Miller
2014-04-21 17:31 ` [PATCH net-next 2/4] Documentation: add Broadcom SYSTEMPORT Device Tree bindings Florian Fainelli
2014-04-21 17:31 ` [PATCH net-next 3/4] net: systemport: hook SYSTEMPORT driver in the build Florian Fainelli
2014-04-21 17:31 ` [PATCH net-next 4/4] MAINTAINERS: add Broadcom SYSTEMPORT driver entry Florian Fainelli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGVrzcbCLHCgFZGTTtCUaDHLcWh5RvwCj0VyUDK6=8hbPrV2Vg@mail.gmail.com' \
    --to=f.fainelli@gmail.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).