Skip to content
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

odhcp6c: add -K option to set skb priority #74

Closed
wants to merge 1 commit into from

Conversation

pacien
Copy link
Contributor

@pacien pacien commented Apr 9, 2023

This adds a command line option (-K) to set the skb priority on
outgoing packets.

This makes it straightforward to set some VLAN priority for DHCP
requests through a simple egress qos map. (Avoiding the need for
firewall matching and marking through iptables, which prevents using
flow offloading).

(Such priority tag is a hard requirement for some ISPs, such as Orange
in France).

Signed-off-by: Pacien TRAN-GIRARD pacien.trangirard@pacien.net

@pacien pacien changed the title odhcpv6: add -K option to set skb priority odhcp6c: add -K option to set skb priority Apr 9, 2023
@pacien pacien force-pushed the skb_prio branch 5 times, most recently from ae88c5e to 88e55dd Compare April 10, 2023 23:05
This adds a command line option (-K) to set the packet kernel
priority.

This makes it straightforward to set some VLAN priority for DHCP
requests through an egress qos map. (Avoiding the need for firewall
matching and marking through iptables, which prevents using flow
offloading).

(Such priority tag is a hard requirement for some ISPs, such as Orange
in France).

Signed-off-by: Pacien TRAN-GIRARD <pacien.trangirard@pacien.net>
@dedeckeh
Copy link
Contributor

dedeckeh commented May 7, 2023

Patch merged (bcd2836); thx

@dedeckeh dedeckeh closed this May 7, 2023
Ansuel pushed a commit to pacien/openwrt that referenced this pull request May 12, 2023
Allowing the (kernel) packet priority to be set through UCI.

This makes it straightforward to set some VLAN priority for DHCP
requests through a simple egress qos map. (Avoiding the need for
firewall matching and marking through iptables, which prevents using
flow offloading).

(Such priority tag is a hard requirement for some ISPs, such as Orange
in France).

Depends on: openwrt/odhcp6c#74

Signed-off-by: Pacien TRAN-GIRARD <pacien.trangirard@pacien.net>
Vladdrako pushed a commit to Vladdrako/openwrt that referenced this pull request May 12, 2023
Allowing the (kernel) packet priority to be set through UCI.

This makes it straightforward to set some VLAN priority for DHCP
requests through a simple egress qos map. (Avoiding the need for
firewall matching and marking through iptables, which prevents using
flow offloading).

(Such priority tag is a hard requirement for some ISPs, such as Orange
in France).

Depends on: openwrt/odhcp6c#74

Signed-off-by: Pacien TRAN-GIRARD <pacien.trangirard@pacien.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants