netlink/nl
Parav Pandit 332a6983d9 Add devlink commands for devlink device information
This patch adds very basic support for getting information about
devlink devices which are typically PCI devices which exposes Networking
switch or legacy devices.

This information includes bus name, device name and eswitch modes.
This is done through devlink family of commands via generic netlink
sockets provided by Linux kernel.

DevlinkDevice represents a devlink device which is identified by bus
name and device name (unlike interface index for netdevices).
It contains the DevlinkDevAttrs device attributes.
Currently only eswitch attributes are queried. In future more attributes
such as port, shared buffer, traffic class will be added.

Signed-off-by: Parav Pandit <parav@mellanox.com>
2018-12-19 14:37:14 -08:00
..
addr_linux_test.go replace syscall with golang.org/x/sys/unix 2017-10-26 09:45:08 -07:00
addr_linux.go replace syscall with golang.org/x/sys/unix 2017-10-26 09:45:08 -07:00
bridge_linux_test.go Add bridge vlan support 2017-06-13 11:04:51 -07:00
bridge_linux.go fix: BRIDGE_FLAGS_* constants off-by-one 2018-09-10 11:41:28 -07:00
conntrack_linux.go Read conntrack flow statistics 2018-03-16 14:29:24 -07:00
devlink_linux.go Add devlink commands for devlink device information 2018-12-19 14:37:14 -08:00
genetlink_linux.go Add support for GPRS Tunnelling Protocol(GTP) 2017-05-06 23:07:19 -07:00
link_linux_test.go add SetVfHardwareAddr and SetVfVlan to link 2016-02-15 14:31:32 -08:00
link_linux.go Add support for setting InfininBand Node and Port GUID of a VF 2018-03-26 21:49:05 -07:00
mpls_linux.go support MPLS 2017-02-20 12:07:19 -08:00
nl_linux_test.go replace syscall with golang.org/x/sys/unix 2017-10-26 09:45:08 -07:00
nl_linux.go Simplify code 2018-10-30 10:31:46 -07:00
nl_unspecified.go Fix compilation errors for non linux platforms. 2017-02-20 12:00:54 -08:00
rdma_link_linux.go Add an API to rename rdma device name 2018-10-29 12:38:29 -07:00
route_linux_test.go replace syscall with golang.org/x/sys/unix 2017-10-26 09:45:08 -07:00
route_linux.go Add network namespace ID management. 2018-07-19 10:40:23 -07:00
seg6_linux.go Make go vet happier 2018-11-08 14:21:39 -08:00
seg6local_linux.go Support LWTUNNEL_ENCAP_SEG6_LOCAL (including tests) 2018-05-08 09:50:31 -07:00
syscall.go Support LWTUNNEL_ENCAP_SEG6_LOCAL (including tests) 2018-05-08 09:50:31 -07:00
tc_linux_test.go Add TestTcHtbCoptDeserializeSerialize 2015-09-11 17:32:54 -07:00
tc_linux.go Implementation of HFSC 2018-07-16 12:14:02 -07:00
xfrm_linux_test.go Move all low level calls into nl subpackage 2014-09-18 19:04:48 -07:00
xfrm_linux.go Add XfrmMonitor 2017-02-02 12:58:44 -08:00
xfrm_monitor_linux_test.go Add XfrmMonitor 2017-02-02 12:58:44 -08:00
xfrm_monitor_linux.go Add XfrmMonitor 2017-02-02 12:58:44 -08:00
xfrm_policy_linux_test.go Move all low level calls into nl subpackage 2014-09-18 19:04:48 -07:00
xfrm_policy_linux.go gofmt: style violations have crept up 2014-10-28 17:22:52 -07:00
xfrm_state_linux_test.go Add XfrmAllocSpi 2017-02-02 13:02:12 -08:00
xfrm_state_linux.go Add support of ESN 2017-02-03 08:10:37 -08:00