|
From: Yan, L. (N. - CN/Hangzhou) <lim...@ns...> - 2013-09-27 06:34:44
|
Hi, When I use igb driver to receive Ethernet packets, I found even if I send packet with only 1000 bytes length(MTU=1500), the received packets are non-linear. So I have to use skb_linearize to make it linear again in my module. Skb_linearize is a complicated process and there may be memory copying there so I think this will decrease the performance much. I searched network and found there's a macro 'CONFIG_IGB_DISABLE_PACKET_SPLIT' in igb driver that can be defined to disable the non-linear feature. Could anybody give comments for this? If I need linear buffer for received packets, shall I always define ' CONFIG_IGB_DISABLE_PACKET_SPLIT' ? Will this definition make my performance higher in my case? # ethtool -i bi0 driver: igb version: 2.4.12 firmware-version: 2.1-3 |