Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1719689

Re: [PATCH net-next v2] tg3: Be drop monitor friendly

From Michael Chan <michael.chan@broadcom.com>
Newsgroups linux.kernel
Subject Re: [PATCH net-next v2] tg3: Be drop monitor friendly
Date 2017-08-25 03:00 +0200
Message-ID <uib8C-5ry-5@gated-at.bofh.it> (permalink)
References <uiaYV-5od-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Aug 24, 2017 at 5:47 PM, Florian Fainelli <f.fainelli@gmail.com> wrote:
> tg3_tx() does the normal packet TX completion,
> tigon3_dma_hwbug_workaround() and tg3_tso_bug() both need to allocate a
> new SKB that is suitable to workaround HW bugs, and finally
> tg3_free_rings() is doing ring cleanup. Use dev_consume_skb_any() for
> these 3 locations to be SKB drop monitor friendly.
>
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

Acked-by: Michael Chan <michael.chan@broadcom.com>

> ---
> Changes in v2:
>
> - also included tg3_tso_bug() as indicated by Michael
>

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH net-next v2] tg3: Be drop monitor friendly Florian Fainelli <f.fainelli@gmail.com> - 2017-08-25 02:50 +0200
  Re: [PATCH net-next v2] tg3: Be drop monitor friendly Michael Chan <michael.chan@broadcom.com> - 2017-08-25 03:00 +0200
  Re: [PATCH net-next v2] tg3: Be drop monitor friendly David Miller <davem@davemloft.net> - 2017-08-25 03:30 +0200

csiph-web