[PATCH net-next,v3 10/12] dsa: bcm_sf2: use flow_rule infrastructure

2018-11-20 Thread Pablo Neira Ayuso
Update this driver to use the flow_rule infrastructure, hence we can use the same code to populate hardware IR from ethtool_rx_flow and the cls_flower interfaces. Signed-off-by: Pablo Neira Ayuso --- v3: adapt it to use new ethtool_rx_flow_rule_alloc() drivers/net/dsa/bcm_sf2_cfp.c | 109 ++

Re: [PATCH net-next,v3 10/12] dsa: bcm_sf2: use flow_rule infrastructure

2018-11-21 Thread Florian Fainelli
On 11/20/2018 6:51 PM, Pablo Neira Ayuso wrote: > Update this driver to use the flow_rule infrastructure, hence we can use > the same code to populate hardware IR from ethtool_rx_flow and the > cls_flower interfaces. > > Signed-off-by: Pablo Neira Ayuso > --- [snip] > @@ -398,9 +411,10 @@ st