mbox series

[0/2] support IPv4 fragment matching in transfer rules

Message ID 20230623165824.51908-1-artemii.morozov@arknetworks.am (mailing list archive)
Headers
Series support IPv4 fragment matching in transfer rules |

Message

Artemii Morozov June 23, 2023, 4:58 p.m. UTC
  This patch seria adds support for matching fragment offsets for IPv4 packets,
but with some limitations. Exact matching is supported only for zero offset,
ranges are allowed for non-zero offsets.

Artemii Morozov (2):
  common/sfc_efx/base: add MAE IP fragmentation match bits
  net/sfc: support IPv4 fragment matching in transfer rules

 drivers/common/sfc_efx/base/efx.h     |   4 +
 drivers/common/sfc_efx/base/efx_mae.c |   4 +
 drivers/net/sfc/sfc_mae.c             | 110 +++++++++++++++++++++++++-
 drivers/net/sfc/sfc_mae.h             |   4 +
 4 files changed, 121 insertions(+), 1 deletion(-)
  

Comments

Ferruh Yigit June 27, 2023, 2:02 p.m. UTC | #1
On 6/23/2023 5:58 PM, Artemii Morozov wrote:
> This patch seria adds support for matching fragment offsets for IPv4 packets,
> but with some limitations. Exact matching is supported only for zero offset,
> ranges are allowed for non-zero offsets.
> 
> Artemii Morozov (2):
>   common/sfc_efx/base: add MAE IP fragmentation match bits
>   net/sfc: support IPv4 fragment matching in transfer rules
> 

Hi Artemii,

There is a build error, can you please fix it:

../drivers/net/sfc/sfc_mae.c: In function ‘sfc_mae_rule_parse_item_ipv4’:
../drivers/net/sfc/sfc_mae.c:2335:22: error: assignment discards ‘const’
qualifier from pointer target type [-Werror=discarded-qualifiers]
 2335 |                 last = item->last;
      |                      ^
cc1: all warnings being treated as errors