]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/dpaa2/dpaa2_ethdev.c
net/mvpp2: change default policer configuration
[dpdk.git] / drivers / net / dpaa2 / dpaa2_ethdev.c
index c5047367ae97d97a303a579133bd0e26eb0218f9..880034fcfc4190a88c42c3e68964ba23d40b7947 100644 (file)
@@ -39,7 +39,6 @@ static uint64_t dev_rx_offloads_sup =
 
 /* Rx offloads which cannot be disabled */
 static uint64_t dev_rx_offloads_nodis =
-               DEV_RX_OFFLOAD_CRC_STRIP |
                DEV_RX_OFFLOAD_SCATTER;
 
 /* Supported Tx offloads */
@@ -2008,7 +2007,6 @@ rte_dpaa2_probe(struct rte_dpaa2_driver *dpaa2_drv,
        }
 
        eth_dev->device = &dpaa2_dev->device;
-       eth_dev->device->driver = &dpaa2_drv->driver;
 
        dpaa2_dev->eth_dev = eth_dev;
        eth_dev->data->rx_mbuf_alloc_failed = 0;