[dpdk-dev] [PATCH v5 1/3] ethdev: add new RSS types for IPv6 prefix
Thomas Monjalon
thomas at monjalon.net
Wed Jul 8 16:27:40 CEST 2020
08/07/2020 15:37, Qi Zhang:
> --- a/lib/librte_ethdev/rte_ethdev.h
> +++ b/lib/librte_ethdev/rte_ethdev.h
> +/*
> + * Only select IPV6 address prefix as RSS input set according to
> + * https://tools.ietf.org/html/rfc6052
> + * Must be combined with ETH_RSS_IPV6, ETH_RSS_NONFRAG_IPV6_UDP,
> + * ETH_RSS_NONFRAG_IPV6_TCP, ETH_RSS_NONFRAG_IPV6_SCTP.
> + */
> +#define ETH_RSS_L3_PRE32 (1ULL << 57)
> +#define ETH_RSS_L3_PRE40 (1ULL << 56)
> +#define ETH_RSS_L3_PRE48 (1ULL << 55)
> +#define ETH_RSS_L3_PRE56 (1ULL << 54)
> +#define ETH_RSS_L3_PRE64 (1ULL << 53)
> +#define ETH_RSS_L3_PRE96 (1ULL << 52)
I still think names should start with RTE_ for new additions.
Please Cc Andrew as well as he is a maintainer of ethdev.
More information about the dev
mailing list