search for: tc_index

Displaying 20 results from an estimated 23 matches for "tc_index".

2002 Oct 01
0
will any one do me a favor to answer the question about tc_index value ?
hi all i am a new commer of linux community. i want to how does skb->tcindex value change exactly. it confused me indeed. i have a script reads: (1) tc qdisc add dev eth0 root handle 1:0 dsmark indices 64 default_index 0x161 set_tc_index (2) tc filter add dev eth0 parent 1:0 protocol all prio 1 tcindex mask 0xfc shift 2 pass_on (3) tc filter add dev eth0 parent 1:0 prio 1 handle 0x0a tcindex classid 1:111 (4) tc filter add dev eth0 parent 2:0 protocol all prio 1 tcindex mask 0xf0 shift 4 pass_on (5) tc filter add dev eth0 parent 2:...
2005 Dec 20
0
Question about tc class in skb
...d to map directly to the hardware queue, since we''ve already classified them correctly. However by the time it gets into the driver nothing in the skb seems to be usefully set to allow this. I''m looking at skb->priority, skb->dst->tclassid, skb->tc_classid, skb->tc_index, skb->tc_verd (okay, that was reaching). If I ping with different QoS bits which I''m assigning to different htb flows, I see (these are my debugging messages in the driver): ~$ ping -Q 0x10 172.29.50.230 kernel: outpkt: priority:06 tclassid:0x0 tc_classid:0x0 tc_index:0x0 tc_verd:0x...
2002 May 28
5
QoS graphical interface ?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Is there any grapical interface for the QoS (Quality of Service) Traffic Control in Linux ? Greetings. - --- Carles Xavier Munyoz Baldó carles@descom.es Descom Consulting Telf: +34 965861024 Fax: +34 965861024 http://www.descom.es/ - --- -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8
2004 Dec 30
2
HTB + GRED (santa clauss plz help me out)
I ''ve been trynig for a long time now to make HTB and GRED to work togethen. The problem beeing that GRED doesn''t use handles (instead it uses DP:1 DP:2 etc) i can not preperly filter traffic to them. Tomas Graf suggested to use the tc_index index of u32 classifier so dear Sant .. i am currently with the following scripts that works! But when i try to add an HTB before the GRED, everything goes to hell. tc qdisc add dev $Dev handle 1:0 root dsmark indices 16 set_tc_index tc filter add dev $Dev parent 1:0 protocol ip prio 1 tcinde...
2005 Nov 30
8
Compilation of ferret C-extension under Windows.
...b:545:in `persist'' C:/work/opensource/1/111/test/../lib/ferret/index/index.rb:535:in `synchronize'' C:/work/opensource/1/111/test/../lib/ferret/index/index.rb:535:in `persist'' C:/work/opensource/1/111/test/unit/../unit/analysis/../../unit/document/../../unit/index/tc_index.rb:260:in `test_persist_index'' Anyway I could share or send a patch for C sources if you like. -- anatol (http://pomozov.info) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ferret-talk/attachments/20051130/45d158ae/attach...
2005 Dec 05
0
GRED & HTB
Hi, I am tring to setup AF on my router using GRED/HTB. I plan to mark and set the DSCP with iptables and the ingress qdisc to set the tc_index for the proper GRED vq(1-12). My question is: Is there a way to allow for priority between the af classes and within the af classes? also would it be possible to to the following: HTB(6Mb) | GRED(1)grio HTB1 (af1) (1MB) GRED(1-3)grio | GRED(2)grio HTB2(af2) (1MB) GRED(1...
2004 Dec 29
0
VQs in Gred!
Hello, We know, VQs are used in Gred to offer different schedulers, in order to make clear what the VQs are, I have read the sch_gred.c in net/sched/. In the function gred_enqueue(), at first it will find the VQ(q) according to the lower four bits of the skb->tc_index, then some parameters of the q is modified, such as q->packetsin and q->bytesin. At last the packet was put into the physical Queue using __skb_queue_tail(). When dequeue the packet, only the function __skb_dequeue() is called, and the VQ parameters are modified. Then the packets from all VQ...
2001 Jun 12
0
Unknown filter "tcindex" ?
...prio 100 handle 151 tcindex classid 10:100 The first 4 commands were executed successfully , but the last line which use tcindex always get the wrong echo as: "Unknown filter "tcindex", hence option "classid" is unparsable" , I''m sure I''ve check the tc_index item in the Linux kernel configuration (I use linux2.4.0). Is there anyone would do me a favor to tell me why this does not work? Thanks a lot. James Shen
2007 Apr 18
5
[Bridge] RFC: [PATCH] bridge vlan integration
...=========================== --- wireless-dev.orig/include/linux/skbuff.h +++ wireless-dev/include/linux/skbuff.h @@ -296,6 +296,9 @@ struct sk_buff { #endif __u32 nfmark; #endif /* CONFIG_NETFILTER */ +#ifdef CONFIG_BRIDGE_VLAN + unsigned int vlan; +#endif #ifdef CONFIG_NET_SCHED __u16 tc_index; /* traffic control index */ #ifdef CONFIG_NET_CLS_ACT Index: wireless-dev/net/bridge/br_forward.c =================================================================== --- wireless-dev.orig/net/bridge/br_forward.c +++ wireless-dev/net/bridge/br_forward.c @@ -24,7 +24,16 @@ static inline int should...
2015 Jan 26
0
[PATCH 1/3] ipv6: Select fragment id during UFO/GSO segmentation if not set.
...100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h @@ -605,7 +605,8 @@ struct sk_buff { __u8 ipvs_property:1; __u8 inner_protocol_type:1; __u8 remcsum_offload:1; - /* 3 or 5 bit hole */ + __u8 ufo_fragid_set:1; + /* 2 or 4 bit hole */ #ifdef CONFIG_NET_SCHED __u16 tc_index; /* traffic control index */ diff --git a/include/net/ipv6.h b/include/net/ipv6.h index 4292929..ca6137b 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h @@ -671,7 +671,9 @@ static inline int ipv6_addr_diff(const struct in6_addr *a1, const struct in6_add return __ipv6_addr_diff(a1, a2, si...
2015 Jan 26
0
[PATCH 1/3] ipv6: Select fragment id during UFO/GSO segmentation if not set.
...100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h @@ -605,7 +605,8 @@ struct sk_buff { __u8 ipvs_property:1; __u8 inner_protocol_type:1; __u8 remcsum_offload:1; - /* 3 or 5 bit hole */ + __u8 ufo_fragid_set:1; + /* 2 or 4 bit hole */ #ifdef CONFIG_NET_SCHED __u16 tc_index; /* traffic control index */ diff --git a/include/net/ipv6.h b/include/net/ipv6.h index 4292929..ca6137b 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h @@ -671,7 +671,9 @@ static inline int ipv6_addr_diff(const struct in6_addr *a1, const struct in6_add return __ipv6_addr_diff(a1, a2, si...
2003 Aug 18
1
Remarking non conformant packets as AF13 from AF11
Hi, I am trying to implement a simple scaled-down version of the AF traffic class type. As such I basically want to remark non-conforming AF11 packets to AF13. Here is m script that I have been using on the ingress router of my network: ---------------------------------------- Link=''dev eth1'' Rate1=''rate 800Kbit'' Rate2=''rate 2500Kbit''
2006 Aug 15
2
Windows build with Visual Studio 2005 - some success
...ot; to various function declarations in header files. Compiles and links! Running the tests, however, reveals a segfault: C:\work\ruby\ferret2\ferret\test>ruby test_all.rb Loaded suite test_all Started ........F.....E................./unit/../unit/analysis/../../unit/document/../../unit/index/tc_index _reader.rb:539: [BUG] Segmentation fault ruby 1.8.4 (2006-04-14) [i386-mswin32] I have managed to trace this to the following line in fs_store.c:201: if (fclose((FILE *)os->file)) For some reason, fclose() segfaults. It also segfaults when closing the file when it was just opened, it segfaults...
2023 May 09
5
[Bridge] [RFC PATCH net-next 0/5] Add layer 2 miss indication and filtering
tl;dr ===== This patchset adds a single bit to the skb to indicate that a packet encountered a layer 2 miss in the bridge and extends flower to match on this metadata. This is required for non-DF (Designated Forwarder) filtering in EVPN multi-homing which prevents decapsulated BUM packets from being forwarded multiple times to the same multi-homed host. Background ========== In a typical EVPN
2023 May 18
5
[Bridge] [PATCH net-next 0/5] Add layer 2 miss indication and filtering
tl;dr ===== This patchset adds a single bit to the skb to indicate that a packet encountered a layer 2 miss in the bridge and extends flower to match on this metadata. This is required for non-DF (Designated Forwarder) filtering in EVPN multi-homing which prevents decapsulated BUM packets from being forwarded multiple times to the same multi-homed host. Background ========== In a typical EVPN
2003 Mar 20
9
Routing/forwarding/shaping problems in v2.2.x (Long - sorry)
Greetings from a newbie! (Well, to this list anyway) I''m having a problem and I hope someone here might be able to help... I am strongly expecting an answer along the lines of "upgrade to v2.4.x", but I would REALLY preffer to avoid that for now... The setup: "Home brewed" v2.2.24 (will patch to v2.2.25 later today) with the DS8 patch applied. Currently
2015 Jan 26
7
[PATCH 0/3] Restore UFO support to virtio_net devices
commit 3d0ad09412ffe00c9afa201d01effdb6023d09b4 Author: Ben Hutchings <ben at decadent.org.uk> Date: Thu Oct 30 18:27:12 2014 +0000 drivers/net: Disable UFO through virtio Turned off UFO support to virtio-net based devices due to issues with IPv6 fragment id generation for UFO packets. The issue was that IPv6 UFO/GSO implementation expects the fragment id to be supplied in
2015 Jan 26
7
[PATCH 0/3] Restore UFO support to virtio_net devices
commit 3d0ad09412ffe00c9afa201d01effdb6023d09b4 Author: Ben Hutchings <ben at decadent.org.uk> Date: Thu Oct 30 18:27:12 2014 +0000 drivers/net: Disable UFO through virtio Turned off UFO support to virtio-net based devices due to issues with IPv6 fragment id generation for UFO packets. The issue was that IPv6 UFO/GSO implementation expects the fragment id to be supplied in
2006 Aug 02
10
[PATCH 0/6] htb: cleanup
The HTB scheduler code is a mess, this patch set does some basic house cleaning. The first four should cause no code change, but the last two need more testing. -- Stephen Hemminger <shemminger@osdl.org> "And in the Packet there writ down that doome" - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to
2006 May 11
6
problem with solaris install
I was trying to install ferret 0.9.2 on solaris (SunOS 5.8) which does not have a sys/dir.h nix_io.c:5:21: sys/dir.h: No such file or directory make: *** [nix_io.o] Error 1 I couldn''t find an obvious way around this... any suggestions? Thanks, Rich Marisa Cornell Information Technologies Cornell University