Re: [next-queue PATCH v2 8/8] igb: Add support for adding offloaded clsflower filters

2018-03-06 Thread Vinicius Costa Gomes
Hi, Jakub Kicinski writes: > On Tue, 06 Mar 2018 11:08:26 -0800, Vinicius Costa Gomes wrote: >> >> +static int igb_parse_cls_flower(struct igb_adapter *adapter, >> >> + struct tc_cls_flower_offload *f, >> >> + int traffic_class, >>

Re: [next-queue PATCH v2 8/8] igb: Add support for adding offloaded clsflower filters

2018-03-06 Thread Jakub Kicinski
On Tue, 06 Mar 2018 11:08:26 -0800, Vinicius Costa Gomes wrote: > >> +static int igb_parse_cls_flower(struct igb_adapter *adapter, > >> + struct tc_cls_flower_offload *f, > >> + int traffic_class, > >> + struct

Re: [next-queue PATCH v2 8/8] igb: Add support for adding offloaded clsflower filters

2018-03-06 Thread Vinicius Costa Gomes
Hi, Jakub Kicinski writes: > On Fri, 2 Mar 2018 10:43:44 -0800, Vinicius Costa Gomes wrote: >> This allows filters added by tc-flower and specifying MAC addresses, >> Ethernet types, and the VLAN priority field, to be offloaded to the >> controller. >> >> This reuses most of

Re: [next-queue PATCH v2 8/8] igb: Add support for adding offloaded clsflower filters

2018-03-05 Thread Jakub Kicinski
On Fri, 2 Mar 2018 10:43:44 -0800, Vinicius Costa Gomes wrote: > This allows filters added by tc-flower and specifying MAC addresses, > Ethernet types, and the VLAN priority field, to be offloaded to the > controller. > > This reuses most of the infrastructure used by ethtool, ethtool can be >

[next-queue PATCH v2 8/8] igb: Add support for adding offloaded clsflower filters

2018-03-02 Thread Vinicius Costa Gomes
This allows filters added by tc-flower and specifying MAC addresses, Ethernet types, and the VLAN priority field, to be offloaded to the controller. This reuses most of the infrastructure used by ethtool, ethtool can be used to read these filters, but modification and deletion can only be done