X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=drivers%2Fnet%2Fbnxt%2Ftf_ulp%2Fulp_mapper.h;h=004e89ac2b64de0ca7077d057a2ae734f6e784b5;hb=b37ed6def36798342172f298516c5fc6d0d8e070;hp=6e4d9e8522778507b9cea9b76f6c497926dc784c;hpb=c6062ec0f78cd018d911fe0182cc1bdf417435de;p=dpdk.git diff --git a/drivers/net/bnxt/tf_ulp/ulp_mapper.h b/drivers/net/bnxt/tf_ulp/ulp_mapper.h index 6e4d9e8522..004e89ac2b 100644 --- a/drivers/net/bnxt/tf_ulp/ulp_mapper.h +++ b/drivers/net/bnxt/tf_ulp/ulp_mapper.h @@ -46,9 +46,8 @@ struct bnxt_ulp_mapper_parms { struct ulp_rte_hdr_bitmap *hdr_bitmap; struct ulp_rte_hdr_field *hdr_field; struct ulp_rte_field_bitmap *fld_bitmap; - uint32_t *comp_fld; + uint64_t *comp_fld; struct ulp_regfile *regfile; - struct tf *tfp; struct bnxt_ulp_context *ulp_ctx; uint32_t fid; enum bnxt_ulp_fdb_type flow_type; @@ -61,13 +60,15 @@ struct bnxt_ulp_mapper_parms { uint64_t shared_hndl; uint32_t flow_pattern_id; uint32_t act_pattern_id; + uint8_t app_id; + uint16_t port_id; }; struct bnxt_ulp_mapper_create_parms { uint32_t app_priority; struct ulp_rte_hdr_bitmap *hdr_bitmap; struct ulp_rte_hdr_field *hdr_field; - uint32_t *comp_fld; + uint64_t *comp_fld; struct ulp_rte_act_bitmap *act; struct ulp_rte_act_prop *act_prop; struct ulp_rte_field_bitmap *fld_bitmap; @@ -88,7 +89,8 @@ struct bnxt_ulp_mapper_create_parms { /* support pattern based rejection */ uint32_t flow_pattern_id; uint32_t act_pattern_id; - + uint8_t app_id; + uint16_t port_id; }; /* Function to initialize any dynamic mapper data. */