8000 ipoe: add support of ipoe without ipoe interface by louis-6wind · Pull Request #89 · accel-ppp/accel-ppp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ipoe: add support of ipoe without ipoe interface #89

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

louis-6wind
Copy link
Contributor

Add an option to use Accel-PPP server with IPoE but without the 'ipoe'
kernel module interface.

pguibert6WIND and others added 2 commits June 26, 2023 16:07
Add an option to use Accel-PPP server with IPoE but without the 'ipoe'
kernel module interface.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Add ipoe-interface option documentation

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
When no IPOE interface is configured, "accel-cmd show sessions" does not
display any "ifname".

Display the server interface name instead in such a case.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
IPOE usually creates ipoeX interfaces and sets them into the ap_session
vrf_name VRF. When the configuration requires no creation of such
interface, the last step fails.

Skip the setting of VRF when the interface is not set, which is the case
when ipoe-interface=0 is configured.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Move interface configuration out of ap_session_accounting_started in
order to prepare the next commit. Only a cosmetic change.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
IPOE usually creates ipoeX interfaces and configure it. When the
configuration requires no creation of such interface, the last step
fails.

Skip the configuration of unset interfaces which normally happens when
ipoe-interface=0 is configured.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
@DmitriyEshenko
Copy link
Member

It is pretty strange feature that destroy so many functionality like shaper and etc. Could you plese describy why you exactly need IPoE without any interface?

@louis-6wind
Copy link
Contributor Author

It is pretty strange feature that destroy so many functionality like shaper and etc. Could you plese describy why you exactly need IPoE without any interface?

Sorry for my late reply. The main reason for that is the Linux kernel does not handle efficiently a lot of interfaces. Over 1000 interfaces, some latency is experienced. There are some linked list that handles the net devices in the code.
There was a patch to address the issue in the past
torvalds/linux@710585d
but the issue reappears someway.

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.

3 participants
0