Re: [PATCH net-next V2] tuntap: calculate rps hash only when needed

2016-04-28 Thread David Miller
From: Jason Wang Date: Mon, 25 Apr 2016 23:13:42 -0400 > There's no need to calculate rps hash if it was not enabled. So this > patch export rps_needed and check it before trying to get rps > hash. Tests (using pktgen to inject packets to guest) shows this can > improve pps

Re: [PATCH net-next V2] tuntap: calculate rps hash only when needed

2016-04-28 Thread David Miller
From: Jason Wang Date: Mon, 25 Apr 2016 23:13:42 -0400 > There's no need to calculate rps hash if it was not enabled. So this > patch export rps_needed and check it before trying to get rps > hash. Tests (using pktgen to inject packets to guest) shows this can > improve pps about 13% (when rps

[PATCH net-next V2] tuntap: calculate rps hash only when needed

2016-04-25 Thread Jason Wang
There's no need to calculate rps hash if it was not enabled. So this patch export rps_needed and check it before trying to get rps hash. Tests (using pktgen to inject packets to guest) shows this can improve pps about 13% (when rps is disabled). Before: ~115 pps After: ~130 pps Cc:

[PATCH net-next V2] tuntap: calculate rps hash only when needed

2016-04-25 Thread Jason Wang
There's no need to calculate rps hash if it was not enabled. So this patch export rps_needed and check it before trying to get rps hash. Tests (using pktgen to inject packets to guest) shows this can improve pps about 13% (when rps is disabled). Before: ~115 pps After: ~130 pps Cc: