* DPDK v23.11+ issue with Intel ICE driver and rte_flow 'count' and 'mark' actions
@ 2025-01-24 16:44 Adam Kiripolský
2025-02-06 13:23 ` Vladimir Medvedkin
0 siblings, 1 reply; 2+ messages in thread
From: Adam Kiripolský @ 2025-01-24 16:44 UTC (permalink / raw)
To: users
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: DPDK v23.11+ issue with Intel ICE driver and rte_flow 'count' and 'mark' actions
2025-01-24 16:44 DPDK v23.11+ issue with Intel ICE driver and rte_flow 'count' and 'mark' actions Adam Kiripolský
@ 2025-02-06 13:23 ` Vladimir Medvedkin
0 siblings, 0 replies; 2+ messages in thread
From: Vladimir Medvedkin @ 2025-02-06 13:23 UTC (permalink / raw)
To: Adam Kiripolský; +Cc: users, Medvedkin, Vladimir
[-- Attachment #1: Type: text/plain, Size: 1840 bytes --]
Hi Adam,
Try to add "group 2", like:
>flow create 0 group 2 ingress pattern eth ...
пт, 24 янв. 2025 г. в 16:53, Adam Kiripolský <Adam.Kiripolsky@cesnet.cz>:
> 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.
>
>
--
Regards,
Vladimir
[-- Attachment #2: Type: text/html, Size: 2690 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-02-06 13:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-24 16:44 DPDK v23.11+ issue with Intel ICE driver and rte_flow 'count' and 'mark' actions Adam Kiripolský
2025-02-06 13:23 ` Vladimir Medvedkin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).