Re: (Lack of) specification for RX n-tuple filtering

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ben Hutchings
Date: Wednesday, December 8, 2010 - 12:39 pm

On Wed, 2010-12-08 at 19:14 +0000, Ben Hutchings wrote:

Having said that, this particular interface is fairly broken...

$ cat test.c
#include <stddef.h>
#include <stdio.h>

#include <linux/ethtool.h>

int main(void)
{
    printf("%zd\n", offsetof(struct ethtool_rx_flow_spec, ring_cookie));
    return 0;
}
$ cc -m64 -Wall test.c
$ ./a.out 
152
$ cc -m32 -Wall test.c
$ ./a.out 
148

Ben.

-- 
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
(Lack of) specification for RX n-tuple filtering, Ben Hutchings, (Thu Jul 22, 2:02 pm)
Re: (Lack of) specification for RX n-tuple filtering, Dimitris Michailidis, (Thu Jul 22, 2:50 pm)
Re: (Lack of) specification for RX n-tuple filtering, Ben Hutchings, (Tue Sep 7, 7:43 am)
Re: (Lack of) specification for RX n-tuple filtering, Vladislav Zolotarov, (Wed Dec 8, 9:24 am)
Re: (Lack of) specification for RX n-tuple filtering, David Miller, (Wed Dec 8, 9:39 am)
Re: (Lack of) specification for RX n-tuple filtering, Ben Hutchings, (Wed Dec 8, 10:22 am)
Re: (Lack of) specification for RX n-tuple filtering, Ben Hutchings, (Wed Dec 8, 10:29 am)
Re: (Lack of) specification for RX n-tuple filtering, David Miller, (Wed Dec 8, 10:31 am)
Re: (Lack of) specification for RX n-tuple filtering, Vladislav Zolotarov, (Wed Dec 8, 10:31 am)
Re: (Lack of) specification for RX n-tuple filtering, Vladislav Zolotarov, (Wed Dec 8, 11:39 am)
Re: (Lack of) specification for RX n-tuple filtering, Dimitris Michailidis, (Wed Dec 8, 11:54 am)
Re: (Lack of) specification for RX n-tuple filtering, Ben Hutchings, (Wed Dec 8, 12:02 pm)
Re: (Lack of) specification for RX n-tuple filtering, Vladislav Zolotarov, (Wed Dec 8, 12:10 pm)
Re: (Lack of) specification for RX n-tuple filtering, Ben Hutchings, (Wed Dec 8, 12:14 pm)
Re: (Lack of) specification for RX n-tuple filtering, Ben Hutchings, (Wed Dec 8, 12:14 pm)
Re: (Lack of) specification for RX n-tuple filtering, Dimitris Michailidis, (Wed Dec 8, 12:26 pm)
Re: (Lack of) specification for RX n-tuple filtering, Ben Hutchings, (Wed Dec 8, 12:39 pm)
Re: (Lack of) specification for RX n-tuple filtering, Vladislav Zolotarov, (Thu Dec 9, 3:31 am)