Re: [PATCH net-next 8/8] liquidio: added support for ethtool --set-ring feature

2017-08-13 Thread David Miller
From: Felix Manlunas Date: Fri, 11 Aug 2017 18:29:30 -0700 > + if ((ering->rx_mini_pending) || (ering->rx_jumbo_pending)) > + return -EINVAL; Lots of unnecessary parenthesis, please remove. > + if ((rx_count == rx_count_old) && (tx_count == tx_count_old)) > + ret

[PATCH net-next 8/8] liquidio: added support for ethtool --set-ring feature

2017-08-11 Thread Felix Manlunas
From: Intiyaz Basha added support for ethtool --set-ring feature Signed-off-by: Intiyaz Basha Signed-off-by: Felix Manlunas --- drivers/net/ethernet/cavium/liquidio/lio_ethtool.c | 131 + drivers/net/ethernet/cavium/liquidio/lio_main.c| 6 +- drivers/net/ethernet/cav