I’m trying to use the Generic Flow API (rte_flow) to match IP packets based on their length (either L2, L3 or L4 lengths). There doesn’t seem to be an item type that explicitly matches based on length (RTE_FLOW_ITEM_TYPE_x). So I’ve tried using a mask with RTE_FLOW_ITEM_TYPE_IPV4 to match on the total_length field (and similar attempt to match on the UDP header dgram_len field) but the NIC I’m using (mlx5) returns an error (mask enables non supported bits). Am I out of luck, or maybe missing something? Thanks for any insights! I’ve tried, DPDK: 20.11.7 and 22.11.1
Tony Hart | Chief Architect tony.h...@corero.com <mailto:tony.h...@corero.com> 293 Boston Post Road West Suite 310, Marlborough, MA 01752 Access Corero Network Security’s Privacy Policy here <www.corero.com/privacy>. We are Corero Network Security plc (“Corero”), registered in England and Wales, with registered company number 02662978, registered office address Regus House Highbridge, Oxford Road, Uxbridge, Middlesex, UB8 1HR. Corero is the parent company for Corero Network Security, Inc. and Corero Network Security (UK) Ltd (a company registered in England and Wales with registered number 04047090, with the same registered office address as above) For information about how we process your data, or to manage your data preferences, click here <info.corero.com/data-preferences.html>.