> -----Original Message----- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of David Hunt > Sent: Saturday, August 26, 2017 12:02 AM > To: dev@dpdk.org > Cc: Hunt, David <david.h...@intel.com>; Marjanovic, Nemanja > <nemanja.marjano...@intel.com>; Sexton, Rory <rory.sex...@intel.com> > Subject: [dpdk-dev] [PATCH v1 10/10] net/i40e: set register for no drop > > See the XL710 controller datasheet for more information on this register > > Signed-off-by: Nemanja Marjanovic <nemanja.marjano...@intel.com> > Signed-off-by: Rory Sexton <rory.sex...@intel.com> > Signed-off-by: David Hunt <david.h...@intel.com> > --- > drivers/net/i40e/i40e_ethdev.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c > index d9806fc..24b713e 100644 > --- a/drivers/net/i40e/i40e_ethdev.c > +++ b/drivers/net/i40e/i40e_ethdev.c > @@ -1156,7 +1156,7 @@ eth_i40e_dev_init(struct rte_eth_dev *dev) > * in firmware in the future. > */ > i40e_configure_registers(hw); > - > + I40E_WRITE_REG(hw, I40E_PRTDCB_TC2PFC, 0xff);
What is the relationship with VM power manager? And about no-drop setting, it is the responsibility of flow control, please check http://www.dpdk.org/dev/patchwork/patch/19449/ Thanks Jingjing