rocker: have rxed packet data separate from desc

It is common on rx path to have the packet data in separate mem not
mixes with other rx info. The reason is that driver can map skb->data
directly. So change this to behave this way.

Note that driver must set-up RX desc by mapped addr info first.

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>
rocker: zero ring base address on reset

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>
rocker: make ring ctrl register write only

Makes no sense to read it

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>
rocker: allow software to perform ring reset on demand

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>
rocker: add missing braces to ROCKER_MSIX_VEC_[RT]X

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>
rocker: allow to build without DEBUG_ROCKER enabled

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>
rocker: fix MSI-X vector count macro

Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>
rocker: set vector for producer rings

This is needed when setting credits and desc_ring_ret_credits() returns
true.

Now all seems working as expected. Here is output of simple iperf test:
------------------------------------------------------------
Client connecting to 192.168.34.2, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[  3] local 192.168.34.1 port 39715 connected with 192.168.34.2 port
5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec   166 MBytes   139 Mbits/sec

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>
rocker: updates to reg_guide

- remove legacy interrupts
- add MSI-X interrupts
- adjust BAR sizes and add BAR1 for MSI-X tables
- add decr credit mechanism
- move desc ring ctrl regs to 0x1000
- add desc ctrl reset bit

Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>