On Mon, Nov 12, 2018 at 2:49 PM Cong Wang <xiyou.wangc...@gmail.com> wrote: > > Currently netdev_rx_csum_fault() only shows a device name, > we need more information about the skb for debugging csum > failures. > > Sample output: > > ens3: hw csum failure > dev features: 0x0000000000014b89 > skb len=84 data_len=0 pkt_type=0 gso_size=0 gso_type=0 nr_frags=0 > ip_summed=0 csum=0 csum_complete_sw=0 csum_valid=0 csum_level=0
Recent issues were protocol dependent, including whether vlan headers were present. Perhaps also print skb vlan fields and even the first N bytes of data to inspect protocol headers? Also skb_iif, esp. if this differs from dev->ifindex.