]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/ice/ice_dcf.c
net/ice: refactor packet type parsing
[dpdk.git] / drivers / net / ice / ice_dcf.c
index d20e2b3f488451143232c2666adbcb1711bd0be6..4a9af3292cf65cd0d98493c2289bb3aaeafbba1a 100644 (file)
@@ -234,6 +234,7 @@ ice_dcf_get_vf_resource(struct ice_dcf_hw *hw)
 
        caps = VIRTCHNL_VF_OFFLOAD_WB_ON_ITR | VIRTCHNL_VF_OFFLOAD_RX_POLLING |
               VIRTCHNL_VF_CAP_ADV_LINK_SPEED | VIRTCHNL_VF_CAP_DCF |
+              VIRTCHNL_VF_OFFLOAD_VLAN_V2 |
               VF_BASE_MODE_OFFLOADS | VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC;
 
        err = ice_dcf_send_cmd_req_no_irq(hw, VIRTCHNL_OP_GET_VF_RESOURCES,
@@ -899,6 +900,7 @@ ice_dcf_configure_queues(struct ice_dcf_hw *hw)
                        return -EINVAL;
                }
 #endif
+               ice_select_rxd_to_pkt_fields_handler(rxq[i], vc_qp->rxq.rxdid);
        }
 
        memset(&args, 0, sizeof(args));