Stephen Hemminger
380656f8c4
update headers to 4.8-rc2 net-next
2016-08-25 08:49:07 -07:00
Stephen Hemminger
9f9e2bb88e
update BPF headers
2016-08-25 08:46:25 -07:00
Sabrina Dubroca
2b68cb77cd
libgenl: introduce genl_init_handle
...
All users of genl have the same code to open a genl socket and resolve
the family for their specific protocol. Introduce a helper to initialize
the handle, and use it in all the genl code.
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
2016-08-17 13:59:21 -07:00
Stephen Hemminger
80c4bc6a3e
Merge branch 'master' into net-next
2016-08-08 09:27:28 -07:00
Stephen Hemminger
4ecc96f8b6
v4.7.0
2016-08-08 08:58:39 -07:00
Stephen Hemminger
dc00db9e84
update kernel headers
2016-08-08 08:51:22 -07:00
Stephen Hemminger
ba91cd9d86
include: update net-next XDP headers
2016-07-20 12:24:59 -07:00
Stephen Hemminger
a951428058
update headers files to current net-next
2016-07-15 11:55:14 -07:00
Stephen Hemminger
ba5783cbf3
Merge branch 'master' into net-next
2016-07-15 11:49:41 -07:00
Eli Cohen
d91fb3f4c7
Add support for configuring Infiniband GUIDs
...
Add two NLA's that allow configuration of Infiniband node or port GUIDs
by referencing the IPoIB net device set over the physical function. The
format to be used is as follows:
ip link set dev ib0 vf 0 node_guid 00:02:c9:03:00:21:6e:70
ip link set dev ib0 vf 0 port_guid 00:02:c9:03:00:21:6e:78
Signed-off-by: Eli Cohen <eli@mellanox.com>
2016-07-15 11:25:36 -07:00
Stephen Hemminger
4824bb4151
update kernel header (4.7 net-next)
2016-07-06 21:14:57 -07:00
Stephen Hemminger
3b6d9ab2e2
update kernel headers (net-next)
2016-06-21 11:29:20 -07:00
Stephen Hemminger
7d057fc292
Merge branch 'master' into net-next
2016-06-21 11:28:32 -07:00
Stephen Hemminger
5b26063c25
if: add missing kernel headers
...
Add kernel headers for all headers that included by current source.
2016-06-21 11:24:52 -07:00
Stephen Hemminger
ec09118749
fib_rules.h update header file
...
Add new L3MDEV (clone from net-next)
2016-06-14 16:33:48 -07:00
Stephen Hemminger
c68780826d
minor header update from net-next
2016-06-08 09:39:03 -07:00
Sabrina Dubroca
609640f5f0
utils: provide get_hex to read a hex digit from a char
...
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Acked-by: Phil Sutter <phil@nwl.cc>
2016-06-08 09:30:41 -07:00
Sabrina Dubroca
9f7401fa49
utils: add get_be{16, 32, 64}, use them where possible
...
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Acked-by: Phil Sutter <phil@nwl.cc>
2016-06-08 09:30:37 -07:00
Sabrina Dubroca
89ae502056
utils: make hexstring_a2n provide the number of hex digits parsed
...
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Acked-by: Phil Sutter <phil@nwl.cc>
2016-06-08 09:30:31 -07:00
Stephen Hemminger
de70bd2f6b
tc: update headers for TCA_POLICE
...
These are from linux-net but will be in next rc.
2016-05-31 13:02:28 -07:00
Stephen Hemminger
5c33c95924
add if_macsec header
...
Current version from 4.7-pre-rc1
2016-05-23 16:10:43 -07:00
Stephen Hemminger
0a99e7badf
update kernel headers (from 4.7-rc1)
2016-05-23 09:06:11 -07:00
Stephen Hemminger
1d63d8c606
Merge branch 'master' into net-next
2016-05-18 11:57:28 -07:00
Stephen Hemminger
bbe2abdf3d
vv4.6.0
2016-05-18 11:56:02 -07:00
David Ahern
b0a4ce620e
ip link: Add support for kernel side filtering
...
Kernel gained support for filtering link dumps with commit dc599f76c22b
("net: Add support for filtering link dump by master device and kind").
Add support to ip link command. If a user passes master device or
kind to ip link command they are added to the link dump request message.
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
2016-05-18 11:52:14 -07:00
Stephen Hemminger
866f6d77bf
Merge branch 'master' into net-next
2016-05-16 11:20:40 -07:00
Stephen Hemminger
29b7968926
add tc_ife.h
2016-05-16 11:13:05 -07:00
Stephen Hemminger
31ce6e0101
update kernel headers from net-next
...
Take sanitized headers for davem net-next
2016-05-13 14:56:31 -07:00
Stephen Hemminger
0c9ffc0b0a
devlink: update uapi header
...
Get santized version from net-next
2016-05-13 14:49:40 -07:00
Stephen Hemminger
7fd86a9676
Merge branch 'master' into net-next
2016-05-13 14:44:48 -07:00
Stephen Hemminger
8a781d7e25
update kernel headers to 4.6-rc6
...
Close to final upstream headers
2016-05-13 14:41:45 -07:00
Stephen Hemminger
7aca60c0eb
Revert "devlink: implement shared buffer support"
...
This reverts commit b56700bf8a .
2016-05-13 14:38:47 -07:00
Stephen Hemminger
c3d25ec392
Revert "devlink: implement shared buffer occupancy control"
...
This reverts commit a60ebcb6f3 .
2016-05-13 14:38:38 -07:00
Stephen Hemminger
b76b93ddac
update kernel headers from net-next
2016-04-24 22:30:46 -07:00
Stephen Hemminger
32c0b9b7a8
update kernel headers from net-next
2016-04-22 10:01:12 -07:00
Stephen Hemminger
8b5be9ecff
update inet_diag.h header
2016-04-19 08:06:11 -07:00
Stephen Hemminger
6065805922
Merge branch 'master' into net-next
2016-04-19 08:01:55 -07:00
Jiri Pirko
a60ebcb6f3
devlink: implement shared buffer occupancy control
...
Use kernel shared buffer occupancy control commands to make snapshot and
clear occupancy watermarks. Also, allow to show occupancy values in a
nice way.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
2016-04-19 08:01:05 -07:00
Jiri Pirko
b56700bf8a
devlink: implement shared buffer support
...
Implement kernel devlink shared buffer interface. Introduce new object
"sb" and allow to browse the shared buffer parameters and also change
configuration.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
2016-04-19 08:01:05 -07:00
Jiri Pirko
ebaf76b55e
list: add list_add_tail helper
...
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
2016-04-19 08:01:05 -07:00
Jiri Pirko
f1239ca1f9
list: add list_for_each_entry_reverse macro
...
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
2016-04-19 08:01:05 -07:00
Stephen Hemminger
39afc4b08e
Merge branch 'master' into net-next
2016-04-11 22:15:41 +00:00
Daniel Borkmann
4dd3f50af4
tc, bpf: add support for map pre/allocation
...
Follow-up to kernel commit 6c9059817432 ("bpf: pre-allocate hash map
elements"). Add flags support, so that we can pass in BPF_F_NO_PREALLOC
flag for disallowing preallocation. Update examples accordingly and also
remove the BPF_* map helper macros from them as they were not very useful.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2016-04-11 21:54:47 +00:00
Daniel Borkmann
0395711c52
tc, bpf: add new csum and tunnel signatures
...
Add new signatures for BPF_FUNC_csum_diff, BPF_FUNC_skb_get_tunnel_opt
and BPF_FUNC_skb_set_tunnel_opt.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2016-04-11 21:53:58 +00:00
Stephen Hemminger
bc9fb25788
update kernel headers
...
Headers up to date with 4.6-net-next
2016-04-11 13:44:50 -07:00
Stephen Hemminger
6268b08c13
update kernel headers
...
Update from 4.6-rc3
2016-04-11 13:40:40 -07:00
Jiri Pirko
a3c4b484a1
add devlink tool
...
Add new tool called devlink which is userspace counterpart of devlink
Netlink socket.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
2016-03-27 10:57:15 -07:00
Jiri Pirko
4952b45946
include: add linked list implementation from kernel
...
Rename hlist.h to list.h while adding it to be aligned with kernel
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
2016-03-27 10:56:11 -07:00
Stephen Hemminger
e9e9365b56
scrub out whitespace issues
...
Run script that removes trailing whitespace everywhere.
2016-03-27 10:50:14 -07:00
Phil Sutter
7faf1588a7
lib/utils: introduce rt_addr_n2a_rta()
...
This simple macro eases calling rt_addr_n2a() with data from an rt_attr
pointer.
Signed-off-by: Phil Sutter <phil@nwl.cc>
2016-03-27 10:37:35 -07:00