i40e: support flow control
authorZhe Tao <zhe.tao@intel.com>
Fri, 30 Oct 2015 04:57:35 +0000 (12:57 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 30 Oct 2015 14:21:38 +0000 (15:21 +0100)
commitf53577f0692556bbe5ae096cea47b891dac33172
tree39d4f09973f4d6a70ec793af980c6f5acf543026
parent92e689cedb08918c7abc2a4e468cf274571f15d0
i40e: support flow control

Feature Add: Rx/Tx flow control support for the i40e

All the Rx/Tx LFC enable/disable operation is done by the F/W,
so PMD driver need to use the Set PHY Config AD command to trigger the PHY
to do the auto-negotiation, after the Tx/Rx pause ability is negotiated,
the F/W will help us to set the related LFC enable/disable registers.
PMD driver also need to configure the related registers to control
how often to send the pause frame and what the value in the pause frame.

Signed-off-by: Zhe Tao <zhe.tao@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
doc/guides/rel_notes/release_2_2.rst
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/i40e_ethdev.h