search for: is_linkup

Displaying 2 results from an estimated 2 matches for "is_linkup".

Did you mean: is_link
2019 Oct 16
0
[RFC 1/2] vhost: IFC VF hardware operation layer
...p = dst; > + for (i = 0; i < length; i++) > + *p++ = ioread8((u8 *)hw->dev_cfg + offset + i); > + > + new_gen = ioread8(&hw->common_cfg->config_generation); > + } while (old_gen != new_gen); > +} > + > +void ifcvf_get_linkstatus(struct ifcvf_hw *hw, u8 *is_linkup) > +{ Why not just return bollean? > + u16 status; > + u64 host_features; > + > + host_features = ifcvf_get_features(hw); > + if (ifcvf_with_feature(hw, VIRTIO_NET_F_STATUS)) { > + ifcvf_read_dev_config(hw, > + offsetof(struct ifcvf_net_config, status), > + &am...
2019 Oct 21
0
[RFC 1/2] vhost: IFC VF hardware operation layer
...?? *p++ = ioread8((u8 *)hw->dev_cfg + offset + i); >>> + >>> +??????? new_gen = ioread8(&hw->common_cfg->config_generation); >>> +??? } while (old_gen != new_gen); >>> +} >>> + >>> +void ifcvf_get_linkstatus(struct ifcvf_hw *hw, u8 *is_linkup) >>> +{ >> >> >> Why not just return bollean? > sure, can do. >> >> >>> +??? u16 status; >>> +??? u64 host_features; >>> + >>> +??? host_features = ifcvf_get_features(hw); >>> +??? if (ifcvf_with_feature(hw, VIRT...