[dpdk-dev] [PATCH v2 1/1] net/octeontx2: add Rx/Tx burst mode get callbacks

Jerin Jacob jerinjacobk at gmail.com
Mon Nov 4 15:02:42 CET 2019


On Mon, Nov 4, 2019 at 11:37 AM Sunil Kumar Kori <skori at marvell.com> wrote:
>
> Retrieve burst mode options according to the selected Rx/Tx burst
> function.
>
> Signed-off-by: Sunil Kumar Kori <skori at marvell.com>
> ---
> v2:
>  - Rebased the patch on latest commit.
>  - Update feature matrix for the support.

Please rework this patch based on Haiyue's new patch
http://patches.dpdk.org/patch/62368/

Please choose the string[2] based on Rx[1] and Tx offload flags

[1]
#define NIX_RX_OFFLOAD_NONE            (0)
#define NIX_RX_OFFLOAD_RSS_F           BIT(0)
#define NIX_RX_OFFLOAD_PTYPE_F         BIT(1)
#define NIX_RX_OFFLOAD_CHECKSUM_F      BIT(2)
#define NIX_RX_OFFLOAD_VLAN_STRIP_F    BIT(3)
#define NIX_RX_OFFLOAD_MARK_UPDATE_F   BIT(4)
#define NIX_RX_OFFLOAD_TSTAMP_F        BIT(5)

example: [2]
otx2_rx_vec_cksum_mark_rss


More information about the dev mailing list