[ovs-dev] [PATCH v2 8/8] netdev-dpdk: set FDIR config

Darrell Ball dball at vmware.com
Tue Sep 12 08:35:32 UTC 2017



On 9/10/17, 11:21 PM, "ovs-dev-bounces at openvswitch.org on behalf of Yuanhan Liu" <ovs-dev-bounces at openvswitch.org on behalf of yliu at fridaylinux.org> wrote:

    On Fri, Sep 08, 2017 at 06:48:16PM +0200, Simon Horman wrote:
    > On Tue, Sep 05, 2017 at 05:23:01PM +0800, Yuanhan Liu wrote:
    > > From: Finn Christensen <fc at napatech.com>
    > > 
    > > The Intel i40e PMD driver requires the fdir mode set to
    > > RTE_FDIR_MODE_PERFECT, otherwise, the flow creation would
    > > be failed.
    > 
    > This appears to update a setting that is used more broadly than
    > with the hardware cited above. I'd value some discussion
    > of whether that is safe/appropriate/etc... ?
    
    Sure, and comments are welcome. For Mellanox, AFAIK, the setting is
    ignored.


[Darrell] There was an earlier request that we explain the setting with a comment in the code itself. It is selectively honoured.

Flow Director setting modes: none, signature or perfect.
Enumerator:
RTE_FDIR_MODE_NONE 	Disable FDIR support.
RTE_FDIR_MODE_SIGNATURE 	Enable FDIR signature filter mode.
RTE_FDIR_MODE_PERFECT 	Enable FDIR perfect filter mode.
RTE_FDIR_MODE_PERFECT_MAC_VLAN 	Enable FDIR filter mode - MAC VLAN.
RTE_FDIR_MODE_PERFECT_TUNNEL 	Enable FDIR filter mode - tunnel.



    
    	--yliu
    _______________________________________________
    dev mailing list
    dev at openvswitch.org
    https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.openvswitch.org_mailman_listinfo_ovs-2Ddev&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-uZnsw&m=HgMbtZrcMFWRL4NcADpvGei5A-3TvTB8rd9Zodnc-b4&s=RF8VUON-r0t8-dSvGpKAdhrd8q8Zdl8Vjmj9d1Eev8I&e= 
    









More information about the dev mailing list