|
@@ -902,13 +902,13 @@ struct ethtool_rx_flow_spec {
|
|
static inline __u64 ethtool_get_flow_spec_ring(__u64 ring_cookie)
|
|
static inline __u64 ethtool_get_flow_spec_ring(__u64 ring_cookie)
|
|
{
|
|
{
|
|
return ETHTOOL_RX_FLOW_SPEC_RING & ring_cookie;
|
|
return ETHTOOL_RX_FLOW_SPEC_RING & ring_cookie;
|
|
-};
|
|
|
|
|
|
+}
|
|
|
|
|
|
static inline __u64 ethtool_get_flow_spec_ring_vf(__u64 ring_cookie)
|
|
static inline __u64 ethtool_get_flow_spec_ring_vf(__u64 ring_cookie)
|
|
{
|
|
{
|
|
return (ETHTOOL_RX_FLOW_SPEC_RING_VF & ring_cookie) >>
|
|
return (ETHTOOL_RX_FLOW_SPEC_RING_VF & ring_cookie) >>
|
|
ETHTOOL_RX_FLOW_SPEC_RING_VF_OFF;
|
|
ETHTOOL_RX_FLOW_SPEC_RING_VF_OFF;
|
|
-};
|
|
|
|
|
|
+}
|
|
|
|
|
|
/**
|
|
/**
|
|
* struct ethtool_rxnfc - command to get or set RX flow classification rules
|
|
* struct ethtool_rxnfc - command to get or set RX flow classification rules
|