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/16430/ [dpdk-dev,v7,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 v8: Rebased to latest master. Improve description of struct rte_pmd_ixgbe_mb_event_param, rename member user_data to msg. Changes in v7: Rebased to latest master. Move references to _rte_eth_dev_callback_process in ixgbe patch to librte_ether patch. Revised description of callback parameter. Changes in v6: Rebased to latest master. Squashed patches down to two patches. Renamed parameter to _rte_eth_dev_callback_process function. Updated API descriptions. 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 (2): librte_ether: modify internal callback function net/ixgbe: add callback to user app on VF to PF mbox msg 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 | 20 ++++++++++++++++ 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 | 12 +++++++++- 18 files changed, 94 insertions(+), 31 deletions(-) -- 2.9.0