mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
igb: Implement Rx SCTP CSO
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> Reviewed-by: Sriram Yagnaraman <sriram.yagnaraman@est.tech> Signed-off-by: Jason Wang <jasowang@redhat.com>
This commit is contained in:
parent
abc9a29d6b
commit
907209e311
8 changed files with 93 additions and 17 deletions
|
@ -1114,6 +1114,11 @@ e1000e_verify_csum_in_sw(E1000ECore *core,
|
|||
return;
|
||||
}
|
||||
|
||||
if (l4hdr_proto != ETH_L4_HDR_PROTO_TCP &&
|
||||
l4hdr_proto != ETH_L4_HDR_PROTO_UDP) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!net_rx_pkt_validate_l4_csum(pkt, &csum_valid)) {
|
||||
trace_e1000e_rx_metadata_l4_csum_validation_failed();
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue