All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vinicius Costa Gomes <vinicius.gomes@intel.com>
To: intel-wired-lan@osuosl.org
Subject: [Intel-wired-lan] [PATCH 2/2 net-next v6] igb: refactor XDP registration
Date: Wed, 26 Jan 2022 09:14:09 -0800	[thread overview]
Message-ID: <87v8y6mnby.fsf@intel.com> (raw)
In-Reply-To: <20220119145259.1790015-3-vinschen@redhat.com>

Corinna Vinschen <vinschen@redhat.com> writes:

> On changing the RX ring parameters igb uses a hack to avoid a warning
> when calling xdp_rxq_info_reg via igb_setup_rx_resources.  It just
> clears the struct xdp_rxq_info content.
>
> Instead, change this to unregister if we're already registered.  Align
> code to the igc code.
>
> Fixes: 9cbc948b5a20c ("igb: add XDP support")
> Signed-off-by: Corinna Vinschen <vinschen@redhat.com>
> ---

Acked-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>

-- 
Vinicius

WARNING: multiple messages have this Message-ID (diff)
From: Vinicius Costa Gomes <vinicius.gomes@intel.com>
To: Corinna Vinschen <vinschen@redhat.com>,
	intel-wired-lan@osuosl.org, netdev@vger.kernel.org
Cc: Lennert Buytenhek <buytenh@wantstofly.org>,
	Alexander Lobakin <alexandr.lobakin@intel.com>
Subject: Re: [PATCH 2/2 net-next v6] igb: refactor XDP registration
Date: Wed, 26 Jan 2022 09:14:09 -0800	[thread overview]
Message-ID: <87v8y6mnby.fsf@intel.com> (raw)
In-Reply-To: <20220119145259.1790015-3-vinschen@redhat.com>

Corinna Vinschen <vinschen@redhat.com> writes:

> On changing the RX ring parameters igb uses a hack to avoid a warning
> when calling xdp_rxq_info_reg via igb_setup_rx_resources.  It just
> clears the struct xdp_rxq_info content.
>
> Instead, change this to unregister if we're already registered.  Align
> code to the igc code.
>
> Fixes: 9cbc948b5a20c ("igb: add XDP support")
> Signed-off-by: Corinna Vinschen <vinschen@redhat.com>
> ---

Acked-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>

-- 
Vinicius

  reply	other threads:[~2022-01-26 17:14 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-19 14:52 [Intel-wired-lan] [PATCH 0/2 net-next v6] igb/igc: fix XDP registration Corinna Vinschen
2022-01-19 14:52 ` Corinna Vinschen
2022-01-19 14:52 ` [Intel-wired-lan] [PATCH 1/2 net-next v6] igc: avoid kernel warning when changing RX ring parameters Corinna Vinschen
2022-01-19 14:52   ` Corinna Vinschen
2022-01-26 17:13   ` [Intel-wired-lan] " Vinicius Costa Gomes
2022-01-26 17:13     ` Vinicius Costa Gomes
2022-02-03  9:00   ` [Intel-wired-lan] " Fuxbrumer, Devora
2022-01-19 14:52 ` [Intel-wired-lan] [PATCH 2/2 net-next v6] igb: refactor XDP registration Corinna Vinschen
2022-01-19 14:52   ` Corinna Vinschen
2022-01-26 17:14   ` Vinicius Costa Gomes [this message]
2022-01-26 17:14     ` Vinicius Costa Gomes
2022-02-05 12:14   ` [Intel-wired-lan] " Corinna Vinschen
2022-02-05 12:14     ` Corinna Vinschen
2022-02-07  8:58   ` Penigalapati, Sandeep
2022-02-07  8:58     ` Penigalapati, Sandeep

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=87v8y6mnby.fsf@intel.com \
    --to=vinicius.gomes@intel.com \
    --cc=intel-wired-lan@osuosl.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 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.