[dpdk-dev] [PATCH 0/4] net/mlx5: prepare to add E-switch rule flags check
Shahaf Shuler
shahafs at mellanox.com
Tue Nov 13 14:21:23 CET 2018
Monday, November 12, 2018 10:02 PM, Slava Ovsiienko:
> Subject: [PATCH 0/4] net/mlx5: prepare to add E-switch rule flags check
>
> The tc flower filter rules are used to control E-switch from the application
> side. In order to gain garanteed rule hardware offload the skip_sw flag
> should be specified while applying the rule. Some tc rules is rejected by
> kernel if skip_sw flag is set by design. Currently this regards VXLAN tunneling
> rules only, which are applied to special VXLAN virtual devices.
>
> Albeit these rules should be applied with no skip_sw flag set the kernel tries
> to perform hardware offload. If kernel succeeded the in_hw flag is set in rule
> properties and application may check this flag to get know whether the
> applied rule is actually hardware offloaded.
>
> Signed-off-by: Viacheslav Ovsiienko <viacheslavo at mellanox.com>
>
Hi Slava,
In general looks good. Please see few comments.
In addition, please make the signed-of name and the author name match for the next version.
> Viacheslav Ovsiienko (4):
> net/mlx5: prepare Netlink communication routine to fix
> net/mlx5: fix Netlink communication routine
> net/mlx5: prepare to add E-switch rule flags check
> net/mlx5: add E-switch rule hardware offload flag check
>
> drivers/net/mlx5/mlx5_flow.h | 1 +
> drivers/net/mlx5/mlx5_flow_tcf.c | 316
> +++++++++++++++++++++++++++++----------
> 2 files changed, 236 insertions(+), 81 deletions(-)
>
> --
> 1.8.3.1
More information about the dev
mailing list