lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f3ded6e3-9c99-b086-a155-cb79e77d46cc@engleder-embedded.com>
Date:   Wed, 7 Dec 2022 21:09:41 +0100
From:   Gerhard Engleder <gerhard@...leder-embedded.com>
To:     Paolo Abeni <pabeni@...hat.com>, netdev@...r.kernel.org,
        bpf@...r.kernel.org
Cc:     davem@...emloft.net, kuba@...nel.org, edumazet@...gle.com,
        ast@...nel.org, daniel@...earbox.net, hawk@...nel.org,
        john.fastabend@...il.com
Subject: Re: [PATCH net-next 4/6] tsnep: Prepare RX buffer for XDP support

On 07.12.22 11:29, Paolo Abeni wrote:
> On Sat, 2022-12-03 at 22:54 +0100, Gerhard Engleder wrote:
>> @@ -808,6 +809,16 @@ static void tsnep_tx_close(struct tsnep_tx *tx)
>>   	tsnep_tx_ring_cleanup(tx);
>>   }
>>   
>> +static inline unsigned int tsnep_rx_offset(struct tsnep_rx *rx)
>> +{
>> +	struct tsnep_adapter *adapter = rx->adapter;
>> +
>> +	if (tsnep_xdp_is_enabled(adapter))
>> +		return XDP_PACKET_HEADROOM;
>> +
>> +	return TSNEP_SKB_PAD;
>> +}
> 
> please, no 'inline' in .c files, thanks!

Will be fixed.

Gerhard

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ