Skip to content

RX NFC support for hash-based filters

Ben Hutchings netdev 2 versions – In review

Get series with b4
b4 am 1325627819.2832.31.camel@bwh-desktop

Versions newest first · linked by author and title

  1. v2 Latest8 patches 2 repliesIn review
  2. v11 patch 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8gianfar: Reject out-of-range RX NFC locationsdrivers/net/ethernet/freescale/gianfar_ethtool.c+3 -20 replies
2/8ethtool: Allow drivers to select RX NFC rule locationsinclude/linux/ethtool.h net/core/ethtool.c net/socket.c+35 -40 replies
3/8sfc: Change filter ID generation to satisfy priority semantics of RX NFCdrivers/net/ethernet/sfc/filter.c drivers/net/ethernet/sfc/filter.h+43 -50 replies
4/8sfc: Use consistent types for filter IDs, indices and search depthsdrivers/net/ethernet/sfc/efx.h drivers/net/ethernet/sfc/filter.c+8 -80 replies
5/8sfc: Add support for retrieving and removing filters by IDdrivers/net/ethernet/sfc/efx.h drivers/net/ethernet/sfc/filter.c drivers/net/ethernet/sfc/filter.h+266 -00 replies
6/8sfc: Implement ethtool RX NFC rules API instead of n-tuple APIdrivers/net/ethernet/sfc/ethtool.c+149 -390 replies
7/8sfc: Remove now-unused filter functiondrivers/net/ethernet/sfc/efx.h drivers/net/ethernet/sfc/filter.c+0 -480 replies
8/8ethtool: Remove ethtool_ops::set_rx_ntuple operationinclude/linux/ethtool.h net/core/ethtool.c+0 -590 replies

Reviews trailers per patch

1 of 8 patches has a Reviewed-by or Acked-by.

PatchSebastian Pöhn
1/8A-b
2/8
3/8
4/8
5/8
6/8
7/8
8/8

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

Read the v2 thread

Cover letter [PATCHv2 net-next 0/8] RX NFC support for hash-based filters

1. Fix gianfar's validation of filter rule locations. In the previous version of this series, this was a requirement for part 2, but that's no longer the case.

2. Extend ethtool RX NFC rules API to support hash-based filter hardware in which rule locations should be selected by the driver or firmware.

3. Change the sfc driver to implement this API instead of RX n-tuple.

4. Remove support for RX n-tuple, now that there are no in-tree implementations.

Ben.

Ben Hutchings (8):
gianfar: Reject out-of-range RX NFC locations
ethtool: Allow drivers to select RX NFC rule locations
sfc: Change filter ID generation to satisfy priority semantics of RX
NFC
sfc: Use consistent types for filter IDs, indices and search depths
sfc: Add support for retrieving and removing filters by ID
sfc: Implement ethtool RX NFC rules API instead of n-tuple API
sfc: Remove now-unused filter function
ethtool: Remove ethtool_ops::set_rx_ntuple operation

 drivers/net/ethernet/freescale/gianfar_ethtool.c |    5 +-
 drivers/net/ethernet/sfc/efx.h                   |   16 +-
 drivers/net/ethernet/sfc/ethtool.c               |  188 +++++++++++---
 drivers/net/ethernet/sfc/filter.c                |  310 +++++++++++++++++++---
 drivers/net/ethernet/sfc/filter.h                |   12 +
 include/linux/ethtool.h                          |   30 ++-
 net/core/ethtool.c                               |   66 +----
 net/socket.c                                     |    2 +-
 8 files changed, 484 insertions(+), 145 deletions(-)
Signature · 7 lines
1.7.4.4


-- 
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.