is
>>> Cc: da...@davemloft.net; shemmin...@vyatta.com; chr...@sous-sol.org;
>>> go...@redhat.com; net...@vger.kernel.org; linux-kernel@vger.kernel.org;
>>> Dmitry Kravkov; bhutchi...@solarflare.com; Peter P Waskiewicz Jr; Alexander
>>> Duyck
>>> S
om; chr...@sous-sol.org;
>> go...@redhat.com; net...@vger.kernel.org; linux-kernel@vger.kernel.org;
>> Dmitry Kravkov; bhutchi...@solarflare.com; Peter P Waskiewicz Jr; Alexander
>> Duyck
>> Subject: Re: [PATCH v4 1/5] net: Add support for hardware-offloaded
>> encapsulation
&g
...@redhat.com; net...@vger.kernel.org; linux-kernel@vger.kernel.org;
Dmitry Kravkov; bhutchi...@solarflare.com; Peter P Waskiewicz Jr; Alexander
Duyck
Subject: Re: [PATCH v4 1/5] net: Add support for hardware-offloaded
encapsulation
+static inline struct iphdr *inner_ip_hdr(const struct sk_buff
; shemmin...@vyatta.com; chr...@sous-sol.org;
go...@redhat.com; net...@vger.kernel.org; linux-kernel@vger.kernel.org;
Dmitry Kravkov; bhutchi...@solarflare.com; Peter P Waskiewicz Jr; Alexander
Duyck
Subject: Re: [PATCH v4 1/5] net: Add support for hardware-offloaded
encapsulation
+static inline
el@vger.kernel.org;
> Dmitry Kravkov; bhutchi...@solarflare.com; Peter P Waskiewicz Jr; Alexander
> Duyck
> Subject: Re: [PATCH v4 1/5] net: Add support for hardware-offloaded
> encapsulation
>
> > +static inline struct iphdr *inner_ip_hdr(const struct sk_buff *skb)
On 12/10/2012 02:04 AM, saeed bishara wrote:
>> +static inline struct iphdr *inner_ip_hdr(const struct sk_buff *skb)
>> +{
>> + return (struct iphdr *)skb_inner_network_header(skb);
>> +}
> Hi,
> I'm a little bit bothered because of those inner_ functions, what
> about the following
> +static inline struct iphdr *inner_ip_hdr(const struct sk_buff *skb)
> +{
> + return (struct iphdr *)skb_inner_network_header(skb);
> +}
Hi,
I'm a little bit bothered because of those inner_ functions, what
about the following approach:
1. the skb will have a new state, that state can be
+static inline struct iphdr *inner_ip_hdr(const struct sk_buff *skb)
+{
+ return (struct iphdr *)skb_inner_network_header(skb);
+}
Hi,
I'm a little bit bothered because of those inner_ functions, what
about the following approach:
1. the skb will have a new state, that state can be
On 12/10/2012 02:04 AM, saeed bishara wrote:
+static inline struct iphdr *inner_ip_hdr(const struct sk_buff *skb)
+{
+ return (struct iphdr *)skb_inner_network_header(skb);
+}
Hi,
I'm a little bit bothered because of those inner_ functions, what
about the following approach:
1. the
Kravkov; bhutchi...@solarflare.com; Peter P Waskiewicz Jr; Alexander
Duyck
Subject: Re: [PATCH v4 1/5] net: Add support for hardware-offloaded
encapsulation
+static inline struct iphdr *inner_ip_hdr(const struct sk_buff *skb)
+{
+ return (struct iphdr *)skb_inner_network_header(skb
This patch adds support in the kernel for offloading in the NIC Tx and Rx
checksumming for encapsulated packets (such as VXLAN and IP GRE).
For Tx encapsulation offload, the driver will need to set the right bits
in netdev->hw_enc_features. The protocol driver will have to set the
This patch adds support in the kernel for offloading in the NIC Tx and Rx
checksumming for encapsulated packets (such as VXLAN and IP GRE).
For Tx encapsulation offload, the driver will need to set the right bits
in netdev-hw_enc_features. The protocol driver will have to set the
12 matches
Mail list logo