Skip to content

bnxt_en: ethtool: Improve wildcard l4proto on ip4/ip6 ntuple rules

Daniel Xu lkml netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest2 patches 2 repliesApplied 2/2

Changes in v3 from the cover letter

* Target net-next
* Remove Fixes: tag
* Remove support for IPPROTO_RAW (0xFF) l4proto

Patches in v3 All 2 applied

#Subject and filesSizeRepliesApplied
1/2bnxt_en: ethtool: Remove ip4/ip6 ntuple support for IPPROTO_RAWdrivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c+6 -151 replyApplied
2/2bnxt_en: ethtool: Support unset l4proto on ip4/ip6 ntuple rulesdrivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.h+24 -81 replyApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMichael Chan
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH net-next v3 0/2] bnxt_en: ethtool: Improve wildcard l4proto on ip4/ip6 ntuple rules

This patchset improves wildcarding over l4proto on ip4 and ip6 nutple rules. Previous support required setting l4proto explicitly to 0xFF if you wanted wildcard, which ethtool (naturally) did not do. For example, this command would fail with -EOPNOSUPP:

ethtool -N eth0 flow-type ip6 dst-ip $IP6 context 1

After this patchset, only TCP, UDP, ICMP, and unset will be supported for l4proto.

Changes from v2:
* Target net-next
* Remove Fixes: tag
* Remove support for IPPROTO_RAW (0xFF) l4proto

Changes from v1:
* Set underlying l4proto to IPPROTO_RAW to fix get path

Daniel Xu (2):
bnxt_en: ethtool: Remove ip4/ip6 ntuple support for IPPROTO_RAW
bnxt_en: ethtool: Support unset l4proto on ip4/ip6 ntuple rules

 .../net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 44 +++++++++++--------
 .../net/ethernet/broadcom/bnxt/bnxt_ethtool.h |  1 +
 2 files changed, 26 insertions(+), 19 deletions(-)
Signature · 1 line
2.46.0