net: fix eCPRI header generic data field
authorViacheslav Ovsiienko <viacheslavo@nvidia.com>
Mon, 23 Nov 2020 12:29:41 +0000 (12:29 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 26 Nov 2020 00:14:11 +0000 (01:14 +0100)
There was a typo in eCPRI header definition.

Fixes: d164c609e70b ("ethdev: add eCPRI key fields to flow API")
Cc: stable@dpdk.org
Reported-by: Rani Sharoni <ranish@nvidia.com>
Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
Reviewed-by: Bing Zhao <bingz@nvidia.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_net/rte_ecpri.h

index d1c4838..1cbd6d8 100644 (file)
@@ -167,7 +167,7 @@ struct rte_ecpri_combined_msg_hdr {
                struct rte_ecpri_msg_iq_data type0;
                struct rte_ecpri_msg_bit_seq type1;
                struct rte_ecpri_msg_rtc_ctrl type2;
-               struct rte_ecpri_msg_bit_seq type3;
+               struct rte_ecpri_msg_gen_data type3;
                struct rte_ecpri_msg_rm_access type4;
                struct rte_ecpri_msg_delay_measure type5;
                struct rte_ecpri_msg_remote_reset type6;