Go to the documentation of this file.
28 #define ENIC_DEVCMD_PROXY_BY_INDEX(vf, err, enic, vnicdevcmdfn, ...) \
30 spin_lock(&enic->devcmd_lock); \
31 if (enic_is_valid_vf(enic, vf)) { \
32 vnic_dev_cmd_proxy_by_index_start(enic->vdev, vf); \
33 err = vnicdevcmdfn(enic->vdev, ##__VA_ARGS__); \
34 vnic_dev_cmd_proxy_end(enic->vdev); \
36 err = vnicdevcmdfn(enic->vdev, ##__VA_ARGS__); \
38 spin_unlock(&enic->devcmd_lock); \
46 int broadcast,
int promisc,
int allmulti);