[dpdk-dev] [PATCH 0/7] ethdev: add new Rx offload flags

Jerin Jacob Kollanukkaran jerinj at marvell.com
Fri Aug 16 08:02:39 CEST 2019


> -----Original Message-----
> From: pbhagavatula at marvell.com <pbhagavatula at marvell.com>
> Sent: Friday, August 16, 2019 11:25 AM
> To: Jerin Jacob Kollanukkaran <jerinj at marvell.com>; ferruh.yigit at intel.com
> Cc: dev at dpdk.org; Pavan Nikhilesh Bhagavatula
> <pbhagavatula at marvell.com>
> Subject: [dpdk-dev] [PATCH 0/7] ethdev: add new Rx offload flags
> 
> From: Pavan Nikhilesh <pbhagavatula at marvell.com>
> 
> Add new Rx offload flags `DEV_RX_OFFLOAD_RSS_HASH` and
> `DEV_RX_OFFLOAD_FLOW_MARK`. These flags can be used to
> enable/disable PMD writes to rte_mbuf fields `hash.rss` and `hash.fdir.hi`
> and also `ol_flags:PKT_RX_RSS` and `ol_flags:PKT_RX_FDIR`.
> 
> Add new packet type set function `rte_eth_dev_set_supported_ptypes`,
> allows application to inform PMDs about the packet types it is interested in.
> Based on ptypes requested by application PMDs can optimize the Rx path.
> 
> For example, if a given PMD doesn't support any packet types that the
> application is interested in then the application can disable[1] writes to
> `mbuf.packet_type` done by the PMD and use a software ptype parser.
> 	[1] rte_eth_dev_set_supported_ptypes(*port_id*, 0);
> 
> 
> Pavan Nikhilesh (7):
>   ethdev: add set ptype function
>   ethdev: add mbuf RSS update as a offload
>   ethdev: add flow action type update as an offload
>   net: update Rx RSS hash offload capabilities
>   net: update Rx flow action offload capabilities
>   net: add ptype set default functionality
>   examples/eventdev_pipeline: add new Rx RSS hash offload

Missing the examples update to disable ptype when not needed.



More information about the dev mailing list