I applied the patch but it I am unable to do it properly. For this reason,
i am sharing environment on which i tried along with the terminal output.
Also i tried various other commands of patching but unfortunately all in
vain. Could you please what version of OVS and ubuntu you used for this
patch? Please guide through this. Thankyou!

Environment 1:

OVS version 2.3.90
Linux sdnhubvm  4.4.0-97-generic #120-14.04.1-Ubuntu SMP

Environment 2:
OVS version 2.8.1
Linux ubuntu ibm  4.13.0-36-generic #40- Ubuntu SMP


**************My comment==Environment 1 Ubuntu terminal
log*********************
ubuntu@sdnhubvm:~/openvswitch$ patch -t <  tcp_rwnd.diff
can't find file to patch at input line 5
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/datapath/linux/compat/include/linux/openvswitch.h
b/datapath/linux/compat/include/linux/openvswitch.h
|index 12260d8..dd84b04 100644
|--- a/datapath/linux/compat/include/linux/openvswitch.h
|+++ b/datapath/linux/compat/include/linux/openvswitch.h
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 33
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/include/openvswitch/flow.h b/include/openvswitch/flow.h
|index df80dfe..64da205 100644
|--- a/include/openvswitch/flow.h
|+++ b/include/openvswitch/flow.h
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 57
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/include/openvswitch/ofp-actions.h b/include/openvswitch/ofp-
actions.h
|index 74e9dcc..a7512e5 100644
|--- a/include/openvswitch/ofp-actions.h
|+++ b/include/openvswitch/ofp-actions.h
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 87
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/lib/odp-execute.c b/lib/odp-execute.c
|index 65a6fcd..b052f1c 100644
|--- a/lib/odp-execute.c
|+++ b/lib/odp-execute.c
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 122
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/lib/odp-util.c b/lib/odp-util.c
|index 626a82c..a124d6e 100644
|--- a/lib/odp-util.c
|+++ b/lib/odp-util.c
--------------------------
No file to patch.  Skipping patch.
patch: **** malformed patch at line 192:  {


-------------------------------------


On Fri, Mar 23, 2018 at 5:07 PM, Taimur Hafeez <taimurhafee...@gmail.com>
wrote:

> I applied the patch but it I am unable to do it properly. For this reason,
> i am sharing environment on which i tried along with the terminal output.
> Also i tried various other commands of patching but unfortunately all in
> vain. Could you please what version of OVS and ubuntu you used for this
> patch? Please guide through this. Thankyou!
>
> Environment 1:
>
> OVS version 2.3.90
> Linux sdnhubvm  4.4.0-97-generic #120-14.04.1-Ubuntu SMP
>
> Environment 2:
> OVS version 2.8.1
> Linux ubuntu ibm  4.13.0-36-generic #40- Ubuntu SMP
>
>
> **************My comment==Environment 1 Ubuntu terminal
> log*********************
> ubuntu@sdnhubvm:~/openvswitch$ patch -t <  tcp_rwnd.diff
> can't find file to patch at input line 5
> Perhaps you should have used the -p or --strip option?
> The text leading up to this was:
> --------------------------
> |diff --git a/datapath/linux/compat/include/linux/openvswitch.h
> b/datapath/linux/compat/include/linux/openvswitch.h
> |index 12260d8..dd84b04 100644
> |--- a/datapath/linux/compat/include/linux/openvswitch.h
> |+++ b/datapath/linux/compat/include/linux/openvswitch.h
> --------------------------
> No file to patch.  Skipping patch.
> 2 out of 2 hunks ignored
> can't find file to patch at input line 33
> Perhaps you should have used the -p or --strip option?
> The text leading up to this was:
> --------------------------
> |diff --git a/include/openvswitch/flow.h b/include/openvswitch/flow.h
> |index df80dfe..64da205 100644
> |--- a/include/openvswitch/flow.h
> |+++ b/include/openvswitch/flow.h
> --------------------------
> No file to patch.  Skipping patch.
> 2 out of 2 hunks ignored
> can't find file to patch at input line 57
> Perhaps you should have used the -p or --strip option?
> The text leading up to this was:
> --------------------------
> |diff --git a/include/openvswitch/ofp-actions.h b/include/openvswitch/ofp-
> actions.h
> |index 74e9dcc..a7512e5 100644
> |--- a/include/openvswitch/ofp-actions.h
> |+++ b/include/openvswitch/ofp-actions.h
> --------------------------
> No file to patch.  Skipping patch.
> 2 out of 2 hunks ignored
> can't find file to patch at input line 87
> Perhaps you should have used the -p or --strip option?
> The text leading up to this was:
> --------------------------
> |diff --git a/lib/odp-execute.c b/lib/odp-execute.c
> |index 65a6fcd..b052f1c 100644
> |--- a/lib/odp-execute.c
> |+++ b/lib/odp-execute.c
> --------------------------
> No file to patch.  Skipping patch.
> 2 out of 2 hunks ignored
> can't find file to patch at input line 122
> Perhaps you should have used the -p or --strip option?
> The text leading up to this was:
> --------------------------
> |diff --git a/lib/odp-util.c b/lib/odp-util.c
> |index 626a82c..a124d6e 100644
> |--- a/lib/odp-util.c
> |+++ b/lib/odp-util.c
> --------------------------
> No file to patch.  Skipping patch.
> patch: **** malformed patch at line 192:  {
>
>
> -------------------------------------
>
>
> On Thu, Mar 22, 2018 at 10:05 AM, Taimur Hafeez <taimurhafee...@gmail.com>
> wrote:
>
>> Thanks alot dear!
>>
>> On Wed, Mar 21, 2018 at 3:55 PM, Ali Volkan Atli <
>> volkan.a...@argela.com.tr> wrote:
>>
>>>
>>> Hi Taimur
>>>
>>> The attached patch is what you need. I hope it works for you.
>>>
>>> - Volkan
>>> ________________________________________
>>> From: ovs-discuss-boun...@openvswitch.org [ovs-discuss-bounces@openvswit
>>> ch.org] on behalf of Taimur Hafeez [taimurhafee...@gmail.com]
>>> Sent: Wednesday, March 21, 2018 11:58 AM
>>> To: ovs-discuss@openvswitch.org
>>> Subject: [ovs-discuss] Setting TCP rwnd value in Open vSwitch
>>>
>>> Dear All,
>>>
>>> I want to modify value of receiver window field(used for flow control)
>>> in the TCP header using OpenFlow rule at Open vSwitch. To make it clear
>>> what I am trying to do, lets illustrate this in the following way,
>>>
>>> In_port=1, match src_ip=10.0.0.1, action:set_tcp_rwnd=10, out_port=2
>>>
>>> Specifications:
>>>
>>> Controller ryu
>>> OpenFlow 1.3
>>> OVS 2.5.2
>>>
>>> Help/Clue would be highly appreciated, If anyone has done similar work.
>>> Thanks in advance!
>>>
>>>
>>> Best regards,
>>> --------------------
>>> Taimur Hafeez
>>> NUST School of Electrical Engineering and Computer Science (SEECS),
>>> Islamabad, Pakistan.
>>>
>>
>>
>>
>> --
>>
>>
>> Best regards,
>> --------------------
>> Taimur Hafeez
>> *NUST* *S*chool of *E*lectrical *E*ngineering and *C*omputer *S*cience
>> *(SEECS)*, Islamabad, Pakistan.
>> Linkedin <https://www.linkedin.com/in/taimurhafeez>
>> Mobile:
>> *+923367991993 <0336%207991993>*
>>
>
>
>
> --
>
>
> Best regards,
> --------------------
> Taimur Hafeez
> *NUST* *S*chool of *E*lectrical *E*ngineering and *C*omputer *S*cience
> *(SEECS)*, Islamabad, Pakistan.
> Linkedin <https://www.linkedin.com/in/taimurhafeez>
> Mobile:
> *+923367991993 <0336%207991993>*
>



-- 


Best regards,
--------------------
Taimur Hafeez
*NUST* *S*chool of *E*lectrical *E*ngineering and *C*omputer *S*cience
*(SEECS)*, Islamabad, Pakistan.
Linkedin <https://www.linkedin.com/in/taimurhafeez>
Mobile:
*+923367991993*
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to