Re: tools: selftests: psock_tpacket: skip un-supported tpacket_v3 test

2017-09-23 Thread David Miller
From: Fathi Boudra Date: Sat, 23 Sep 2017 14:27:15 +0300 > On 23 September 2017 at 04:20, David Miller wrote: >> From: Orson Zhai >> Date: Fri, 22 Sep 2017 18:17:17 +0800 >> >>> The TPACKET_V3 test of PACKET_TX_RING will fail with kernel version >>> lower than v4.11. Supported code of tx ring w

Re: tools: selftests: psock_tpacket: skip un-supported tpacket_v3 test

2017-09-23 Thread Fathi Boudra
On 23 September 2017 at 04:20, David Miller wrote: > From: Orson Zhai > Date: Fri, 22 Sep 2017 18:17:17 +0800 > >> The TPACKET_V3 test of PACKET_TX_RING will fail with kernel version >> lower than v4.11. Supported code of tx ring was add with commit id >> <7f953ab2ba46: af_packet: TX_RING support

Re: tools: selftests: psock_tpacket: skip un-supported tpacket_v3 test

2017-09-22 Thread David Miller
From: Orson Zhai Date: Fri, 22 Sep 2017 18:17:17 +0800 > The TPACKET_V3 test of PACKET_TX_RING will fail with kernel version > lower than v4.11. Supported code of tx ring was add with commit id > <7f953ab2ba46: af_packet: TX_RING support for TPACKET_V3> at Jan. 3 > of 2017. > > So skip this item

tools: selftests: psock_tpacket: skip un-supported tpacket_v3 test

2017-09-22 Thread Orson Zhai
The TPACKET_V3 test of PACKET_TX_RING will fail with kernel version lower than v4.11. Supported code of tx ring was add with commit id <7f953ab2ba46: af_packet: TX_RING support for TPACKET_V3> at Jan. 3 of 2017. So skip this item test instead of reporting failing for old kernels. Signed-off-by: O

[RFC] tools: selftests: psock_tpacket: skip un-supported tpacket_v3 test

2017-08-31 Thread Orson Zhai
The TPACKET_V3 test of PACKET_TX_RING will fail with kernel version lower than v4.11. Supported code of tx ring was add with commit id <7f953ab2ba46: af_packet: TX_RING support for TPACKET_V3> at Jan. 3 of 2017. So skip this item test instead of reporting failing for old kernels. Signed-off-by: O