Re: [ovs-dev] [PATCH] netdev-dpdk: Optimise the initialization of "port_conf"

2016-10-12 Thread Kavanagh, Mark B
gt; 发件人:  "Kavanagh, Mark B" <mark.b.kavan...@intel.com> >> 收件人:  Binbin Xu <xu.binb...@zte.com.cn>, "dev@openvswitch.org" >> <dev@openvswitch.org>, >> 日期:  2016/10/11 21:46 >> 主题: RE: [ovs-dev] [PATCH] netdev-dpdk: Optimise the &

Re: [ovs-dev] [PATCH] netdev-dpdk: Optimise the initialization of "port_conf"

2016-10-11 Thread xu . binbin1
ot; <mark.b.kavan...@intel.com> 写于 2016/10/11 21:46:00: > 发件人: "Kavanagh, Mark B" <mark.b.kavan...@intel.com> > 收件人: Binbin Xu <xu.binb...@zte.com.cn>, "dev@openvswitch.org" > <dev@openvswitch.org>, > 日期: 2016/10/11 21:46

Re: [ovs-dev] [PATCH] netdev-dpdk: Optimise the initialization of "port_conf"

2016-10-11 Thread Kavanagh, Mark B
> >The member "max_rx_pkt_len" of "port_conf" is only used if >jumbo_frame enabled, so it can be initialized with value '0'. > >Signed-off-by: Binbin Xu >--- > lib/netdev-dpdk.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > >diff --git a/lib/netdev-dpdk.c

[ovs-dev] [PATCH] netdev-dpdk: Optimise the initialization of "port_conf"

2016-10-11 Thread Binbin Xu
The member "max_rx_pkt_len" of "port_conf" is only used if jumbo_frame enabled, so it can be initialized with value '0'. Signed-off-by: Binbin Xu --- lib/netdev-dpdk.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/netdev-dpdk.c