MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rx_offload_enabled

Function rx_offload_enabled

dpdk/drivers/net/virtio/virtio_ethdev.c:2111–2117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2109}
2110
2111static uint8_t
2112rx_offload_enabled(struct virtio_hw *hw)
2113{
2114 return virtio_with_feature(hw, VIRTIO_NET_F_GUEST_CSUM) ||
2115 virtio_with_feature(hw, VIRTIO_NET_F_GUEST_TSO4) ||
2116 virtio_with_feature(hw, VIRTIO_NET_F_GUEST_TSO6);
2117}
2118
2119static uint8_t
2120tx_offload_enabled(struct virtio_hw *hw)

Callers 1

virtio_dev_configureFunction · 0.85

Calls 1

virtio_with_featureFunction · 0.85

Tested by

no test coverage detected