All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aristeu Rozanski <arozansk@redhat.com>
To: Alexander Aring <aar@pengutronix.de>
Cc: linux-wpan@vger.kernel.org,
	Stefan Schmidt <stefan@osg.samsung.com>,
	Jukka Rissanen <jukka.rissanen@linux.intel.com>
Subject: Re: [PATCH 1/3] mac802154: don't warn on unsupported frames
Date: Mon, 25 Jul 2016 09:15:30 -0400	[thread overview]
Message-ID: <20160725131530.GE30145@redhat.com> (raw)
In-Reply-To: <78726941-7d65-1ece-e203-f1507597978a@pengutronix.de>

Hi Alexander,
On Sat, Jul 23, 2016 at 02:46:28PM +0200, Alexander Aring wrote:
> agree, but this patch introduce a different stats handling right now. :-)

sorry, should have split both parts in different patches.

> This should be moved into ieee802154_deliver_skb, right before calling
> netif_rx(...);
> 
> The reason is because we have for "stats.rx_bytes" and
> "stats.rx_packets" a very clean definition what it means. It means, the
> frames hit a state where it is ready to put it into the packet-layer,
> this is what netif_rx is doing.
> 
> It's okay for me to add support for rx_frame_errors and also rx_dropped
> stuff. But with a very big warning that the meaning of such stats will
> be touched again later if we found some strategie where we we define
> what each stats attribute means. Also there exists subsystems which
> simple ignore these stats, because at userspace side you need always to
> lookup what the definition means and when we run such stats counters and
> when not and some subsystems don't care about that.

Fair enough, I'll redo the patch just removing the warning.
Thanks!

-- 
Aristeu


      reply	other threads:[~2016-07-25 13:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-22 17:18 [PATCH 1/3] mac802154: don't warn on unsupported frames Aristeu Rozanski
2016-07-22 17:18 ` [PATCH 2/3] mac802154: use rate limited warnings for malformed frames Aristeu Rozanski
2016-07-23 12:48   ` Alexander Aring
2016-07-24 16:45   ` Marcel Holtmann
2016-07-22 17:18 ` [PATCH 3/3] ieee802154: encrypt frame before ieee802154_subif_start_xmit is called Aristeu Rozanski
2016-07-23 13:43   ` Alexander Aring
2016-07-25 13:38     ` Aristeu Rozanski
2016-07-23 12:46 ` [PATCH 1/3] mac802154: don't warn on unsupported frames Alexander Aring
2016-07-25 13:15   ` Aristeu Rozanski [this message]

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=20160725131530.GE30145@redhat.com \
    --to=arozansk@redhat.com \
    --cc=aar@pengutronix.de \
    --cc=jukka.rissanen@linux.intel.com \
    --cc=linux-wpan@vger.kernel.org \
    --cc=stefan@osg.samsung.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.