[Devel] [PATCH rh7 00/11] Backort of "Handle multiple received packets at each stage"
Andrey Ryabinin
aryabinin at virtuozzo.com
Wed Sep 12 17:52:59 MSK 2018
On 09/12/2018 12:59 AM, Alexey Kuznetsov wrote:
> Hello!
>
> The support looks very simple. I think we should implement it at least
> for ixgbe used at our ssd-only high perf cluster p[4-9].perf.sw.ru
> This way we can estimate real advantages.
>
It looks simple of sfc driver, but adding support for ixgbe doesn't look simple,
at least for me. It could be because I know almost nothing about network code.
Unlike sfc, ixgbe doesn't use netif_recieve_skb(). It uses napi_gro_receive() which sometimes
(depends on gro_result) calls netif_receive_skb_internal() (which is the same as netif_recieve_skb())
So how it should be done? Just add napi_gro_receive_list() which calls napi_gro_recive() in list_for_each_entry() {} loop?
ixgbe_rx_skb() will put skbs to the list instead of doing napi_gro_receive(), and call napi_gro_receive_list() from ixgbe_poll().
More information about the Devel
mailing list