net: l2: Add flags to tell if L2 supports multicast
If multicast is not supported, then we do not need to join multicast group. Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
parent
17d045244a
commit
ccfcdabaf6
9 changed files with 77 additions and 13 deletions
|
@ -286,6 +286,11 @@ struct ethernet_context {
|
|||
struct ethernet_lldp lldp[NET_VLAN_MAX_COUNT];
|
||||
#endif
|
||||
|
||||
/**
|
||||
* This tells what L2 features does ethernet support.
|
||||
*/
|
||||
enum net_l2_flags ethernet_l2_flags;
|
||||
|
||||
#if defined(CONFIG_NET_GPTP)
|
||||
/** The gPTP port number for this network device. We need to store the
|
||||
* port number here so that we do not need to fetch it for every
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue