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

R2.0 #80

Open
wants to merge 35 commits into
base: R2.1
Choose a base branch
from
Open

R2.0 #80

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
f889454
Adding R2.0 to CI
vmahuli Nov 17, 2014
6b86e4a
Change the location from where we try to pull the outer headers
anandhk-juniper Nov 18, 2014
02b3e94
Fix a double free error in vr_message_process_response
Nov 17, 2014
42c266a
Layer 3 unicast nexthops should update layer 2 protocol fields only if
anandhk-juniper Nov 20, 2014
af29e3c
Fixes neighbor solicit issue in ubuntu/Centos
prabix76 Nov 21, 2014
9ae3859
Merge "Layer 3 unicast nexthops should update layer 2 protocol fields…
Nov 24, 2014
1de626d
Merge "Fix a double free error in vr_message_process_response" into R2.0
Nov 25, 2014
2fa4a16
Bug:#1391062 Marking the vp_type alwasy with network protocol and int…
divakardhar Nov 19, 2014
ba3d3fe
closes-bug:1400803. Using L2 broadcast route NH to flood the ARP requ…
divakardhar Dec 9, 2014
6cbce29
Do not destroy vif's napi context, if it was not initialised during a…
anandhk-juniper Dec 8, 2014
aeeada8
Cache more than one packet in the flow hold queue (3 to be precise)
anandhk-juniper Nov 17, 2014
a611cb7
Cleanup the packet pointer from packet node the moment we start using it
anandhk-juniper Dec 11, 2014
6f38556
bzero the memory used to store prefixes during route dump
anandhk-juniper Dec 18, 2014
258d5ed
- Enable vrouter performance optimizations on Centos 6.5.
srajag Feb 24, 2015
251eb2b
Allocate hold array when the action is set as 'hold' in the flow tabl…
anandhk-juniper Feb 26, 2015
daa2103
Update skb_get_rxhash to handle rhel70
npchandran Mar 12, 2015
69004c3
closes-bug:#1433996 In the vxlan utility sending Sandesh requirest ag…
divakardhar Mar 25, 2015
2bd8ce5
Merge "Update skb_get_rxhash to handle rhel70" into R2.0
Mar 27, 2015
225b4e7
Free the flow metadata post a flush
anandhk-juniper Mar 26, 2015
9dada8a
Pass link-local service packets to the physical interface as-is inste…
srajag Mar 30, 2015
3a8819e
Merge "Free the flow metadata post a flush" into R2.0
Apr 4, 2015
a2fde20
Return error to agent if an entry already existed in the flow table
anandhk-juniper Apr 3, 2015
0d1e812
Fix ipv6 route table base calculation
anandhk-juniper Apr 13, 2015
0fc4a0b
modify vr_compat.h to compile on centos 6.5 and later
flavio-fernandes Nov 26, 2014
930f9fa
Merge "modify vr_compat.h to compile on centos 6.5 and later" into R2.0
Apr 20, 2015
e937aa9
Free the defer data in case of errors
anandhk-juniper Apr 20, 2015
3464080
New MplsoverUdp destination port
divakardhar Mar 30, 2015
7a5ad8a
Extend the flow hold count per-cpu statistics to 128 cpus
anandhk-juniper May 26, 2015
6f2edd7
Pull a transport header only if one is present
anandhk-juniper Jun 3, 2015
3749d19
Null check before freeing stats memory
divakardhar Jul 17, 2015
aecc22e
Increasing link local port range
divakardhar Sep 9, 2015
2fce7d9
Fix vrouter compilation issues for >3.15 kernels
numansiddique Oct 21, 2014
61d6633
Merge "Extend the flow hold count per-cpu statistics to 128 cpus" int…
Oct 3, 2015
582636a
Merge "Fix vrouter compilation issues for >3.15 kernels" into R2.0
Oct 3, 2015
a2031a2
fix for opengrok host with 3.19.0-25-generic
vmahuli Nov 13, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitreview
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
host=review.opencontrail.org
port=29418
project=Juniper/contrail-vrouter.git
defaultbranch=master
defaultbranch=R2.0
16 changes: 5 additions & 11 deletions dp-core/vr_bridge.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,19 @@ struct vr_bridge_entry {
unsigned int vr_bridge_entries = VR_DEF_BRIDGE_ENTRIES;
unsigned int vr_bridge_oentries = VR_DEF_BRIDGE_OENTRIES;
static vr_htable_t vn_rtable;

extern int vr_reach_l3_hdr(struct vr_packet *, unsigned short *);
char vr_bcast_mac[] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff};

struct vr_nexthop *(*vr_bridge_lookup)(unsigned int, struct vr_route_req *,
struct vr_packet *);
struct vr_bridge_entry *vr_find_bridge_entry(struct vr_bridge_entry_key *);
int bridge_table_init(struct vr_rtable *, struct rtable_fspec *);
void bridge_table_deinit(struct vr_rtable *, struct rtable_fspec *, bool);
unsigned int vr_l2_input(unsigned short, struct vr_packet *,
struct vr_forwarding_md *);
struct vr_forwarding_md *);
struct vr_bridge_entry *vr_find_bridge_entry(struct vr_bridge_entry_key *);
struct vr_bridge_entry *vr_find_free_bridge_entry(unsigned int, char *);


static bool
bridge_entry_valid(vr_htable_t htable, vr_hentry_t hentry,
unsigned int index)
Expand Down Expand Up @@ -373,20 +373,14 @@ vr_bridge_input(struct vrouter *router, unsigned short vrf,
struct vr_route_req rt;
struct vr_nexthop *nh;
struct vr_forwarding_md cmd;
char bcast_mac[] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
char *mac;

/* First mark the packet as L2 */
pkt->vp_type = VP_TYPE_L2;

mac = (char *)pkt_data(pkt);
rt.rtr_req.rtr_mac_size = VR_ETHER_ALEN;
rt.rtr_req.rtr_mac =(int8_t *) mac;
/* If multicast L2 packet, use broadcast composite nexthop */
if (IS_MAC_BMCAST(mac)) {
rt.rtr_req.rtr_mac = (int8_t *)bcast_mac;
pkt->vp_flags |= VP_FLAG_MULTICAST;
}
if (IS_MAC_BMCAST(mac))
rt.rtr_req.rtr_mac = (int8_t *)vr_bcast_mac;

rt.rtr_req.rtr_vrf_id = vrf;
nh = vr_bridge_lookup(vrf, &rt, pkt);
Expand Down