0

I'm a newbie in the Linux network drivers. I'm trying to enable offload features in an ethernet IP.

This ethernet IP supports TX checksum offloading for only 2 Tx HW queues among the total 8 Tx HW queues. Whether the Linux network stack supports offloading Tx checksum only for a few queues(0 and 1 in this case).

Following is my understanding: The Linux driver declares the offload capabilities in netdev->hw_features, NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM in the case of TXCOE. If the device is enabled for TX checksum offloading, the stack doesn’t perform any checksum calculation or insertion and this is offloaded to the HW for the transmit packets irrespective of the HW queue.

Also what I can see is that tools like ethtool only support Tx/Rx checksum offloading for the whole device. Not on a per queue basis.

So can anyone confirm whether this ethernet IP(with 2 among 8 Tx HW queues alone supporting Tx COE) can handle Tx Checksum offloading properly in Linux with all 8 Tx HW queues enabled?

Thomas07
  • 82
  • 1
  • 9

0 Answers0