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

Function tx_offload_enabled

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

Source from the content-addressed store, hash-verified

2117}
2118
2119static uint8_t
2120tx_offload_enabled(struct virtio_hw *hw)
2121{
2122 return virtio_with_feature(hw, VIRTIO_NET_F_CSUM) ||
2123 virtio_with_feature(hw, VIRTIO_NET_F_HOST_TSO4) ||
2124 virtio_with_feature(hw, VIRTIO_NET_F_HOST_TSO6);
2125}
2126
2127/*
2128 * Configure virtio device

Callers 1

virtio_dev_configureFunction · 0.85

Calls 1

virtio_with_featureFunction · 0.85

Tested by

no test coverage detected