netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Chan <michael.chan@broadcom.com>
To: davem@davemloft.net
Cc: netdev@vger.kernel.org, kuba@kernel.org
Subject: [PATCH net-next v3 0/8] bnxt_en: Driver update for net-next.
Date: Sun,  5 Jul 2020 18:22:04 -0400	[thread overview]
Message-ID: <1593987732-1336-1-git-send-email-michael.chan@broadcom.com> (raw)

This patchset implements ethtool -X to setup user-defined RSS indirection
table.  The new infrastructure also allows the proper logical ring index
to be used to populate the RSS indirection when queried by ethtool -x.
Prior to these patches, we were incorrectly populating the output of
ethtool -x with internal ring IDs which would make no sense to the user.

The last 2 patches add some cleanups to the VLAN acceleration logic
and check the firmware capabilities before allowing VLAN acceleration
offloads.

v3: Use ALIGN() in patch 5.
    Add warning messages in patch 6.

v2: Some RSS indirection table changes requested by Jakub Kicinski.

Edwin Peer (2):
  bnxt_en: clean up VLAN feature bit handling
  bnxt_en: allow firmware to disable VLAN offloads

Michael Chan (6):
  bnxt_en: Set up the chip specific RSS table size.
  bnxt_en: Add logical RSS indirection table structure.
  bnxt_en: Add helper function to return the number of RSS contexts.
  bnxt_en: Fill HW RSS table from the RSS logical indirection table.
  bnxt_en: Return correct RSS indirection table entries to ethtool -x.
  bnxt_en: Implement ethtool -X to set indirection table.

 drivers/net/ethernet/broadcom/bnxt/bnxt.c         | 227 ++++++++++++++++------
 drivers/net/ethernet/broadcom/bnxt/bnxt.h         |  20 ++
 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c |  50 ++++-
 3 files changed, 229 insertions(+), 68 deletions(-)

-- 
1.8.3.1


             reply	other threads:[~2020-07-05 22:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-05 22:22 Michael Chan [this message]
2020-07-05 22:22 ` [PATCH net-next v3 1/8] bnxt_en: Set up the chip specific RSS table size Michael Chan
2020-07-05 22:22 ` [PATCH net-next v3 2/8] bnxt_en: Add logical RSS indirection table structure Michael Chan
2020-07-05 22:22 ` [PATCH net-next v3 3/8] bnxt_en: Add helper function to return the number of RSS contexts Michael Chan
2020-07-05 22:22 ` [PATCH net-next v3 4/8] bnxt_en: Fill HW RSS table from the RSS logical indirection table Michael Chan
2020-07-05 22:22 ` [PATCH net-next v3 5/8] bnxt_en: Return correct RSS indirection table entries to ethtool -x Michael Chan
2020-07-05 22:22 ` [PATCH net-next v3 6/8] bnxt_en: Implement ethtool -X to set indirection table Michael Chan
2020-07-06 18:52   ` Jakub Kicinski
2020-07-06 19:00     ` Michael Chan
2020-07-05 22:22 ` [PATCH net-next v3 7/8] bnxt_en: clean up VLAN feature bit handling Michael Chan
2020-07-05 22:22 ` [PATCH net-next v3 8/8] bnxt_en: allow firmware to disable VLAN offloads Michael Chan

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=1593987732-1336-1-git-send-email-michael.chan@broadcom.com \
    --to=michael.chan@broadcom.com \
    --cc=davem@davemloft.net \
    --cc=kuba@kernel.org \
    --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).