[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d203ec4a-1182-596d-fbef-ec9f29c21105@nvidia.com>
Date: Wed, 21 Apr 2021 20:52:00 +0300
From: Yevgeny Kliteynik <kliteyn@...dia.com>
To: "Samudrala, Sridhar" <sridhar.samudrala@...el.com>,
Saeed Mahameed <saeed@...nel.org>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>
CC: <netdev@...r.kernel.org>, Tariq Toukan <tariqt@...dia.com>,
Saeed Mahameed <saeedm@...dia.com>
Subject: Re: [net-next 07/15] net/mlx5: mlx5_ifc updates for flex parser
On 21-Apr-21 18:08, Samudrala, Sridhar wrote:
>>>> Added the required definitions for supporting more protocols by flex
>>>> parsers
>>>> (GTP-U, Geneve TLV options), and for using the right flex parser
>>>> that was
>>>> configured for this protocol.
>>> Are you planning to support adding flow rules to match on these protocol
>>> specific fields?
>>> If so, are you planning to extend tc flower OR use other interfaces?
>>
>> Some of these are already supported through tc on DMFS.
>> This patch series adds support for SMFS: Geneve options and MPLS
>> both through tc and through rdma-core on root table,
>> and GTP-U is supported only through rdma-core on root table.
>
> What is the interface for rdma-core to hook into the driver to add these
> rules?
> Is there an equivalent of ndo_setup_tc() that is used with tc interface?
This is done through RDMA verbs.
Among other things, rdma-core provides an API for a user level
application (such as DPDK) to control flow steering through verbs.
You can find more details here:
https://github.com/linux-rdma/rdma-core
Flow steering API is here:
https://github.com/linux-rdma/rdma-core/blob/master/providers/mlx5/mlx5dv.h
>> -- YK
>>
>>>> Signed-off-by: Yevgeny Kliteynik <kliteyn@...dia.com>
>>>> Signed-off-by: Saeed Mahameed <saeedm@...dia.com>
>>>> ---
>>>> � include/linux/mlx5/mlx5_ifc.h | 32 ++++++++++++++++++++++++++++----
>>>> � 1 file changed, 28 insertions(+), 4 deletions(-)
Powered by blists - more mailing lists