use ifiq_input and if_rxr_livelocked in ix(4)

2019-02-28 Thread David Gwynne
using ifiq_input lets ix check the return value from that function so it can call if_rxr_livelocked as needed. calling if_rxr_livelocked will make it shrinkthe rx rings before ifiq_input has to start dropping packets. the idea being that dropping in hardware lets the cpu spend more time

if_rxr_livelocked

2017-11-14 Thread David Gwynne
ot;unsigned int max" .Ft void .Fn if_rxr_put "struct if_rxring *rxr" "unsigned int n" +.Ft void +.Fn if_rxr_livelocked "struct if_rxring *rxr" .Ft unsigned int .Fn if_rxr_inuse "struct if_rxring *rxr" +.Ft unsigned int +.Fn if_rxr_cwm "struct if_