<div dir="ltr"><div>Hi Adam,</div><div><br></div><div>Try to add "group 2", like:</div><div>>flow create 0 group 2 ingress pattern eth ...<br></div><div><br></div><div><br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">пт, 24 янв. 2025 г. в 16:53, Adam Kiripolský <<a href="mailto:Adam.Kiripolsky@cesnet.cz">Adam.Kiripolsky@cesnet.cz</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello all,<br>
<br>
Ita stumbled upon an issue with rte_flow 'count' and 'mark' actions on <br>
DPDK version 23.11 and higher on Intel ice driver.<br>
By the table at <a href="https://doc.dpdk.org/guides/nics/overview.html" rel="noreferrer" target="_blank">https://doc.dpdk.org/guides/nics/overview.html</a> ice <br>
driver should support these actions.<br>
<br>
Specifications:<br>
<br>
NIC version: E810-C, 2x100G<br>
Firmware version: 4.7<br>
Kernel Driver: 1.16.3<br>
DDP: 1.3.39.1<br>
DDP Comms 1.3.46.0<br>
<br>
DPDK versions that did not accept the rules: 23.11, 24.11<br>
<br>
Testpmd start: sudo dpdk-testpmd -a 0000:af:00.1 <br>
--log-level=pmd.net.ice.driver:8 --file-prefix=sad -l 0,1 -- --txq=4 <br>
--rxq=4 -i --disable-rss<br>
<br>
input:<br>
testpmd> flow create 0 ingress pattern eth / ipv4 dst is 159.58.1.0 src <br>
is 195.168.1.0 / end actions count identifier 128 / drop / end<br>
<br>
output:<br>
ice_flow_create(): Failed to create flow<br>
port_flow_complain(): Caught PMD error type 16 (specific action): cause: <br>
0x7ffc0c519398, Invalid action type: Invalid argument<br>
<br>
input:<br>
testpmd> flow create 0 ingress pattern eth / ipv4 dst is 159.58.1.0 src <br>
is 195.168.1.0 / end actions mark id 2 / drop / end<br>
<br>
output:<br>
ice_flow_create(): Failed to create flow<br>
port_flow_complain(): Caught PMD error type 16 (specific action): cause: <br>
0x7fffc6ce9648, Invalid action type: Invalid argument<br>
<br>
However, on DPDK version 23.07 both rules are accepted without an issue.<br>
<br>
Were these features deprecated? Alternatively, is there any workaround <br>
for counting packets matched against a rule?<br>
<br>
Thanks,<br>
Adam.<br>
<br>
</blockquote></div><div><br clear="all"></div><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Regards,<br></div>Vladimir<br></div></div>