Use TX SCTP checksumming offload as supported by IGB devices. Signed-off-by: Tomasz Dzieciol <t.dziec...@partner.samsung.com> --- hw/net/igb_core.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/hw/net/igb_core.c b/hw/net/igb_core.c index e1b99f312b..8cc8682c66 100644 --- a/hw/net/igb_core.c +++ b/hw/net/igb_core.c @@ -394,6 +394,7 @@ igb_setup_tx_offloads(IGBCore *core, struct igb_tx *tx) return false; } + net_tx_pkt_update_sctp_crc(tx->tx_pkt); net_tx_pkt_update_ip_checksums(tx->tx_pkt); e1000x_inc_reg_if_not_full(core->mac, TSCTC); return true; @@ -403,6 +404,8 @@ igb_setup_tx_offloads(IGBCore *core, struct igb_tx *tx) if (!net_tx_pkt_build_vheader(tx->tx_pkt, false, true, 0)) { return false; } + + net_tx_pkt_update_sctp_crc(tx->tx_pkt); } if (tx->ixsm) { -- 2.25.1