search for: dev_gro_rec

Displaying 5 results from an estimated 5 matches for "dev_gro_rec".

2020 Sep 29
1
[PATCH net v2] virtio-net: don't disable guest csum when disable LRO
...k about GRO(In the GRO we don't know packets will be forwarded to other ports or to local). The call tree as below: + 5.41% secondary_startup_64 - 1.22% ret_from_fork .... net_rx_action napi_poll virtnet_poll virtnet_receive napi_gro_receive dev_gro_receive inet_gro_receive tcp4_gro_receive __skb_gro_checksum_complete skb_checksum __skb_checksum csum_partial do_csum - 1.13% do_csum $ brctl show bridge name bridge id STP enabled interfaces br0 8000.001122330001 no eth1 eth2 > > Fix...
2020 May 26
6
[RFC] Loading Bitfields with Smallest Needed Types
...mcsum_start; unsigned long age; u16 proto; u8 same_flow : 1; u8 encap_mark : 1; u8 csum_valid : 1; u8 csum_cnt : 3; u8 free : 2; u8 is_ipv6 : 1; u8 is_fou : 1; u8 is_atomic : 1; u8 recursive_counter : 4; __wsum csum; struct sk_buff *last; }; void dev_gro_receive(struct sk_buff *skb) { ... same_flow = NAPI_GRO_CB(skb)->same_flow; ... } Right before the "same_flow = ... ->same_flow;" statement is executed, a store is made to the bitfield at the end of a called function: NAPI_GRO_CB(skb)->same_flow = 1; The store is a byt...
2020 Apr 02
0
Stacktrace from 5.4.26 kernel.
...011 > [ 785.581251] Workqueue: ceph-msgr ceph_con_workfn [libceph] > [ 785.581252] Call Trace: > [ 785.581255] <IRQ> > [ 785.581271] dump_stack+0x6d/0x95 > [ 785.581275] warn_alloc+0xfe/0x160 > [ 785.581277] __alloc_pages_slowpath+0xe07/0xe40 > [ 785.581282] ? dev_gro_receive+0x626/0x690 > [ 785.581284] __alloc_pages_nodemask+0x2cd/0x320 > [ 785.581287] alloc_pages_current+0x6a/0xe0 > [ 785.581298] skb_page_frag_refill+0xd4/0x100 > [ 785.581302] try_fill_recv+0x3ed/0x740 [virtio_net] > [ 785.581304] virtnet_poll+0x31f/0x349 [virtio_net] >...
2020 Sep 29
5
[PATCH net v2] virtio-net: don't disable guest csum when disable LRO
From: Tonghao Zhang <xiangxia.m.yue at gmail.com> Open vSwitch and Linux bridge will disable LRO of the interface when this interface added to them. Now when disable the LRO, the virtio-net csum is disable too. That drops the forwarding performance. Fixes: a02e8964eaf9 ("virtio-net: ethtool configurable LRO") Cc: Michael S. Tsirkin <mst at redhat.com> Cc: Jason Wang
2020 Sep 29
5
[PATCH net v2] virtio-net: don't disable guest csum when disable LRO
From: Tonghao Zhang <xiangxia.m.yue at gmail.com> Open vSwitch and Linux bridge will disable LRO of the interface when this interface added to them. Now when disable the LRO, the virtio-net csum is disable too. That drops the forwarding performance. Fixes: a02e8964eaf9 ("virtio-net: ethtool configurable LRO") Cc: Michael S. Tsirkin <mst at redhat.com> Cc: Jason Wang