Regards _Sugesh
> -----Original Message----- > From: [email protected] [mailto:ovs-dev- > [email protected]] On Behalf Of Yuanhan Liu > Sent: Tuesday, September 5, 2017 10:23 AM > To: [email protected] > Subject: [ovs-dev] [PATCH v2 8/8] netdev-dpdk: set FDIR config > > From: Finn Christensen <[email protected]> > > The Intel i40e PMD driver requires the fdir mode set to > RTE_FDIR_MODE_PERFECT, otherwise, the flow creation would be failed. [Sugesh] this means it doesn't honor the flow masks which passed onto rte_flow_*? > > Co-authored-by: Yuanhan Liu <[email protected]> > Signed-off-by: Finn Christensen <[email protected]> > Signed-off-by: Yuanhan Liu <[email protected]> > --- > --- > lib/netdev-dpdk.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c index e363c92..beb7b68 > 100644 > --- a/lib/netdev-dpdk.c > +++ b/lib/netdev-dpdk.c > @@ -177,6 +177,9 @@ static const struct rte_eth_conf port_conf = { > .txmode = { > .mq_mode = ETH_MQ_TX_NONE, > }, > + .fdir_conf = { > + .mode = RTE_FDIR_MODE_PERFECT, > + }, > }; > > /* > -- > 2.7.4 > > _______________________________________________ > dev mailing list > [email protected] > https://mail.openvswitch.org/mailman/listinfo/ovs-dev _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
