ethdev: include mbuf registration in Tx timestamp API
authorThomas Monjalon <thomas@monjalon.net>
Mon, 2 Nov 2020 19:51:00 +0000 (20:51 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 3 Nov 2020 15:21:15 +0000 (16:21 +0100)
commitaf270529adb9b6f995192979f78a3e3fc9f52562
tree2132b8585901d8481c9c821aa5ed28be59e512b1
parent26fb26f6f559cabfba3671c3ab7553d5e9c7e2dd
ethdev: include mbuf registration in Tx timestamp API

Previously, the Tx timestamp field and flag were registered in testpmd,
as described in mlx5 guide.
For consistency between Rx and Tx timestamps,
managing mbuf registrations inside the driver, as properly documented,
is a simpler expectation.

The only driver to support this feature (mlx5) is updated
as well as the testpmd application.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
Acked-by: David Marchand <david.marchand@redhat.com>
Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
app/test-pmd/config.c
doc/guides/nics/mlx5.rst
drivers/net/mlx5/mlx5_ethdev.c
lib/librte_ethdev/rte_ethdev.h