[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1594209241-1692-1-git-send-email-michael.chan@broadcom.com>
Date: Wed, 8 Jul 2020 07:53:52 -0400
From: Michael Chan <michael.chan@...adcom.com>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org, kuba@...nel.org
Subject: [PATCH net-next v4 0/9] bnxt_en: Driver update for net-next.
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.
v4: Move bnxt_get_rxfh_indir_size() fix to a new patch #2.
Modify patch #7 to revert RSS map to default only when necessary.
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 (7):
bnxt_en: Set up the chip specific RSS table size.
bnxt_en: Fix up bnxt_get_rxfh_indir_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 | 242 ++++++++++++++++------
drivers/net/ethernet/broadcom/bnxt/bnxt.h | 20 ++
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 52 ++++-
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.h | 1 +
4 files changed, 246 insertions(+), 69 deletions(-)
--
1.8.3.1
Powered by blists - more mailing lists