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
1312int
1313slave_configure(struct rte_eth_dev *bonded_eth_dev,
1314struct rte_eth_dev *slave_eth_dev)
1315{
1316struct bond_rx_queue *bd_rx_q;
1317struct bond_tx_queue *bd_tx_q;
1318
1319int errval;
(gdb) 
1320uint16_t q_id;
1321
1322/* Stop slave */
1323rte_eth_dev_stop(slave_eth_dev->data->port_id);
1324
1325/* Enable interrupts on slave device if supported */
1326if (slave_eth_dev->data->dev_flags & RTE_ETH_DEV_INTR_LSC)
1327slave_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



Reply via email to