Skip to content

Conversation

@shlomos
Copy link

@shlomos shlomos commented Dec 1, 2018

Signed-off-by: Shlomo Shenzis [email protected]

@tbarbette
Copy link
Collaborator

Thanks for the PR. But please describe what it does in the commit messages (and in the pull request if it's multiple commits).
About styling : do not replace spaces by tabs. And especially not in the same commit. Click uses generally 4 spaces and not tabs.

@shlomos shlomos force-pushed the master branch 3 times, most recently from 4117b6c to 8d685fc Compare December 2, 2018 21:59
FromHost initiates a tap device which is used to pass packets to the kernel
network stack handling. ToHost uses the tap's fd opened be FromHost.
As it was, when sending a new config to click having when the previous had a FromHost
element, would fail as the tap device is busy. Hotswapping support enables to send click
a hotconfig which forces the new FromHost(and ToHost) to take state from the swapped elements,
thus continuing proper packet handling.

When adding hotswap support to FromHost, ToHost must also support hotswap as it searches on initialization
an existing and initialized FromHost element to take it fd.

Signed-off-by: Shlomo Shenzis <[email protected]>
@shlomos
Copy link
Author

shlomos commented Dec 2, 2018

Done. Removed all changes to blanks and added a description in the commit message.

@shlomos
Copy link
Author

shlomos commented Dec 19, 2018

@tbarbette: Anything missing?

@tbarbette
Copy link
Collaborator

I do not handle non-DPDK related merges to mainline. If you feel like it you can open a PR to FastClick, I would merge it.

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.

2 participants