On Fri, May 26, 2017 at 8:56 PM, Alexei Starovoitov <alexei.starovoi...@gmail.com> wrote: > On Fri, May 26, 2017 at 11:59:26AM +0300, Saeed Mahameed wrote:
>> But i agree with you some serious API brainstorming should be >> considered, but not at this stage, this patch only tells the ConnectX card >> (if you have FPGA, please enable it). > serious api discussion needs be done before things like eswitch, fpga > exposed to users otherwise we end up in the eswitch situation that > drops packets based on its own invisible logic, but with hidden fpga > it will be even more obscure. Alexei, ACK for your comment on e-switch, what we call the legacy mode for SRIOV in Linux was a big mistake. As you know, since 4.8 we're @ MLNX are working to fix it... we introduced a model for VF port representors which has set the foundations for e-switch data-path to be programmed as an offload for kernel SW switching. We also introduced the code to offload TC flower base data-path and support that in for both switch (Spectrum) ASIC (mlxsw driver) and NIC ASIC (mlx5 driver) Or.