[dpdk-dev] [PATCH v8 2/3] net/i40e: configurable PTYPE mapping
ferruh.yigit at intel.com
Wed Apr 12 10:36:42 CEST 2017
On 4/7/2017 4:25 AM, Qi Zhang wrote:
> The patch adds 4 APIs to support configurable
> PTYPE mapping for i40e device.
> The mapping from hardware defined packet type to software defined packet
> type can be updated/reset/read out with these APIs.
> Also a software ptype with the most significent bit set will be regarded
> as a user defined ptype (RTE_PMD_I40E_PTYPE_USER_DEFINE_MASK) so
> application can use it to defined its own PTYPE naming system.
> Signed-off-by: Qi Zhang <qi.z.zhang at intel.com>
> - Rebase to dpdk-next-net
> - Add comment to explain the "user defined" ptype.
> - Rename APIs to rte_pmd_i40e_ptype_mapping_xxx
> - Add missing API declaration in rte_pmd_i40e_version.map
> - Add missing PTYPE in check_invalid_pkt_type
> - Fix couple typo error
> drivers/net/i40e/i40e_ethdev.c | 229 ++++++++++++++++++++++++++++++
These functions now needs to be moved to "rte_pmd_i40e.c". Can you
please rebase patch on top of latest next-net?
More information about the dev