numam-dpdk/drivers
Qi Zhang 62e94f7f66 net/i40e: configure packet type mapping
The patch adds 4 APIs to support configurable
PTYPE mapping for i40e device.
rte_pmd_i40e_ptype_mapping_get.
rte_pmd_i40e_ptype_mapping_replace.
rte_pmd_i40e_ptype_mapping_reset.
rte_pmd_i40e_ptype_mapping_update.
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@intel.com>
Acked-by: Jianbo Liu <jianbo.liu@linaro.org>
Acked-by: Chao Zhu <chaozhu@linux.vnet.ibm.com>
2017-04-19 15:37:37 +02:00
..
bus bus/fslmc: add frame queue based dq storage 2017-04-19 15:37:37 +02:00
crypto vdev: use generic vdev struct for probe and remove 2017-04-14 15:41:50 +02:00
event vdev: use generic vdev struct for probe and remove 2017-04-14 15:41:50 +02:00
mempool mempool/dpaa2: add hardware offloaded mempool 2017-04-19 15:37:37 +02:00
net net/i40e: configure packet type mapping 2017-04-19 15:37:37 +02:00
Makefile net/dpaa2: introduce NXP DPAA2 driver 2017-04-19 15:37:37 +02:00