Hi Vipin,
> -Original Message-
> From: Varghese, Vipin
> Sent: Tuesday, December 4, 2018 1:19 PM
> To: Lu, Wenzhuo ; dev@dpdk.org
> Cc: Lu, Wenzhuo ; Zhao1, Wei
>
> Subject: RE: [dpdk-dev] [PATCH v2 05/20] net/ice: support packet type
> getting
>
> snipp
snipped
> +static inline uint32_t
> +ice_get_default_pkt_type(uint16_t ptype) {
Suggestion: should we check 'ptype >= RTE_PTYPE_UNKNOWN ' return?
> + static const uint32_t type_table[ICE_MAX_PKT_TYPE]
> + __rte_cache_aligned = {
> + /* L2 types */
> + /* [0
Add ops dev_supported_ptypes_get.
Signed-off-by: Wei Zhao
Signed-off-by: Wenzhuo Lu
---
drivers/net/ice/ice_ethdev.c | 2 +
drivers/net/ice/ice_lan_rxtx.c | 601 +
drivers/net/ice/ice_rxtx.h | 2 +
3 files changed, 605 insertions(+)
diff --git
3 matches
Mail list logo