From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id BA81F4612D for ; Fri, 24 Jan 2025 17:44:40 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8919C41101; Fri, 24 Jan 2025 17:44:40 +0100 (CET) Received: from office2.cesnet.cz (office2.cesnet.cz [78.128.248.237]) by mails.dpdk.org (Postfix) with ESMTP id 0B10E410FA for ; Fri, 24 Jan 2025 17:44:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cesnet.cz; s=office2-2020; t=1737737078; bh=YcMiCphZiitDPZ8ohGOoTrRAVJDtDas6oL5SSz31hGo=; h=Date:From:Subject:To; b=lFne2F/RyqFtkxhfzV4nb2AL1DkuypoCYrhFydxfsVXPyQyYG5xT6UsIT+Whru1+S uFbTFUxKWYpbzeIGSiG8IE4K80nuY7EL959sRJWWGyQ4Wq3yh8Wea7iHU18M4+3Kxb sJ+6yxPOVOYNgPFWILE0l7LzhTvolcfwArxvc0J8UC3ZFzxL84hBucsqOkkx/RlHKv TPvRnzgS+xMW4suTwJo0TanAf1dFLMOFRJy/kjbLc7UDZTTXnmMgnPPP+X3ASaL4Su 2fXGqEAN5164dC+rRLTPMYoEsBaQvs611Wt28sAS+DFjn8AoWPvZnwYmC2duIHhK3m qocLs7LQ3i8zg== Received: from [192.168.100.11] (178-143-192-14.static.orange.sk [178.143.192.14]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by office2.cesnet.cz (Postfix) with ESMTPSA id BDB771180078 for ; Fri, 24 Jan 2025 17:44:38 +0100 (CET) Message-ID: <6861b45d-a8f2-4771-83ca-c47ba4313c5f@cesnet.cz> Date: Fri, 24 Jan 2025 17:44:39 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: cs From: =?UTF-8?Q?Adam_Kiripolsk=C3=BD?= Subject: DPDK v23.11+ issue with Intel ICE driver and rte_flow 'count' and 'mark' actions To: users@dpdk.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Hello all, Ita stumbled upon an issue with rte_flow 'count' and 'mark' actions on DPDK version 23.11 and higher on Intel ice driver. By the table at https://doc.dpdk.org/guides/nics/overview.html ice driver should support these actions. Specifications:     NIC version:                E810-C, 2x100G     Firmware version:     4.7     Kernel Driver:             1.16.3     DDP:                             1.3.39.1     DDP Comms                1.3.46.0 DPDK versions that did not accept the rules: 23.11, 24.11 Testpmd start: sudo dpdk-testpmd -a 0000:af:00.1 --log-level=pmd.net.ice.driver:8 --file-prefix=sad -l 0,1 -- --txq=4 --rxq=4 -i --disable-rss input: testpmd> flow create 0 ingress pattern eth / ipv4 dst is 159.58.1.0 src is 195.168.1.0 / end actions count identifier 128 / drop / end output: ice_flow_create(): Failed to create flow port_flow_complain(): Caught PMD error type 16 (specific action): cause: 0x7ffc0c519398, Invalid action type: Invalid argument input: testpmd>  flow create 0 ingress pattern eth / ipv4 dst is 159.58.1.0 src is 195.168.1.0 / end actions mark id 2 / drop / end output: ice_flow_create(): Failed to create flow port_flow_complain(): Caught PMD error type 16 (specific action): cause: 0x7fffc6ce9648, Invalid action type: Invalid argument However, on DPDK version 23.07 both rules are accepted without an issue. Were these features deprecated? Alternatively, is there any workaround for counting packets matched against a rule? Thanks, Adam.