X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fbnxt%2Ftf_ulp%2Fulp_utils.h;h=e1b0e773f3a265bc5c7f0d8b64a3730e93240ffc;hb=48fbc1be82b551e41c58e94de780fdd2ffaaeb78;hp=209c8fa6a46df78a52b13133703c94ffd5fa7580;hpb=286569d5ed9140ef1c39f43415824f46f2e31c80;p=dpdk.git diff --git a/drivers/net/bnxt/tf_ulp/ulp_utils.h b/drivers/net/bnxt/tf_ulp/ulp_utils.h index 209c8fa6a4..e1b0e773f3 100644 --- a/drivers/net/bnxt/tf_ulp/ulp_utils.h +++ b/drivers/net/bnxt/tf_ulp/ulp_utils.h @@ -64,10 +64,10 @@ /* Macros to read the computed fields */ #define ULP_COMP_FLD_IDX_RD(params, idx) \ - rte_be_to_cpu_32((params)->comp_fld[(idx)]) + rte_be_to_cpu_64((params)->comp_fld[(idx)]) #define ULP_COMP_FLD_IDX_WR(params, idx, val) \ - ((params)->comp_fld[(idx)] = rte_cpu_to_be_32((val))) + ((params)->comp_fld[(idx)] = rte_cpu_to_be_64((uint64_t)(val))) /* * Making the blob statically sized to 128 bytes for now. * The blob must be initialized with ulp_blob_init prior to using.