ncsi: implement the main function

This commit adds the functionality to
call the specific function depends on the
command given.

eg: Force a channel to be used.
ncsi-netlink --set -x 2 -p 0 -c 0
x: Interface Index
p: Package number
c: channel number

eg: Gets the info of a given interface
ncsi-netlink --info -x 2 -p 0
x: Interface Index
p: Package number

eg: Clear all the package/channel
ncsi-netlink --clear -x 2
x: Interface Index

This commit also removes the unnecessary
console messages.

Change-Id: I682f91452a3ab6362be0de8ac2658ffc9e160c29
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
3 files changed