Hi,
On 9/8/2019 12:45 PM, Ananyev, Konstantin wrote:
Hi Radu,
Update IXGBE PMD with support for IPsec statistics.
The proposed approach - have a new hash table per device,
plus parse each packet on RX and TX and do hash lookup
seems way too heavy to put it into PMD.
It is indeed heavy, but it's disabled by default and it only uses the
heavy section when the app is enabling per-session statistics
Wonder why we need to do that?
If HW doesn't provide such statistic info, why not to leave it
to the upper layer to collect/maintain?
In many cases SW will already have that infrastructure
and I don't see to put all these heavy-weight operations
into ixgbe rx/tx path.
The reason is to use the rte_security API consistently and take
advantage of the hardware backed statistics when they are available.
Konstantin