Subject: Flow API questions/Hierarchical Queuing feature support


Hi,
    I have a question about Flow API.

test flow [add|del|enable|disable] [index <id>] "
        "[src-ip <ip-addr/mask>] [dst-ip <ip-addr/mask>] "
        "[ip6-src-ip <ip-addr/mask>] [ip6-dst-ip <ip-addr/mask>] "
        "[src-port <port/mask>] [dst-port <port/mask>] "
        "[proto <ip-proto>] "
        "[gtpc teid <teid>] [gtpu teid <teid>] [vxlan <vni>] "
        "[session id <session>] [spi <spi>]"
        "[next-node <node>] [mark <id>] [buffer-advance <len>] "
        "[redirect-to-queue <queue>] [drop] "
        "[rss function <name>] [rss types <flow type>]",




 It was mentioned that Flow action can be mark <id>. Is the mark-id is an
opaque field /meta buffer filed of the packet buffer. I am trying to see if
the is Mark id can be preserved until the packet is reached the output
interface .  Does the Flow API expects support from hardware for flow
classification. Is the mark-id is stored in the meta-buffer field . Is
there any trace function or log where I can see this field set ?

Also, it looks Hierarchical Queuing support is not enabled in latest
release. Any plans to support it again in the future?   I would to know
for  an example coomand  how to set the pktfield for heirarchial queing.
It's not clear for documentation how to set it based on packet fields like
src-ip, dst-ip, src-port, dst-port and proto. Do I need to mention mask
value for it ?

The command below is used to set the packet fields required for classifying
the incoming packet. As a result of classification process, packet field
information will be mapped to 5 tuples (subport, pipe, traffic class, pipe,
color) and stored in packet mbuf.

set dpdk interface hqos pktfield <interface> id subport|pipe|tc offset
<n>    mask <hex-mask>




Regards,
Satish K Amara
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19642): https://lists.fd.io/g/vpp-dev/message/19642
Mute This Topic: https://lists.fd.io/mt/83853480/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to