Hi Thomas, On Tuesday, February 02/16/16, 2016 at 05:42:30 -0800, Thomas Monjalon wrote: > 2016-02-16 17:05, Rahul Lakkireddy: > > Hi Thomas, > > > > Got a couple of questions on how to mark some of the features for CXGBE > > below. > > > > On Wednesday, January 01/27/16, 2016 at 21:07:09 +0100, Thomas Monjalon > > wrote: > [...] > > > + VLAN filter > > > + ethertype filter > > > + n-tuple filter > > > + SYN filter > > > + tunnel filter > > > + flexible filter > > > + hash filter > > > + flow director > > > > It is possible to set some of the above filters via our cxgbe flow > > director. Do we mark these filter features as supported? > > How do you configure these filters? rte_eth_dev_filter_ctrl()? > Which type in rte_filter_type? >
Yes, we configure it with rte_eth_dev_filter_ctrl() and with RTE_ETH_FILTER_FDIR filter type. With Chelsio hardware it's possible to match several different filters in the same rule. For e.g., it's possible to set a vlan, ethertype, and n-tuple filters all on the same rule. The generic architecture [1] for flow director can accept these several filters in the same rule and hence the cxgbe flow director can handle these different filters with this generic approach. [1] http://dpdk.org/ml/archives/dev/2016-February/032605.html Thanks, Rahul