John Daley 2c06cebeb9 net/enic: cap Rx packet processing to end of desc ring
In the default Rx handler stop processing packets at the end of
the completion ring so that wrapping doesn't have to be checked
in the inner while loop.

Also, check the color bit in the completion without using a conditional.

Signed-off-by: John Daley <johndale@cisco.com>
Reviewed-by: Hyong Youb Kim <hyonkim@cisco.com>
2018-07-03 01:54:27 +02:00
..
2018-06-14 19:27:50 +02:00
2018-05-17 19:06:29 +02:00
2018-06-14 19:27:50 +02:00
2018-05-14 22:31:53 +01:00
2018-07-03 01:35:58 +02:00
2018-06-14 19:27:50 +02:00
2018-06-14 19:27:50 +02:00
2018-06-14 19:27:50 +02:00
2018-06-14 19:27:50 +02:00