Unless you set the DPDK_DOWNLOAD_DIR environment variable, VPP will keep using the source downloaded in its default location. Within the vpp repository, at the top-level directory you find a dpdk folder; try to look at the Makefile in there to understand the logic. Bottom-line: you need to specify (via the DPDK_DOWNLOAD_DIR) the location where the DPDK tarball/source code lives if you are trying to use "your own" modified version of DPDK... - Marco On Thu, 2018-03-08 at 18:20 +0800, xulang wrote: > Hi all, > I'v changed a dpdk driver file which is rte_eth_bond_pmd.c, > Then I would like to compile dpdk to become effiective. > I start vpp with gdb, and use gdb cmd "list slave_configure", there is no > change, I hope to hearing from you. > > Here are my operations. > DPDK compile: > export RTE_SDK="/home/wangzy/test/VBRASV100R001_trunk/vpp1704/dpdk/dpdk-17.02" > export RTE_TARGET="x86_64-native-linuxapp-gcc" > export DESTDIR=/ > make config T=x86_64-native-linuxapp-gcc && make > make install T=x86_64-native-linuxapp-gcc > modprobe uio > insmod build/kmod/igb_uio.ko > > VPP compile: > make distclean > ./bootstrap.sh > make V=0 PLATFORM=vpp TAG=vpp install-deb > dpkg -i *.deb > > GDB result: > (gdb) list slave_configure > 1310 } > 1311 > 1312 int > 1313 slave_configure(struct rte_eth_dev *bonded_eth_dev, > 1314 struct rte_eth_dev *slave_eth_dev) > 1315 { > 1316 struct bond_rx_queue *bd_rx_q; > 1317 struct bond_tx_queue *bd_tx_q; > 1318 > 1319 int errval; > (gdb) > 1320 uint16_t q_id; > 1321 > 1322 /* Stop slave */ > 1323 rte_eth_dev_stop(slave_eth_dev->data->port_id); > 1324 > 1325 /* Enable interrupts on slave device if supported */ > 1326 if (slave_eth_dev->data->dev_flags & RTE_ETH_DEV_INTR_LSC) > 1327 slave_eth_dev->data->dev_conf.intr_conf.lsc = 1; > 1328 > 1329 /* If RSS is enabled for bonding, try to enable it for > slaves */ > (gdb) > > Regards, > xulang > > > > > > > -- Marco V
SUSE LINUX GmbH | GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Maxfeldstr. 5, D-90409, Nürnberg