[dpdk-dev] [PATCH v5 1/3] ethdev: add Rx HW timestamp capability
Andrew Rybchenko
arybchenko at solarflare.com
Tue Oct 3 08:40:31 CEST 2017
On 10/03/2017 09:33 AM, Raslan Darawsheh wrote:
> Add a new offload capability flag for Rx HW
> timestamp and enabling/disabling this via rte_eth_rxmode.
>
> Signed-off-by: Raslan Darawsheh <rasland at mellanox.com>
> ---
> This patch should be applied after after this series:
> http://dpdk.org/dev/patchwork/patch/29368/
> ---
> doc/guides/nics/features.rst | 11 +++++++++++
> lib/librte_ether/rte_ethdev.c | 6 ++++++
> lib/librte_ether/rte_ethdev.h | 5 ++++-
> 3 files changed, 21 insertions(+), 1 deletion(-)
<...>
> diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h
> index ffd2ee5..bd63730 100644
> --- a/lib/librte_ether/rte_ethdev.h
> +++ b/lib/librte_ether/rte_ethdev.h
> @@ -368,7 +368,8 @@ struct rte_eth_rxmode {
> jumbo_frame : 1, /**< Jumbo Frame Receipt enable. */
> hw_strip_crc : 1, /**< Enable CRC stripping by hardware. */
> enable_scatter : 1, /**< Enable scatter packets rx handler */
> - enable_lro : 1; /**< Enable LRO */
> + enable_lro : 1, /**< Enable LRO */
> + hw_timestamp : 1; /**< Enable HW timestamp */
The code is definitely not rebased on top of a new Rx offload API patch
which adds
ignore_offload_bitfield : 1;
exactly in this place.
<...>
More information about the dev
mailing list