CMD_PORT_SETTINGS needs s/PORT/LPORT and get_port_settings() needs desc write-back

Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>
Acked-by: Jiri Pirko <jiri@resnulli.us>
convert rx_produce() over to new tlv style

Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>
Acked-by: Jiri Pirko <jiri@resnulli.us>
convert tx_consume() over to new tlv style

Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>
Acked-by: Jiri Pirko <jiri@resnulli.us>
cleanup some dead files and structures

tlv_parse.h replaced with rocker_tlv.h
rocker_dma.h replaced with rocker_desc.[ch]

Remove value[0] overlay in struct rocker_tlv: not needed with new TLV code.
Remove flat TLV_xxx enums as tvls are moving to netlink-style attribute lists.

Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>
Acked-by: Jiri Pirko <jiri@resnulli.us>
hard-code default world to l2l3 and remove device property 'world' since driver will set port mode

Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>
Acked-by: Jiri Pirko <jiri@resnulli.us>
Move port mode from register PORT_PHYS_MODE to CMD_PORT_SETTINGS

PORT_PHYS_MODE only allowed two modes for a port.  To allow for more modes in
the future, move port mode to CMD_PORT_SETTINGS.

Change CMD_PORT_SETTINGS set to set only the TLVs passed in.  Allows setting of
port mode, macaddr, or PHY settings (speed/duplex/autoneg) indendently.
CMD_PORT_SETTINGS get still returns all settings.

Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>
Acked-by: Jiri Pirko <jiri@resnulli.us>
fix ring index calculator

Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>
Acked-by: Jiri Pirko <jiri@resnulli.us>
remove MAX_SPEED port setting...it's not needed

Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>
Acked-by: Jiri Pirko <jiri@resnulli.us>
warn when writing head to current position (not moving head)

Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>
Acked-by: Jiri Pirko <jiri@resnulli.us>
nest get settings reply to match driver

Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>
Acked-by: Jiri Pirko <jiri@resnulli.us>