[dpdk-dev] [PATCH 0/2] TCP flow classification using 4-tuple and flags

2021-08-13 Thread Sowmini Varadhan
1 extends examples/flow_classify.c to allow constraints on tcp flags. Patch 2 extends the ACL handling in librte_flow_classify to include keys on the properties in addition to the tcp 4-tuple. Sowmini Varadhan (2): Hooks to allow the setting of filters on tcp flags Allow the flow_classify

[dpdk-dev] [PATCH 2/2] Allow the flow_classify example to add an ACL table for tcp.

2021-08-13 Thread Sowmini Varadhan
: Sowmini Varadhan --- examples/flow_classify/flow_classify.c | 41 +++--- lib/flow_classify/rte_flow_classify.c | 87 + lib/flow_classify/rte_flow_classify.h | 19 + lib/flow_classify/rte_flow_classify_parse.c | 8 +- 4 files changed, 142 insertions

[dpdk-dev] [PATCH 1/2] Hooks to allow the setting of filters on tcp flags

2021-08-13 Thread Sowmini Varadhan
_classif_access_ctrl.html this field MUST be allocated fo4 4 bytes, thus it has sizeof(uint32_t). However, also note the XXX in this commit: additional updates are needed to the rte_flow_classify_table_entry_add() so that it does not ignore any key fields other than the 5-tuple. Signed-off-by: S

[dpdk-dev] [PATCH v2 0/2] TCP flow classification using 4-tuple and flags

2021-08-18 Thread Sowmini Varadhan
needed in the examples/flow_classify.c needed to achieve this. Patch 1 extends examples/flow_classify.c to allow constraints on tcp flags. Patch 2 extends the ACL handling in librte_flow_classify to include keys on the properties in addition to the tcp 4-tuple. Sowmini Varadhan (2): examples

[dpdk-dev] [PATCH v2 1/2] examples/flow_classify: hooks for filters on tcp flags

2021-08-18 Thread Sowmini Varadhan
key fields other than the 5-tuple. Signed-off-by: Sowmini Varadhan --- examples/flow_classify/flow_classify.c | 87 -- examples/flow_classify/ipv4_rules_file.txt | 22 +++--- 2 files changed, 91 insertions(+), 18 deletions(-) diff --git a/examples/flow_classify/flow_cla

[dpdk-dev] [PATCH v2 2/2] examples/flow_classify: add an ACL table for tcp

2021-08-18 Thread Sowmini Varadhan
, the IP4_TCP_5TUPLE table is used by flow_classify. Signed-off-by: Sowmini Varadhan --- examples/flow_classify/flow_classify.c | 41 +++--- lib/flow_classify/rte_flow_classify.c | 87 + lib/flow_classify/rte_flow_classify.h | 19 + lib/flow_classify

Re: [dpdk-dev] [PATCH v2 2/2] examples/flow_classify: add an ACL table for tcp

2021-08-19 Thread Sowmini Varadhan
On (08/19/21 15:06), Iremonger, Bernard wrote: > > v2 updates: typo fixes for checkpatch, bernard.iremonger comments > > The above line should not be added to the commit message. > ~/dpdk/devtools/check-git-log.sh -1 > Wrong tag: > v2 fixes: typo fixes, get_tcp_flags returns -EINVAL > >

Re: [dpdk-dev] [PATCH v2 2/2] examples/flow_classify: add an ACL table for tcp

2021-08-19 Thread Sowmini Varadhan
On (08/19/21 16:21), Iremonger, Bernard wrote: > > Looking closer at this patchset, I am not sure that a second ACL table is > needed. > The existing ACL table handles UDP, TCP and SCP, however it is not processing > the TCP flags. > I think it just needs to be modified to process the TCP flags.

[dpdk-dev] can't build memnic pmd

2015-04-15 Thread Sowmini Varadhan
I am trying to build memnic-1.3/pmd on a qemu-kvm running 4.0.0-rc7+ with gcc 4.8.2, and it fails with a few errors, the first of which is /path/to/dpdk-2.0.0/build/include/rte_memcpy.h:625:2: error: implicit declaration of function ?_mm_alignr_epi8? [-Werror=implicit-function-declaration] MOVEUN

[dpdk-dev] running l2fwd-ivshmem

2015-04-28 Thread Sowmini Varadhan
hello, has anyone out there successfully run the l2fwd-ivshmem example successfully between 2 kvms, and got some notes or instructions to share? I see I'm not the first one to struggle with this: http://dpdk.org/ml/archives/dev/2014-June/003556.html but memnic-pmd doesnt build with the latest k

[dpdk-dev] [PATCH RFC 1/2] Hooks to allow the setting of filters on tcp flags

2020-01-12 Thread Sowmini Varadhan
per https://doc.dpdk.org/guides/prog_guide/packet_classif_access_ctrl.html this field MUST be allocated fo4 4 bytes, thus it has sizeof(uint32_t). However, also note the XXX in this commit: additional updates are needed to the rte_flow_classify_table_entry_add() so that it does not ignore any key fields other than t

[dpdk-dev] [PATCH RFC 0/2] TCP flow classification using 4-tuple and flags

2020-01-12 Thread Sowmini Varadhan
expected, and there were no documentation/examples to provide guidelines. Comments/suggestions would be particularly helpful. Sowmini Varadhan (2): Hooks to allow the setting of filters on tcp flags Allow the flow_classify example to add an ACL table for tcp. examples/flow_classify

[dpdk-dev] [PATCH RFC 2/2] Allow the flow_classify example to add an ACL table for tcp.

2020-01-12 Thread Sowmini Varadhan
: Sowmini Varadhan --- examples/flow_classify/flow_classify.c| 33 ++-- lib/librte_flow_classify/rte_flow_classify.c | 84 +++ lib/librte_flow_classify/rte_flow_classify.h | 19 + .../rte_flow_classify_parse.c | 8 +- 4 files changed, 134 insertions

[dpdk-dev] [PATCH RFC V2 0/2] TCP flow classification using 4-tuple and flags

2020-01-13 Thread Sowmini Varadhan
documentation/examples to provide guidelines. Comments/suggestions would be particularly helpful. Sowmini Varadhan (2): Hooks to allow the setting of filters on tcp flags Allow the flow_classify example to add an ACL table for tcp. examples/flow_classify/flow_classify.c| 121

[dpdk-dev] [PATCH RFC V2 1/2] Hooks to allow the setting of filters on tcp flags

2020-01-13 Thread Sowmini Varadhan
_classif_access_ctrl.html this field MUST be allocated fo4 4 bytes, thus it has sizeof(uint32_t). However, also note the XXX in this commit: additional updates are needed to the rte_flow_classify_table_entry_add() so that it does not ignore any key fields other than the 5-tuple. Signed-off-by:

[dpdk-dev] [PATCH RFC V2 2/2] Allow the flow_classify example to add an ACL table for tcp.

2020-01-13 Thread Sowmini Varadhan
: Sowmini Varadhan --- V2 updates: checkpatch fixes examples/flow_classify/flow_classify.c| 44 +++--- lib/librte_flow_classify/rte_flow_classify.c | 87 +++ lib/librte_flow_classify/rte_flow_classify.h | 19 .../rte_flow_classify_parse.c | 8

[dpdk-dev] patches not showing up on list?

2020-01-13 Thread Sowmini Varadhan
I just sent a couple of (RFC) patches to dev@dpdk.org and they are showing up in the patch queue, but not on the list, is there something wrong with my mail headers? How can I debug this? Patches I am referring to are: https://patchwork.dpdk.org/patch/64574/ https://patchwork.dpdk.org/patch/64