vrouter pkt drop log buffer infra. This feature
is used to log additional information when a packet is dropped in
vrouter module.
To run pkt drop log : dropstats -log <core number>
If core number specified as 0, it will log for all cores.
Currently below features are enabled.
- Log pkt drops info for all cores
- provided support to enable/disable pkt drop log during load time
by providing "options vrouter vr_pkt_droplog_buf_en=1" in
/etc/modprobe.d/vrouter.conf file.
- Provided support to configure MAX.number of records during load
time providing "options vrouter vr_pkt_droplog_bufsz=<value> in
/etc/modprobe.d/vrouter.conf file.
- Pkt Drop log support can be enabled/disabled during runtime using
sysctl by doing "echo 1
>/proc/sys/net/vrouter/pkt_drop_log_enable"
- We can also enable Minimum logging(drop reason,timestamp, src/dst
IP and file location) by doing "echo 1 >
/proc/sys/net/vrouter/pkt_drop_log_min_enable"
Change-Id:I9b19c22b86a6f604e1bebf5d2e59e173ee5d88cf
Partial-Bug: 1728010
Reviewed: https:/ /review. opencontrail. org/47334 github. com/Juniper/ contrail- vrouter/ commit/ f77a5b28036fd66 a70598e19c870c2 7eb2c647ec
Committed: http://
Submitter: Vinay Vithal Mahuli (<email address hidden>)
Branch: master
commit f77a5b28036fd66 a70598e19c870c2 7eb2c647ec
Author: hajim <email address hidden>
Date: Wed Dec 5 14:11:18 2018 +0530
vrouter pkt drop log buffer infra. This feature droplog_ buf_en= 1" in d/vrouter. conf file. droplog_ bufsz=< value> in d/vrouter. conf file. sys/net/ vrouter/ pkt_drop_ log_enable" net/vrouter/ pkt_drop_ log_min_ enable" Id:I9b19c22b86a 6f604e1bebf5d2e 59e173ee5d88cf
is used to log additional information when a packet is dropped in
vrouter module.
To run pkt drop log : dropstats -log <core number>
If core number specified as 0, it will log for all cores.
Currently below features are enabled.
- Log pkt drops info for all cores
- provided support to enable/disable pkt drop log during load time
by providing "options vrouter vr_pkt_
/etc/modprobe.
- Provided support to configure MAX.number of records during load
time providing "options vrouter vr_pkt_
/etc/modprobe.
- Pkt Drop log support can be enabled/disabled during runtime using
sysctl by doing "echo 1
>/proc/
- We can also enable Minimum logging(drop reason,timestamp, src/dst
IP and file location) by doing "echo 1 >
/proc/sys/
Change-
Partial-Bug: 1728010