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

Ops #33

Open
wants to merge 9 commits into
base: ops_vi
Choose a base branch
from
Open

Ops #33

wants to merge 9 commits into from

Conversation

pbhide
Copy link
Collaborator

@pbhide pbhide commented Apr 22, 2016

This is only for review.. do not merge

srikrishnagopu and others added 2 commits April 15, 2016 14:50
- group reason codes to use reason-code bit mask
- add reason_code mask in the filter key
- simplify filter compare code
@srikrishnagopu
Copy link
Collaborator

it looks good.

@@ -446,12 +446,13 @@ switch_api_init_default_acl_entries(switch_device_t device)
acl_kvp[1].mask.u.mask = 0xFFFFFFFF;
memset(&action_params, 0, sizeof(switch_acl_action_params_t));
action_params.cpu_redirect.reason_code = 0;
switch_api_acl_rule_create(device, acl_handle, priority++, 2,
switch_api_acl_rule_create(device, acl_handle,
2000, /* keep priority lower than reason-codes */
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should have a predefined reason code for this in switch_hostif.c as well.

Parag Bhide and others added 7 commits April 25, 2016 08:07
- Fixes filter delete code
- Cleanup based on earlier comments, create filter match routines that can be
    shared between delete and lookup
- Add L3_REDIRECT reason code to identify packets sent to cpu using
    fib_redirect action
This allows switchapi logs to be integrated with customer's logging infra
Add apis to register external logger function.
* qos, nat and copp support from p4lang
* remove sflow header for cpu rx bound packets
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