[dpdk-dev] ixgbe : query regarding your code changes for VF mac add

2016-04-26 Thread Ivan Boule
Hi Santosh, Things are a little bit more complex. When the permanent MAC address of a VF is assigned by the PF driver, it cannot be changed nor deleted by the VF through commands issued to the PF driver. In this case, the function xgbevf_remove_mac_addr() must not add the permanent MAC address

[dpdk-dev] ixgbe : query regarding your code changes for VF mac add

2016-04-26 Thread santosh
Hi Looks like there is a bug in API "ixgbevf_remove_mac_addr()". For deleting a given MAC it deletes all MAC (including permanent MAC) and while adding (it does after few statements), it skips to add permanent MAC. ixgbevf_remove_mac_addr(struct rte_eth_dev *dev, uint32_t index) { ...

[dpdk-dev] ixgbe : query regarding your code changes for VF mac add

2016-04-25 Thread santosh
Hi Ivan ixgbevf_set_default_mac_addr() could not find in our code base. put traces at other places as suggested by you. Log at "eth_ixgbevf_dev_init" never displayed Rest logs displayed as shown below. I re-build the driver module and loaded on our virtual router and rebooted the system.

[dpdk-dev] ixgbe : query regarding your code changes for VF mac add

2016-04-22 Thread Ivan Boule
Hi Santosh, My job at 6WIND does not consist in answering to DPDK questions. In general, I have other priorities, including vacations... In the meantime, nobody prevents you to add traces in the code to really understand what happens, as suggested in my last answer. Regards, Ivan On

[dpdk-dev] ixgbe : query regarding your code changes for VF mac add

2016-04-22 Thread Ivan Boule
Hi Santosh, To explain what's really going on in your use case, it would be better to add traces in the following functions of the ixgbevf PMD: Ivan At the end of eth_ixgbevf_dev_init() printf("%s portid=%d mac=%02X:%02X:%02X:%02X:%02X:%02X\n", __func__, dev->data->port_id,

[dpdk-dev] ixgbe : query regarding your code changes for VF mac add

2016-04-21 Thread santosh
Hi Ivan and team, Please respond to my last mail and let me know if there is any alternate way to handle this. Our release is in pending due to this issue. Thanks & Regards Santosh On Wed, Apr 20, 2016 at 2:35 PM, santosh wrote: > Hi Ivan, > > Thanks for your response. > > Let me explain you

[dpdk-dev] ixgbe : query regarding your code changes for VF mac add

2016-04-20 Thread Ivan Boule
Hi Santosh, I do not get exactly what you attempt to do on a VF. Are you first deleting the so-called permanent MAC address by a call to the function ixgbevf_remove_mac_addr() ? This operation is not allowed. Can you explain exactly the sequence of operations that are done, so that I can

[dpdk-dev] ixgbe : query regarding your code changes for VF mac add

2016-04-20 Thread santosh
Hi Ivan, Thanks for your response. Let me explain you the issue that we are facing on our virtual router in VMware environment. 1. We are using ixgbe driver , SRIOV enabled . root at localhost:~# lspci "Intel Corporation 82599 Ethernet Controller Virtual Function" 2.