-
Notifications
You must be signed in to change notification settings - Fork 748
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
initial IPSet support #408
Conversation
ipset control implemented
incorporate upstream changes
… on !linux platforms
Ok will do. for the reason I do not fully understand I did not realise this functionality is already there. |
…-linux systems. Note: compilable, NOT working!
improvement: brief ipset list
@onokonem @corny
Thank you. |
RDMA subsystem can be running in shared or exclusive mode with regards to sharing RDMA device sharing among multiple network namespaces. Add and API to query such mode of kernel similar to iproute2 command $ rdma system show netns Signed-off-by: Parav Pandit <[email protected]>
Add an API to change the RDMA subsystem network namespace mode as either shared or exclusive similar to $ rdma system set netns { shared | exclusive } Signed-off-by: Parav Pandit <[email protected]>
This deserializes the tx queue, and rx queue count on link deserialization. We already supported it on serialization. Signed-off-by: Sargun Dhillon <[email protected]>
In order to support BPF_SYSCALL `PROG_GET_FD_BY_ID` -- the ID of the eBPF must be available. Add the additional enumerations and handle them when parsing the BPF filter.
This change adds support for setting VLAN QoS (priority) field for the SR-IOV Virtual Function links.
iproute2's own netlink library asserts that the sockaddr sender pid has to be the one of the kernel [0]. It also doesn't bail out on pid mismatch but only skips the message instead. We've seen cases where the latter had a pid 0; in such case we should skip to the next nl message instead of hard bail out. [0] https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/tree/lib/libnetlink.c rtnl_dump_filter_l(), __rtnl_talk_iov() Signed-off-by: Daniel Borkmann <[email protected]>
Signed-off-by: bingshen.wbs <[email protected]>
Today netlink package supports Get/Set of a VF's max TX rate via IFLA_VF_TX_RATE netlink attribute. This patch add support to Get/Set of a VFs min and max TX rate via IFLA_VF_RATE netlink attribute. - Add support to set min/max tx rate for VF via IFLA_VF_RATE - Added IFLA_VF_RATE min/max tx rate attributes to netlink.VfInfo including parsing support in netlink.parseVfInfo() NOTE: According to [1] IFLA_VF_RATE takes precedence over IFLA_VF_TX_RATE. Dealing with the co-existance of these netlink attributes is left for the user to handle. [1]https://lists.openwall.net/netdev/2014/05/22/42
AddrReplace was missing, could not compile on OSX
- Add a new Link type, IPoIB, that exposes the following IPoIB attributes: * IFLA_IPOIB_PKEY * IFLA_IPOIB_MODE * IFLA_IPOIB_UMCAST - Suppport Deserialize for IPoIB link attributes in LinkDeserialize() - Support IPoIB attributes in LinkAdd()
Signed-off-by: Naiming Shen <[email protected]>
- replace following values to unix.* AF_MPLS, RTA_NEWDST, RTA_ENCAP_TYPE, RTA_ENCAP
When subscribing to neigh updates, the updates for all neigh protocol families are received. However when listExisting is set, the request is made with AF_UNSPEC family, this request does not include AF_BRIDGE entries. This patch add a second request for AF_BRIDGE entries. Add test for existing AF_BRIDGE entry and make expectNeighUpdate take a slice of expected updates Creates a VXLAN interface for this test as its AF_BRIDGE entries looks a lot like usual ones Also add support for latest (2014+) neighbour attributes NDA_MASTER was added back in 2014, it indicates whether a neigh entry is linked to a master interface and index of this interface. The other entries, namely NDA_LINK_NETNSID and NDA_SRC_VNI were added later and will need extra handling. Signed-off-by: Nicolas Belouin <[email protected]>
Can you rebase that on top of current master? |
Ups. This one has to be closed... |
of course I can rebase this on top of current master we are using this functionality so we would be happy to get this merged to the upstream |
for the reason I do not fully understand I did not saw this comment before yes this sounds like a plan I'm working on some addition to the ipset support right now on our side so I'll take the steps proposed as part of this activity. |
Signed-off-by: Tobias Klauser <[email protected]>
RDMA subsystem can be running in shared or exclusive mode with regards to sharing RDMA device sharing among multiple network namespaces. Add and API to query such mode of kernel similar to iproute2 command $ rdma system show netns Signed-off-by: Parav Pandit <[email protected]>
Add an API to change the RDMA subsystem network namespace mode as either shared or exclusive similar to $ rdma system set netns { shared | exclusive } Signed-off-by: Parav Pandit <[email protected]>
Add an API to change net namespace of RDMA device similar to $ rdma dev set [DEV] netns NSNAME Signed-off-by: Parav Pandit <[email protected]>
iproute2's own netlink library asserts that the sockaddr sender pid has to be the one of the kernel [0]. It also doesn't bail out on pid mismatch but only skips the message instead. We've seen cases where the latter had a pid 0; in such case we should skip to the next nl message instead of hard bail out. [0] https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/tree/lib/libnetlink.c rtnl_dump_filter_l(), __rtnl_talk_iov() Signed-off-by: Daniel Borkmann <[email protected]>
Today netlink package supports Get/Set of a VF's max TX rate via IFLA_VF_TX_RATE netlink attribute. This patch add support to Get/Set of a VFs min and max TX rate via IFLA_VF_RATE netlink attribute. - Add support to set min/max tx rate for VF via IFLA_VF_RATE - Added IFLA_VF_RATE min/max tx rate attributes to netlink.VfInfo including parsing support in netlink.parseVfInfo() NOTE: According to [1] IFLA_VF_RATE takes precedence over IFLA_VF_TX_RATE. Dealing with the co-existance of these netlink attributes is left for the user to handle. [1]https://lists.openwall.net/netdev/2014/05/22/42
- Add a new Link type, IPoIB, that exposes the following IPoIB attributes: * IFLA_IPOIB_PKEY * IFLA_IPOIB_MODE * IFLA_IPOIB_UMCAST - Suppport Deserialize for IPoIB link attributes in LinkDeserialize() - Support IPoIB attributes in LinkAdd()
Tests show that rebase was probably not successful. |
No description provided.