Lines Matching refs:sdev
73 struct sub_device *sdev; member
201 int failsafe_rx_intr_install_subdevice(struct sub_device *sdev);
202 void failsafe_rx_intr_uninstall_subdevice(struct sub_device *sdev);
238 void failsafe_eth_dev_unregister_callbacks(struct sub_device *sdev);
268 #define ETH(sdev) \ argument
269 ((sdev)->sdev_port_id == RTE_MAX_ETHPORTS ? \
270 NULL : &rte_eth_devices[(sdev)->sdev_port_id])
273 #define PORT_ID(sdev) \ argument
274 ((sdev)->sdev_port_id)
277 #define SUB_ID(sdev) \ argument
278 ((sdev)->sid)
396 fs_dev(struct sub_device *sdev) { in fs_dev() argument
397 return &rte_eth_devices[sdev->fs_port_id]; in fs_dev()
471 struct sub_device *sdev = NULL; in fs_switch_dev() local
475 FOREACH_SUBDEV_STATE(sdev, i, dev, req_state) { in fs_switch_dev()
476 if (sdev == banned) in fs_switch_dev()
483 if (i >= PRIV(dev)->subs_tail || sdev == NULL) { in fs_switch_dev()
498 fs_err(struct sub_device *sdev, int err) in fs_err() argument
501 if (sdev->remove == 1 || err == -EIO) in fs_err()