>-----Original Message-----
>From: David Marchand <[email protected]>
>Sent: Wednesday, 11 January 2023 10:53
>To: Ivan Malov <[email protected]>; Eli Britstein <[email protected]>;
>[email protected]
>Cc: Ilya Maximets <[email protected]>; Ori Kam <[email protected]>;
>Andrew Rybchenko <[email protected]>; Ian Stokes
><[email protected]>
>Subject: [PATCH] netdev-offload-dpdk: Fix transfer flows.
>
>External email: Use caution opening links or attachments
>
>
>Following DPDK commit bd2a4d4b2e3a ("ethdev: forbid direction attribute in
>transfer flow rules"), the ingress attribute presence is rejected for transfer
>flow.
Either "... for *a* transfer flow" or "... for transfer flow*s*"
Other than that,
Acked-by: Eli Britstein <[email protected]>
>
>Fixes: a77c7796f23a ("dpdk: Update to use v22.11.1.")
>Signed-off-by: David Marchand <[email protected]>
>---
> lib/netdev-offload-dpdk.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/lib/netdev-offload-dpdk.c b/lib/netdev-offload-dpdk.c index
>38f00fd309..b3421c0996 100644
>--- a/lib/netdev-offload-dpdk.c
>+++ b/lib/netdev-offload-dpdk.c
>@@ -2242,7 +2242,7 @@ netdev_offload_dpdk_actions(struct netdev
>*netdev,
>                             struct nlattr *nl_actions,
>                             size_t actions_len)  {
>-    const struct rte_flow_attr flow_attr = { .ingress = 1, .transfer = 1 };
>+    const struct rte_flow_attr flow_attr = { .transfer = 1, };
>     struct flow_actions actions = {
>         .actions = NULL,
>         .cnt = 0,
>--
>2.39.0

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to