This patchset modifies the callback function for VF management. A third parameter has been added to the _rte_eth_dev_callback_process function. All references to this function have been updated. Changes have been made to the ixgbe_rcv_msg_from_vf function to use the new callback parameter.
This patchset depends on the following patch. http://dpdk.org/dev/patchwork/patch/16296/ [dpdk-dev,v6,1/2] net/ixgbe: add API's for VF management These patches were part of the RFC PATCH v2 of the above patchset, but were dropped from the v3 patchset. Changes in v5: Rebased to latest master. Added parameter to the _rte_eth_dev_callback_process function Removed two new callback functions which were added previously. Updated all calls to the _rte_eth_dev_callback_process function. Changes in v4: Rebased to latest master. Moved the callback parameter structure from the ethdev to the ixgbe PMD. Changes in v3: Rebased to latest master. Submitted as a seperate patchset. Moved the response enums from the ethdev to the ixgbe PMD. Changes in v2: Rebased to latest master. Bernard Iremonger (13): librte_ether: modify internal callback function net/ixgbe: add callback to user app on VF to PF mbox msg app/test: add parameter to callback process function net/bonding: add parameter to callback process function net/e1000: add parameter to callback process function net/i40e: update call to callback process function net/mlx4: add parameter to callback process function net/mlx5: add parameter to callback process function net/nfp: add parameter to callback process function net/thunderx: add parameter to callback process function net/vhost: add parameter to callback process function net/virtio: add parameter to callback process function net/enic: add parameter to callback process function app/test/virtual_pmd.c | 2 +- drivers/net/bonding/rte_eth_bond_pmd.c | 6 ++--- drivers/net/e1000/em_ethdev.c | 2 +- drivers/net/e1000/igb_ethdev.c | 4 ++-- drivers/net/enic/enic_main.c | 2 +- drivers/net/i40e/i40e_ethdev.c | 4 ++-- drivers/net/i40e/i40e_ethdev_vf.c | 2 +- drivers/net/ixgbe/ixgbe_ethdev.c | 4 ++-- drivers/net/ixgbe/ixgbe_pf.c | 42 +++++++++++++++++++++++++++++----- drivers/net/ixgbe/rte_pmd_ixgbe.h | 17 ++++++++++++++ drivers/net/mlx4/mlx4.c | 4 ++-- drivers/net/mlx5/mlx5_ethdev.c | 4 ++-- drivers/net/nfp/nfp_net.c | 2 +- drivers/net/thunderx/nicvf_ethdev.c | 2 +- drivers/net/vhost/rte_eth_vhost.c | 6 ++--- drivers/net/virtio/virtio_ethdev.c | 2 +- lib/librte_ether/rte_ethdev.c | 5 +++- lib/librte_ether/rte_ethdev.h | 7 +++++- 18 files changed, 86 insertions(+), 31 deletions(-) -- 2.9.0